kernel panic
Hi there, I changed the following file of FreeBSD 7.0: sys/boot/forth/beastie.4th variable rebootkey variable mykey (added line) I built and installed kernel, then i reboot the system, it gives me the following error: --- panic: free: guard1 fail @ 0x6e104 from /usr/src/sys/boot/i386/loader/../../common/module.c:959 -- Press a key on the console to reboot -- How do i recover the system from this error. I can't reload the loader.old Could anyone please help me? Kamlesh MS CS, CSUS ___ 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
7.1 : watchdog bge0 timeout ?
Hello I've installed 7.1 onto our mail exchager (MX) then it suddendly stopped to work last night with the following message watchdog bge0 timeout The machine is a HP pc which was doing the same service at 6.3 without that kind of trouble Any info welcome Thanks a lot. ___ 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
3945ABG wireless problems
Hi, I'm having problems with my 3945ABG Wireless card. I keep on getting wpi0: Radio Transmitter is switched off pushing 802.11 button on laptop - Turning OFF --- Jan 9 07:59:08 desmo kernel: ugen0: at uhub0 port 1 (addr 2) disconnected Jan 9 07:59:08 desmo kernel: ugen0: detached pushing 802.11 button again - Turning ON - Jan 9 07:59:13 desmo root: Unknown USB device: vendor 0x03f0 product 0x171d bus uhub0 Jan 9 07:59:13 desmo kernel: ugen0: Broadcom Corp HP Integrated Module, class 224/1, rev 2.00/1.00, addr 2 on uhub0 ifconfig wpi0 up Jan 9 07:58:51 desmo kernel: NEWSTATE:INIT Jan 9 07:58:51 desmo kernel: Resetting the card - clearing any uploaded firmware Jan 9 07:58:51 desmo kernel: Loading microcode size 0x384 Jan 9 07:58:51 desmo kernel: firmware status=0x, val=0x4040, result=0x4040 Jan 9 07:58:51 desmo kernel: Status Match! - ntries = 0 Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 alive 1 Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 alive 1 Jan 9 07:58:51 desmo kernel: wpi0: Radio Transmitter is switched off Jan 9 07:58:51 desmo kernel: state changed to 1 Jan 9 07:58:51 desmo kernel: wpi0: Radio transmitter is switched off I notice that I didn't have the license at /usr/share/doc/legal/intel_wpi/LICENSE, so I grabbed it from http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi.tar.gz /boot/loader.conf includes the following if_wpi_load=YES wlan_load=YES wlan_amrr_load=YES firmware_load=YES wpifw_load=YES legal.intel_wpi.license_ack=1 What am I doing wrong here?? Many thanks, Alain ___ 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: Login accounts don't work after update to 7.1
Bert-Jan i...@bert-jan.com writes: Hi Folks, I just updated one of my servers from 7.0-RC1 to 7.1-RELEASE. During the first freebsd-update install, before rebooting, I was surprised to find that it was going to change my /etc/passwd (deleting all my accounts, keeping only the built-in accounts) and /etc/pwd.db and /etc/spwd.db. I was quite suspicious so I made copies of them. freebsd-update should merge master.passwd, and re-generate all of those files from there. What did you do with master.passwd? I didn't do anything with it. I didn't know about it (linux experience talking here, only been using freebsd for a year or so). Now that I'm looking at it all the accounts are there, so it was successfully merged indeed. Note that backup copies of master.passwd are kept in /var/backup. None of the other files, because they're generated from there. After rebooting the machine came back online perfectly. I checked /etc/passwd but there were no changes yet. Then, as the docs says, I ran freebsd-update install again and it took quite a while. *Then* my /etc/passwd was changed, so I replaced it with the spare copy I made. Of That spare copy doesn't help at all; /etc/passwd is only there as a convenience to users, and isn't consulted by the system for anything. I noticed, but after logging out as root unfortunately. course I had to test it now so I exitted from root back to my own account, and you guessed it: I can't su anymore: $ su - su: who are you? I started up a second session and found my own account doesn't work anymore either. So all I have now is an open session with my own account. I should probably also have copied the two db files back and of course I should have left my running root session open and started another one. Not a very bright moment.. Does the root account itself have a password? If you installed a generic password file, it may be unprotected, and you could log in (but not su, as that requires you first be logged in as a wheel user, of which you may have none left) as root without a password if you have a local terminal (a serial console, for example), and fix things from there. Yes, root has a password. The account I was still logged in with is a wheel user but trying a second session showed I couldn't login with that account anymore either. I really made a mess of it :) Is there a way I can recover the server from this ? Of course I can put in a cd and change some passwords, but the server is in a datacenter and I don't really have the time to go there and fix it. I'm looking for a remote solution. I guess you don't have any out-of-band access to the machine, then. You may be stuck with having to go to it physically, then. Yes, I have been there the day before yesterday, the same day I screwed it up. I logged in as root and didn't even get a password prompt. It was obviously reset to the default password database. I fixed the logins by copying the backups I made of /etc/pwd.db and /etc/spwd.db back. Everything returned to normal. It reminded me that freebsd-update had told me it wanted to change things in both those files, but since they're binary it didn't show me a diff. My error thus was that I logged out as root before restoring those. Very nasty, having to drive to the datacenter (about 100km from my home) just to copy two files. But now I know for sure this won't happen to me again :) I do find it strange though, that freebsd-update replaced those files, even though it tells you it's going to change them. What is the proper way to handle this ? Can I run a command after the update finishes that regenerates the account databases from the master.passwd ? I checked the history and *I* never touched it during the update, so it was merged like it should. It's probably not much help but there's one jail running on it that's still working fine. I can login and su on that one, but I don't know if I can use it to repair the main system. I sure hope that won't help. That would defeat the point of jails, wouldn't it? ;-) Yes indeed ;) Thanks for the explanations. I still have a lot to learn of freebsd, having been a Slackware Linux user for about 7 years, I've started my first freebsd server about a year ago. So far I like it very much. Keeping the whole system updated with freebsd-update and the whole ports system is just a breeze. Sometimes like this things get screwed up, but the same has happened to me several times with Linux, so no hard feelings :) -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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
Nature is Closer than You Think
Nature is Closer than You Think At: [pic.JPG] [MASA.jpg] Another successful project by: MASA Group of Companies Developed by: Barisan Tenaga Perancang (M) Sdn Bhd At this early stage of preparation of the whole marketing campaign, the developer is offering, only to the first 100 interested clients , the possibility of a personalized preview of our show room at Selayang Spring. Visit us at our show unit at Selayang hot spring water pools (air panas) in Jalan Ipoh (see the reverse side for a detailed location map). Show unit is going to be open every day including Sundays and Public Holidays 11 am until 11 pm. Let us surprise you with the absolutely special and unique offer that we have prepared for the first 100 clients. . Phase 1 `Block Damar` consists of a 22 floors residential building in the greenest area of Selayang near to the city but still away from the downtown havoc and crowd. The whole project covers an area of roughly 19 acres right on the side of one of the very few Malaysian Spring Hot Water sites which is mostly surrounded by a National Reserve Park under the control of F.R.I.M. [masasmall.jpg] MASA Group of Companies is going to enhance this area by developing a new and unique quality living concept that, added to the remarkable offer prepared for the first 100 clients, will really make your visit to our show unit a unique and enjoyable experience. Looking forward to welcome you at your future `Gate to the green` Selayang Springs Condominium.. ..the special place you will call HOME Exclusive Marketing Agent: [Exclusive.jpg] Properties Sdn. Bhd. (823167-A) Registered Real Estate Agent E(1) 1213 Financier: [Banks.jpg] For further information or pre-viewing appointment please call: Tel. 03-6131 1223 / 03-6131 1224 / 03-7803 6692 Mobile: 016-626 9222 Email: sa...@reigroup.com.my Location Map: [map.jpg] [1]Click here to stop receiving email from us References 1. http://www.selayangsprings.net/deletedbpage.php ___ 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: how to use the MFS ?
or you should be able to use unionfs to mount the md1 device over /usr/ports if in not mistaken Dan Nelson wrote: In the last episode (Jan 09), PstreeM China said: hi all: i want to know ,how to compile better speed during the installation of Ports , use the memery filesystem(MFS) .. during make world , mount the md0 to /usr/obj , but what can i do for the port ? Set WRKDIRPREFIX to point to a directory in your mfs filesystem, and all the .../work/ directories will get created there. ___ 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: how to use the MFS ?
hi all: i want to know ,how to compile better speed during the installation of Ports , use the memery filesystem(MFS) .. during make world , mount the md0 to /usr/obj , but what can i do for better use tmpfs the port ? rm -rf /usr/ports/ mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports portsnap extract now build ___ 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: how to use the MFS ?
In the last episode (Jan 09), PstreeM China said: hi all: i want to know ,how to compile better speed during the installation of Ports , use the memery filesystem(MFS) .. during make world , mount the md0 to /usr/obj , but what can i do for the port ? Set WRKDIRPREFIX to point to a directory in your mfs filesystem, and all the .../work/ directories will get created there. goot to know - thanks! ___ 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: how to use the MFS ?
Wojciech Puchar wrote: hi all: i want to know ,how to compile better speed during the installation of Ports , use the memery filesystem(MFS) .. during make world , mount the md0 to /usr/obj , but what can i do for better use tmpfs the port ? rm -rf /usr/ports/ mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports portsnap extract now build ___ 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 quicker to do mv /usr/ports /usr/ports.real mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports mount -t unionfs -o noatime /usr/ports /usr/ports.real of cause tmpfs can actually start using disk space unlike a md device so if you eat up to much ram with the compiles it will slow down ___ 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 7.1, nvidia-driver, GeForce 8500 GT
Yes, I did. And although the system appears to list the specified amount of RAM (3GB or 2GB), the X server crashes nonetheless... On Fri, Jan 9, 2009 at 9:17 AM, Paul B. Mahol one...@gmail.com wrote: On 1/9/09, Giuseppe Pagnoni gpagn...@gmail.com wrote: -- Forwarded message -- From: Giuseppe Pagnoni gpagn...@gmail.com Date: Thu, Jan 8, 2009 at 6:11 PM Subject: Re: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT To: Pieter de Goeje pie...@degoeje.nl Dear Pieter, thanks for the information. Unfortunately, putting the line hw.physmem=3G in /boot/loader.conf as you suggested does not prevent the system from crashing when starting X (even using 2G), while You rebooted after that change? taking physically out the 2G memory bank from the motherboard does. That's a pity because this being a dual boot system, I could have left the 4 GB of RAM in when using the other OS Is there any other option that you would be aware of? thanks again giuseppe On Thu, Jan 8, 2009 at 1:44 PM, Pieter de Goeje pie...@degoeje.nl wrote: How much memory do you have? Freebsd/Nvidia doesn't work with 4Gigs of memory OR PAE enabled kernels. Nvidia's forums have lots more information regarding this. I'm not sure of the internals exactly, but the amount of onboard memory plus the memory that comes with the card can't exceed 4G. (I could be wrong, but I think this is accurate). In this case, assuming you have a 512M card or similar then 3 Gigs of memory should work. I have seen reports of 2Gigs of memory working (i386) and am sure that works without problems. amd64 doesn't work at all, as you have already stated. If you have a requirement to use the nvidia based graphics driver, then you really don't have an alternative at this time, then to remove system memory from your main board. ~Paul Putting hw.physmem=3G in /boot/loader.conf might also work. -- Pieter de Goeje -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 ___ 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 -- Paul -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 ___ 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: how to use the MFS ?
i think the option WRKDIRPREFIX is a good idea , and i whill test the methon unionfs. but i want to know , after i mount the unionfs , like this :#mount -t unionfs /usr/ports /usr/ports.real the /usr/ports is memery FS, what can i used to install software ?? go to the dir : /usr/ports/**/** to install , or go to dir dir : /usr/ports.real/*/* to install ?? thank all!! On Fri, Jan 9, 2009 at 6:14 PM, chris.scott k...@snaffler.net wrote: Wojciech Puchar wrote: hi all: i want to know ,how to compile better speed during the installation of Ports , use the memery filesystem(MFS) .. during make world , mount the md0 to /usr/obj , but what can i do for better use tmpfs the port ? rm -rf /usr/ports/ mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports portsnap extract now build ___ 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 quicker to do mv /usr/ports /usr/ports.real mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports mount -t unionfs -o noatime /usr/ports /usr/ports.real of cause tmpfs can actually start using disk space unlike a md device so if you eat up to much ram with the compiles it will slow down ___ 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: 3945ABG wireless problems
what tha AP you connect ?? maybe , the wlan can not connect a AP, the hardware will turn off ... check your file /etc/wpa_supp**.conf On Fri, Jan 9, 2009 at 3:55 PM, Alain G. Fabry alainfa...@belgacom.netwrote: Hi, I'm having problems with my 3945ABG Wireless card. I keep on getting wpi0: Radio Transmitter is switched off pushing 802.11 button on laptop - Turning OFF --- Jan 9 07:59:08 desmo kernel: ugen0: at uhub0 port 1 (addr 2) disconnected Jan 9 07:59:08 desmo kernel: ugen0: detached pushing 802.11 button again - Turning ON - Jan 9 07:59:13 desmo root: Unknown USB device: vendor 0x03f0 product 0x171d bus uhub0 Jan 9 07:59:13 desmo kernel: ugen0: Broadcom Corp HP Integrated Module, class 224/1, rev 2.00/1.00, addr 2 on uhub0 ifconfig wpi0 up Jan 9 07:58:51 desmo kernel: NEWSTATE:INIT Jan 9 07:58:51 desmo kernel: Resetting the card - clearing any uploaded firmware Jan 9 07:58:51 desmo kernel: Loading microcode size 0x384 Jan 9 07:58:51 desmo kernel: firmware status=0x, val=0x4040, result=0x4040 Jan 9 07:58:51 desmo kernel: Status Match! - ntries = 0 Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 alive 1 Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 alive 1 Jan 9 07:58:51 desmo kernel: wpi0: Radio Transmitter is switched off Jan 9 07:58:51 desmo kernel: state changed to 1 Jan 9 07:58:51 desmo kernel: wpi0: Radio transmitter is switched off I notice that I didn't have the license at /usr/share/doc/legal/intel_wpi/LICENSE, so I grabbed it from http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi.tar.gzhttp://people.freebsd.org/%7Ebenjsc/downloads/wpi/20071102-freebsd-wpi.tar.gz /boot/loader.conf includes the following if_wpi_load=YES wlan_load=YES wlan_amrr_load=YES firmware_load=YES wpifw_load=YES legal.intel_wpi.license_ack=1 What am I doing wrong here?? Many thanks, Alain ___ 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-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
Brian McCann wrote: 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 You're installing it into a single partition? Just / with everything on it? Maybe try the standard installation procedure with a /, swap, tmp, var and user. Let sysinstall do its job and use auto-defaults. Regards. ___ 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: 3945ABG wireless problems
Actually, I've just sofar tried to perform a 'ifconfig wpi0 list scan' to verify which AP are availableafter I have put the interface up of course. But it just gets stuck on this scandoesn't do anything. info from /var/log/messages Jan 9 13:05:31 desmo sudo: username : TTY=ttyp2 ; PWD=/data/username ; USER=root ; COMMAND=/sbin/ifconfig wpi0 scan list Jan 9 13:05:32 desmo kernel: HERER On Fri, Jan 09, 2009 at 07:55:11PM +0800, PstreeM China wrote: what tha AP you connect ?? maybe , the wlan can not connect a AP, the hardware will turn off ... check your file /etc/wpa_supp**.conf On Fri, Jan 9, 2009 at 3:55 PM, Alain G. Fabry alainfa...@belgacom.netwrote: Hi, I'm having problems with my 3945ABG Wireless card. I keep on getting wpi0: Radio Transmitter is switched off pushing 802.11 button on laptop - Turning OFF --- Jan 9 07:59:08 desmo kernel: ugen0: at uhub0 port 1 (addr 2) disconnected Jan 9 07:59:08 desmo kernel: ugen0: detached pushing 802.11 button again - Turning ON - Jan 9 07:59:13 desmo root: Unknown USB device: vendor 0x03f0 product 0x171d bus uhub0 Jan 9 07:59:13 desmo kernel: ugen0: Broadcom Corp HP Integrated Module, class 224/1, rev 2.00/1.00, addr 2 on uhub0 ifconfig wpi0 up Jan 9 07:58:51 desmo kernel: NEWSTATE:INIT Jan 9 07:58:51 desmo kernel: Resetting the card - clearing any uploaded firmware Jan 9 07:58:51 desmo kernel: Loading microcode size 0x384 Jan 9 07:58:51 desmo kernel: firmware status=0x, val=0x4040, result=0x4040 Jan 9 07:58:51 desmo kernel: Status Match! - ntries = 0 Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 alive 1 Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 alive 1 Jan 9 07:58:51 desmo kernel: wpi0: Radio Transmitter is switched off Jan 9 07:58:51 desmo kernel: state changed to 1 Jan 9 07:58:51 desmo kernel: wpi0: Radio transmitter is switched off I notice that I didn't have the license at /usr/share/doc/legal/intel_wpi/LICENSE, so I grabbed it from http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi.tar.gzhttp://people.freebsd.org/%7Ebenjsc/downloads/wpi/20071102-freebsd-wpi.tar.gz /boot/loader.conf includes the following if_wpi_load=YES wlan_load=YES wlan_amrr_load=YES firmware_load=YES wpifw_load=YES legal.intel_wpi.license_ack=1 What am I doing wrong here?? Many thanks, Alain ___ 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-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-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Can't boot machine after upgrade
Hi all, I just updated my server from 6.3-RELEASE to 6.4-RELEASE and I now can't boot my machine - a rather crappy HP desktop. The boot seems to go along nicely without any errors that I can see but when it comes to mounting the root filesystem it bails out: Trying to mount root from ufs:/dev/ad0s2 Manual root filesystem specification: fstype:device snip ? List valid disk boot devices snip mountroot I've tried entering the root fs (it's the same as above) but it's no go. If I list the valid boot disk devices, it gives me this: list of GEOM managed disk devices: da3 da2 da1 da0 which are all the crappy flash card readers etc. Anybody got any idea on what's going on how to fix it? TIA. BTW, just reply to the list, I can't receive mail ATM so I'll have to read replies in the archive. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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: Can't boot machine after upgrade
On Fri, 9 Jan 2009 12:27:20 +, Frank Shute fr...@shute.org.uk wrote: Anybody got any idea on what's going on how to fix it? The messages you presented seem to indicate that ad0 is not found. It's not listed in the available devices, and boot fails. Could you check its presence using a FreeBSD / FreeSBIE boot CD? I'm surprised the hard disk isn't detected at all... are you using the GENERIC kernel? -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: 3945ABG wireless problems
i don't know what happen ... i use the 3945ABG too , i use the three config file ... /boot/loader.conf /etc/rc.conf /etc/wpa_supplicant.conf you may lose the thried file ,give you for a example. ### the loader.conf file legal.intel_wpi.license_ack=1 if_wpi_load=YES wlan_load=YES wlan_amrr_load=YES firmware_load=YES wpifw_load=YES wlan_wep_load=YES wlan_ccmp_load=YES wlan_tkip_load=YES the rc.conf file ifconfig_wpi0=WPA DHCP the wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid=APSSID #scan_ssid=2 key_mgmt=WPA-PSK psk=APpassword } On Fri, Jan 9, 2009 at 8:12 PM, Alain G. Fabry alainfa...@belgacom.netwrote: Actually, I've just sofar tried to perform a 'ifconfig wpi0 list scan' to verify which AP are availableafter I have put the interface up of course. But it just gets stuck on this scandoesn't do anything. info from /var/log/messages Jan 9 13:05:31 desmo sudo: username : TTY=ttyp2 ; PWD=/data/username ; USER=root ; COMMAND=/sbin/ifconfig wpi0 scan list Jan 9 13:05:32 desmo kernel: HERER On Fri, Jan 09, 2009 at 07:55:11PM +0800, PstreeM China wrote: what tha AP you connect ?? maybe , the wlan can not connect a AP, the hardware will turn off ... check your file /etc/wpa_supp**.conf On Fri, Jan 9, 2009 at 3:55 PM, Alain G. Fabry alainfa...@belgacom.net wrote: Hi, I'm having problems with my 3945ABG Wireless card. I keep on getting wpi0: Radio Transmitter is switched off pushing 802.11 button on laptop - Turning OFF --- Jan 9 07:59:08 desmo kernel: ugen0: at uhub0 port 1 (addr 2) disconnected Jan 9 07:59:08 desmo kernel: ugen0: detached pushing 802.11 button again - Turning ON - Jan 9 07:59:13 desmo root: Unknown USB device: vendor 0x03f0 product 0x171d bus uhub0 Jan 9 07:59:13 desmo kernel: ugen0: Broadcom Corp HP Integrated Module, class 224/1, rev 2.00/1.00, addr 2 on uhub0 ifconfig wpi0 up Jan 9 07:58:51 desmo kernel: NEWSTATE:INIT Jan 9 07:58:51 desmo kernel: Resetting the card - clearing any uploaded firmware Jan 9 07:58:51 desmo kernel: Loading microcode size 0x384 Jan 9 07:58:51 desmo kernel: firmware status=0x, val=0x4040, result=0x4040 Jan 9 07:58:51 desmo kernel: Status Match! - ntries = 0 Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 alive 1 Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 alive 1 Jan 9 07:58:51 desmo kernel: wpi0: Radio Transmitter is switched off Jan 9 07:58:51 desmo kernel: state changed to 1 Jan 9 07:58:51 desmo kernel: wpi0: Radio transmitter is switched off I notice that I didn't have the license at /usr/share/doc/legal/intel_wpi/LICENSE, so I grabbed it from http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi.tar.gzhttp://people.freebsd.org/%7Ebenjsc/downloads/wpi/20071102-freebsd-wpi.tar.gz http://people.freebsd.org/%7Ebenjsc/downloads/wpi/20071102-freebsd-wpi.tar.gz /boot/loader.conf includes the following if_wpi_load=YES wlan_load=YES wlan_amrr_load=YES firmware_load=YES wpifw_load=YES legal.intel_wpi.license_ack=1 What am I doing wrong here?? Many thanks, Alain ___ 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-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-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: Restore deleted files
Polytropon wrote: Hi, I'd like to ask a two-stage question: 1. Is it possible to recover files that have been deleted? 2. Which tools or procedures are suggested for recovery? While sorting out some files and transfering them to another hard disk, I accidentally deleted too much: the directory with my videos taken by a digital camera. They were located in a directory within a subtree, and I deleted the whole subtree without first copying these files. I used the Midnight Commander to do this. As I read from its source code, it seems to use the unlink() call to delete the subtree recursively. Pressing PF8 can really ruin your day... Just after I noticed what I had done I unmounted the file system, powered off the machine and put the disk on the shelf (it's still there), no further write accesses. I would be glad if someone could enlighten me if there is any chance to get the files back, even with the loss of the file names (doesn't matter), and which tools seem to serve best in this difficult task. And if it's impossible, please tell me. I can newfs the disk then and free it, along with my mind. PS. I'm posting this question to -fs, too. Answers from this list please keep me in CC because I'm not subscribed to -fs. Thank you! See if this can help you, it recognizes and recovers files based on headers, data structures, etc. not names. http://foremost.sourceforge.net/ this along with a couple of the other tools people have mentioned should get you back to where you need to be. ___ 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: Anybody using Lenovo S10?[ Model Correction ]
Quoting Manolis Kiagias sonic200...@gmail.com: ec...@casasponti.net wrote: Quoting ec...@casasponti.net: I bought a Lenova S10 for my wife. It comes with WindowsXP and while configuring it for her I found it to be a nice, new generation laptop. I liked it well enough to consider buying another for me and installing FreeBSD but I would like to see what works and doesn't work. Link because of the original subject error [Lenovo S110 rather than the correct S10. Sorry. http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:category.details?current-catalog-id=12F0696583E04D86B9B79B0FEC01C087current-category-id=D4B2E83FADD74C9F8BBA5B276072AD8C Any comments or suggestions appreciated. ed According to the link, it has a broadcom wireless, which I believe will be a problem. Yep, I think you are right. I remembered that broadcom was supported but I see I am very behind times with wireless and have been playing catchup with ath that now works great. Thanks for the reality check. I still think it is a nice machine for the price but . . . . ed Failure is the opportunity to begin again more intelligently. Fracaso es la oportunidad de reiniciar con mas inteligencia Henry Ford ___ 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: ndis panic HP pavilion ze4400 won't boot
On Thu, Jan 8, 2009 at 4:20 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Thu, Jan 8, 2009 at 4:59 PM, Neal Hogan nealho...@gmail.com wrote: On Thu, Jan 8, 2009 at 3:37 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Thu, Jan 8, 2009 at 11:37 AM, Neal Hogan nealho...@gmail.com wrote: I'm father new to fBSD. I hope this is the appropriate list to send this question to. I just installed 7.1-RELEASE on my HP pavilion and attempted to configure my Broadcom wlan card (BCM94309 version 4.10.40.0) using ndisgen. I cp'd the bcmwl5_sys.ko to /boot/kernel and added *bcmwl5_sys_load=YES* to my /boot/loader.conf. Now the machine will not boot. It crashes when it reaches the ndis0 line. I've tried booting in all the modes but they all fail to boot. I can escape to prompt, but am unsure what, if anything, I can do in that mode to deal with the situation. With other releases (6.4 and 7.0) the machine would panick when I attempted to ifconfig ndis0. However, I was able to boot in single user mode and temporarily move the rc.conf file so that I cound boot in the default mode. With 7.1, I don't appear to have that option. Is there anything I can do, short of a fresh install, to eliminate this problem? I'm not too worried about getting the wifi up (although, I won't turn down any advice). I just want the machine to boot. I discovered a wierd hack to resolve this. Remove the line(s) from loader.conf, and create an /etc/rc.local file containing the following: /sbin/kldload /boot/modules/bcmwl5_sys.ko That should survive a reboot. -- Glen Barber Tell me and I forget. Teach me and I remember. Involve me and I learn. - Benjamin Franklin Glen, I tried your suggestion (which I appreciate) and it did survive rebooting. However, bcmwl5_sys.ko was not loaded because there was no ndis interface. So, I change the rc.local to /sbin/kldload /boot/kernel/bcmwl5_sys.ko Upon reboot, the system panicked when it loaded the rc.local file. I don't know . . . Any additional modules should be placed in /boot/modules, not /boot/kernel. What happens if you manually load the module after the system is running? -- Glen Barber Tell me and I forget. Teach me and I remember. Involve me and I learn. - Benjamin Franklin Glen, Well, I never loaded into /boot/modules and at this point I've removed the *bcmwl5-stuff* to begin again. Note that *kldload bcmwl5_sys.ko* output that there was no such file. Below is some info as to what lead to the panic (it's info I gave in response to another generous fellow on the list). I have not formally sync'd the system and source. But what I did prior to the panicking was freshly install 7.0-RELEASE from disc, did not add any packages, before upgrading to 7.1-RELEASE, using *freebsd-update -r 7.1-RELEASE upgrade freebsd-update -r 7.1-RELEASE install* I then installed downloded the ports tree via ftp and added a few packages. The bcmwl5_sys.ko was generated using *ndisgen /mnt/flash/bcmwl5.inf /mnt/flash/bcmwl5.sys* When it came time to make the .ko file, it reported a syntax error on the last line of the .inf file. I removed that line and the .ko file was generated. As far as using the correct driver is concerned . . . my Broadcom card is a BCM94309, version 4.10.40, in Windows XP Home. I got the driver, with those specs, from the HP website. The only difference was that my hardware specs under XP dates the card version as 11/2/2005 and the driver, on the HP site, is dated 2/17/2006. Panic info . . . there was not much time to get all of the info before it reboot and, at this point, I've uninstalled the driver stuff to avoid panic. I do remember it saying something about a *fatal trap 12* I hope this was info. you were looking for. Again, thanks for your consideration. -Neal -- www.nealhogan.net ___ 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: ndis panic HP pavilion ze4400 won't boot
On Fri, Jan 9, 2009 at 9:18 AM, Neal Hogan nealho...@gmail.com wrote: Glen, Well, I never loaded into /boot/modules and at this point I've removed the *bcmwl5-stuff* to begin again. Note that *kldload bcmwl5_sys.ko* output that there was no such file. Below is some info as to what lead to the panic (it's info I gave in response to another generous fellow on the list). Just use `kldload bcmwl5_sys` without the `.ko' at the end. I have not formally sync'd the system and source. But what I did prior to the panicking was freshly install 7.0-RELEASE from disc, did not add any packages, before upgrading to 7.1-RELEASE, using *freebsd-update -r 7.1-RELEASE upgrade freebsd-update -r 7.1-RELEASE install* I then installed downloded the ports tree via ftp and added a few packages. This could be causing a problem if the kernel and userland (ndis included) are out of sync. The bcmwl5_sys.ko was generated using *ndisgen /mnt/flash/bcmwl5.inf /mnt/flash/bcmwl5.sys* When it came time to make the .ko file, it reported a syntax error on the last line of the .inf file. I removed that line and the .ko file was generated. As far as using the correct driver is concerned . . . my Broadcom card is a BCM94309, version 4.10.40, in Windows XP Home. I got the driver, with those specs, from the HP website. The only difference was that my hardware specs under XP dates the card version as 11/2/2005 and the driver, on the HP site, is dated 2/17/2006. Try using an older/newer .inf and .sys file. Panic info . . . there was not much time to get all of the info before it reboot and, at this point, I've uninstalled the driver stuff to avoid panic. I do remember it saying something about a *fatal trap 12* Fatal trap 12 is kind of a generic error message. What appears before that actual trap is the important part. I hope this was info. you were looking for. Again, thanks for your consideration. -- Glen Barber ___ 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 Boot Manager
Hi all, For those that have been following this thread: I now have Norton GoBack uninstalled and un-hooked from the MBR -Had to go to Symantec and get a rescue disk, -The rescue disk tried to un-hook GOBAck from the MBR, -It found the MBR borken (due to the FreeBSD Boot Manager install), -So the rescue disk ran all night restoring the original C-Drive, -As of this morning, I once again have a bottoable windows system, -FreeBSD 6.4 is intalled, but, -I have not boot manager so I cant get to the FReeBSD installation. Can someone (please!) explain how to install the FreeBSD boot manager again? THanks all, -Grant - Original Message - From: Steve Bertrand st...@ibctech.ca To: Grant Peel gp...@thenetnow.com Cc: Kurt Buff kurt.b...@gmail.com; freebsd-questions@freebsd.org Sent: Thursday, January 08, 2009 9:39 PM Subject: Re: FreeBSD Boot Manager Grant Peel wrote: So then, IF we are able to restore the Windows MBR, and boot into windows, should we not be able to boot the machine with a bootable FreeBSD disk, then, use Sysinstall to restore the FreeBSD boot manager? Yes, that is exactly what I was getting at. Steve ___ 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-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: programs...
On Thu, Jan 08, 2009 at 11:03:29PM -0800, Gary Kline wrote: Guys, I've going to give away what I think could be at least a multi-thousand dollar idea, something we nearly have already. And a wish-list for a program that does not, AFAIK, exist. Its called iTunes. First, the wish-for:: given all the kinds of video and audio programs that are now on the web, how difficult would it be to have a GUI [interface] program pop up a screen with date of airing, and/or date of podcast? Not to exceed several hours worth of recorded podcasts... or live recording. iTunes will suck them down and has settings for when (if ever) to delete old podcasts. I can only give examples of thing I watch, but this will give you some idea. And bear in mind that at least FreeBSD cannot capture some programs. Like FRONTLINE on PBS. But for the sake of argument, let's say that firefox or whatever browser or kmplayer or another player did have the proper codecs. This GUI app would find, fetch, and store in /usr/local/tmp FRONTLINE, NOVA, In Our Time and Everyday Ethics [BBC], and Marketplace, Weekend, 10jan09. iTunes stores in ~/Music/iTunes/iTunes Music/Podcasts/ When these programs were safely in /usr/local/tmp/Pods, the program would send mail or otherwise inform the user. Script from cron to detect presence of a new file in the above, send notification. There are FreeBSD ports for subscribing to podcasts that could do the same thing. How doable is this...? and, yes, i know that many of these audio files can be subscribed to as podcasts. I have several on my Google page. Get A Mac! -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. ___ 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 Boot Manager
why not just add loader or whatever to the windows boot loader.. unless you specifically need fbsd boot manager Grant Peel wrote: Hi all, For those that have been following this thread: I now have Norton GoBack uninstalled and un-hooked from the MBR -Had to go to Symantec and get a rescue disk, -The rescue disk tried to un-hook GOBAck from the MBR, -It found the MBR borken (due to the FreeBSD Boot Manager install), -So the rescue disk ran all night restoring the original C-Drive, -As of this morning, I once again have a bottoable windows system, -FreeBSD 6.4 is intalled, but, -I have not boot manager so I cant get to the FReeBSD installation. Can someone (please!) explain how to install the FreeBSD boot manager again? THanks all, -Grant - Original Message - From: Steve Bertrand st...@ibctech.ca To: Grant Peel gp...@thenetnow.com Cc: Kurt Buff kurt.b...@gmail.com; freebsd-questions@freebsd.org Sent: Thursday, January 08, 2009 9:39 PM Subject: Re: FreeBSD Boot Manager Grant Peel wrote: So then, IF we are able to restore the Windows MBR, and boot into windows, should we not be able to boot the machine with a bootable FreeBSD disk, then, use Sysinstall to restore the FreeBSD boot manager? Yes, that is exactly what I was getting at. Steve ___ 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-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-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 Boot Manager
Hi Mike, I am not at all sure whate you are suggesting here? What I am asking, is, somehting like: Can I reboot the machine with the FreeBSD install disk, and using the sysinstall utility, reinstall the freebsd boot manger so I wind up with: F1 Windows F2 FreeBSD F5 Disk1 -Grant - Original Message - From: Michael Copeland michael.copel...@gmail.com To: Grant Peel gp...@thenetnow.com Cc: freebsd-questions@freebsd.org Sent: Friday, January 09, 2009 9:44 AM Subject: Re: FreeBSD Boot Manager why not just add loader or whatever to the windows boot loader.. unless you specifically need fbsd boot manager Grant Peel wrote: Hi all, For those that have been following this thread: I now have Norton GoBack uninstalled and un-hooked from the MBR -Had to go to Symantec and get a rescue disk, -The rescue disk tried to un-hook GOBAck from the MBR, -It found the MBR borken (due to the FreeBSD Boot Manager install), -So the rescue disk ran all night restoring the original C-Drive, -As of this morning, I once again have a bottoable windows system, -FreeBSD 6.4 is intalled, but, -I have not boot manager so I cant get to the FReeBSD installation. Can someone (please!) explain how to install the FreeBSD boot manager again? THanks all, -Grant - Original Message - From: Steve Bertrand st...@ibctech.ca To: Grant Peel gp...@thenetnow.com Cc: Kurt Buff kurt.b...@gmail.com; freebsd-questions@freebsd.org Sent: Thursday, January 08, 2009 9:39 PM Subject: Re: FreeBSD Boot Manager Grant Peel wrote: So then, IF we are able to restore the Windows MBR, and boot into windows, should we not be able to boot the machine with a bootable FreeBSD disk, then, use Sysinstall to restore the FreeBSD boot manager? Yes, that is exactly what I was getting at. Steve ___ 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-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-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-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 Boot Manager
also, doing it the way i suggested will still give you the option to re-select windows, and then from there right back to freebsd is you accidentally hit the wrong button. creates a nice loop. eg: machine boots, windows shows you Windows XP or FreeBSD you select FreeBSD, you get the menu you want from there F1 FreeBSD F2 Microsoft Windows F5 DiskX Selecting windows will take you back to the windows loader, and then you could select windows or freebsd. Grant Peel wrote: Hi Mike, I am not at all sure whate you are suggesting here? What I am asking, is, somehting like: Can I reboot the machine with the FreeBSD install disk, and using the sysinstall utility, reinstall the freebsd boot manger so I wind up with: F1 Windows F2 FreeBSD F5 Disk1 -Grant - Original Message - From: Michael Copeland michael.copel...@gmail.com To: Grant Peel gp...@thenetnow.com Cc: freebsd-questions@freebsd.org Sent: Friday, January 09, 2009 9:44 AM Subject: Re: FreeBSD Boot Manager why not just add loader or whatever to the windows boot loader.. unless you specifically need fbsd boot manager Grant Peel wrote: Hi all, For those that have been following this thread: I now have Norton GoBack uninstalled and un-hooked from the MBR -Had to go to Symantec and get a rescue disk, -The rescue disk tried to un-hook GOBAck from the MBR, -It found the MBR borken (due to the FreeBSD Boot Manager install), -So the rescue disk ran all night restoring the original C-Drive, -As of this morning, I once again have a bottoable windows system, -FreeBSD 6.4 is intalled, but, -I have not boot manager so I cant get to the FReeBSD installation. Can someone (please!) explain how to install the FreeBSD boot manager again? THanks all, -Grant - Original Message - From: Steve Bertrand st...@ibctech.ca To: Grant Peel gp...@thenetnow.com Cc: Kurt Buff kurt.b...@gmail.com; freebsd-questions@freebsd.org Sent: Thursday, January 08, 2009 9:39 PM Subject: Re: FreeBSD Boot Manager Grant Peel wrote: So then, IF we are able to restore the Windows MBR, and boot into windows, should we not be able to boot the machine with a bootable FreeBSD disk, then, use Sysinstall to restore the FreeBSD boot manager? Yes, that is exactly what I was getting at. Steve ___ 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-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-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-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: Can't boot machine after upgrade
On Fri, 9 Jan 2009 14:54:55 +, Frank Shute fr...@shute.org.uk wrote: I tried booting a FreeBSD CD going into sysinstall then fdisk but it said it couldn't find any disks. Ah! This means something like the disk *really* can't be accessed. You can easily conclude from % dmesg | grep ^ad if any disk is present, or use % atacontrol list to see what's on the HDD controller. freesbie.org is unfortunately down :( The diagnostic means of a bootable FreeBSD installation CD should be sufficient at first - to eleminate or confirm the idea that the disk is not present. Now, check settings in CMOS setup, check wires, eventually check hard disk in another system, and / or put another disk into the system you want to boot (cross-checking) - the latter one not to install anything, but to see if the disk is recognized correctly. I'm not using GENERIC but IIRC I've only stripped out NIC's etc. Then I think the only thing missing could be the ad driver or something it depends on, but that's nearly impossible to miss. :-) I booted with booting verbose and it's showing this before it jumps to the mountroot prompt: ata1: SATA connect time=0ms ata1: SIGNATURE: eb140101 ata1: ahci_reset devices=0x4ATAPI_MASTER ata1: reinit done .. ata2: reiniting channel .. ata2: SATA connect time=0ms ata2: SIGNATURE: 0101 ata1: ahci_reset devices=0x1ATA_MASTER ata2: reinit done .. ata2: reiniting channel .. *repeats* I see you're using a SATA disk. I don't have such ones, so I'm not sure if they maybe require something in the kernel? ATA PseudoRAID loaded PseudoRAID, only one disk? Hmmm... eventually check BIOS again. Finally, I think the problem occurs this way: The ad0 disk can't be recognized, so the access to ad0s1a won't work. You should try to get access to ad0. Maybe some cross-checking will help, just in case you're having a damaged hard disk... -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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
Problem compiling gnome2
Hello, I am trying to compile gnome2, but libggz fails to compile because of missing library: gcrypt1.5. It does on to complile security/ libgcrypt, but evidently the current version 1.4.3 doesn't help much. How can I fight with this beast? Thank you. ___ 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: Problem compiling gnome2
rg wrote: Hello, I am trying to compile gnome2, but libggz fails to compile because of missing library: gcrypt1.5. It does on to complile security/libgcrypt, but evidently the current version 1.4.3 doesn't help much. How can I fight with this beast? Thank you. i would assume upgrade to 1.5 ___ 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-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: Can't boot machine after upgrade
On Fri, Jan 09, 2009 at 01:43:42PM +0100, Polytropon wrote: On Fri, 9 Jan 2009 12:27:20 +, Frank Shute fr...@shute.org.uk wrote: Anybody got any idea on what's going on how to fix it? The messages you presented seem to indicate that ad0 is not found. It's not listed in the available devices, and boot fails. Could you check its presence using a FreeBSD / FreeSBIE boot CD? I tried booting a FreeBSD CD going into sysinstall then fdisk but it said it couldn't find any disks. freesbie.org is unfortunately down :( I'm surprised the hard disk isn't detected at all... are you using the GENERIC kernel? I'm not using GENERIC but IIRC I've only stripped out NIC's etc. I booted with booting verbose and it's showing this before it jumps to the mountroot prompt: ata1: SATA connect time=0ms ata1: SIGNATURE: eb140101 ata1: ahci_reset devices=0x4ATAPI_MASTER ata1: reinit done .. ata2: reiniting channel .. ata2: SATA connect time=0ms ata2: SIGNATURE: 0101 ata1: ahci_reset devices=0x1ATA_MASTER ata2: reinit done .. ata2: reiniting channel .. *repeats* ATA PseudoRAID loaded Trying to mount root from ufs:/dev/ad0s2 mountroot -- Polytropon Hope that helps some more. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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: Sun sucks
On Thu, 08 Jan 2009 23:16:25 -0500 Steve Bertrand st...@ibctech.ca wrote: RW wrote: Just create a new account for some made-up name, don't specify any company, download your file, and then (if you really care) go through the hoops afterwards. Improper subject, wrong attitude. If one wishes to use a license from another product that is outside of the BSD license scope, then follow it properly. FreeBSD ( personnel) does a magnificent job of keeping outside-licensed code and objects separate from itself, and I'd rather jump through burning hoops of flame to 'add on' to the system to mend it to my needs, as opposed to having the system, and possibly its users, face legal ramifications later... That would be an excellent point if I claimed to speak for the FreeBSD project - I don't, so it isn't. OSS projects aren't liable for the actions and opinions of their end-users. ___ 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: Login accounts don't work after update to 7.1
Bert-Jan i...@bert-jan.com writes: I do find it strange though, that freebsd-update replaced those files, even though it tells you it's going to change them. I don't use freebsd-update, so I'm just trying to figure it out from reading the program. [freebsd-update is mostly just a shell script] What is the proper way to handle this ? Can I run a command after the update finishes that regenerates the account databases from the master.passwd ? I checked the history and *I* never touched it during the update, so it was merged like it should. I'm not sure what the proper way is; there's certainly code in there to update the databases automatically, so you *shouldn't* have to do anything. To do the same thing manually, you can use pwd_mkdb(8). When you edit the password database with vipw(8), this is handled for you. I'd recommend trying to reproduce the problem on a spare machine, so we can understand it better. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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 Boot Manager
well, there are many easy ways. one is to install an IFS version of UFS, if you're using ufs. that way windows can read the ufs slices and you can grab your file that way. Grant Peel wrote: Mike, In order to do that, I need to be able to get the the /boot/boot1 file that is located in the root of the FreeBSD installation. As of right now, I cant get to it, because I can't boot to FreeBSD (chicken and egg). Any ideas? -Grant In the instructions link you sent: 9.10. How can I use the Windows NT® loader to boot FreeBSD? The general idea is that you copy the first sector of your native root FreeBSD partition into a file in the DOS/Windows NT partition. Assuming you name that file something like c:\bootsect.bsd (inspired by c:\bootsect.dos), you can then edit the c:\boot.ini file to come up with something like this: [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=Windows NT C:\BOOTSECT.BSD=FreeBSD C:\=DOS If FreeBSD is installed on the same disk as the Windows NT boot partition simply copy /boot/boot1 to C:\BOOTSECT.BSD. However, if FreeBSD is installed on a different disk /boot/boot1 will not work, /boot/boot0 is needed. - Original Message - From: Michael Copeland michael.copel...@gmail.com To: Grant Peel gp...@thenetnow.com Sent: Friday, January 09, 2009 9:57 AM Subject: Re: FreeBSD Boot Manager Hello Grant, What I am suggesting is adding a freebsd entry to your windows boot loader. it is quite easy. http://www.freebsd.org/doc/en/books/faq/disks.html#NT-BOOTLOADER rather than having to deal with using sysinstall, usually its just as simple to add these entries to the windows loader. Grant Peel wrote: Hi Mike, I am not at all sure whate you are suggesting here? What I am asking, is, somehting like: Can I reboot the machine with the FreeBSD install disk, and using the sysinstall utility, reinstall the freebsd boot manger so I wind up with: F1 Windows F2 FreeBSD F5 Disk1 -Grant - Original Message - From: Michael Copeland michael.copel...@gmail.com To: Grant Peel gp...@thenetnow.com Cc: freebsd-questions@freebsd.org Sent: Friday, January 09, 2009 9:44 AM Subject: Re: FreeBSD Boot Manager why not just add loader or whatever to the windows boot loader.. unless you specifically need fbsd boot manager Grant Peel wrote: Hi all, For those that have been following this thread: I now have Norton GoBack uninstalled and un-hooked from the MBR -Had to go to Symantec and get a rescue disk, -The rescue disk tried to un-hook GOBAck from the MBR, -It found the MBR borken (due to the FreeBSD Boot Manager install), -So the rescue disk ran all night restoring the original C-Drive, -As of this morning, I once again have a bottoable windows system, -FreeBSD 6.4 is intalled, but, -I have not boot manager so I cant get to the FReeBSD installation. Can someone (please!) explain how to install the FreeBSD boot manager again? THanks all, -Grant - Original Message - From: Steve Bertrand st...@ibctech.ca To: Grant Peel gp...@thenetnow.com Cc: Kurt Buff kurt.b...@gmail.com; freebsd-questions@freebsd.org Sent: Thursday, January 08, 2009 9:39 PM Subject: Re: FreeBSD Boot Manager Grant Peel wrote: So then, IF we are able to restore the Windows MBR, and boot into windows, should we not be able to boot the machine with a bootable FreeBSD disk, then, use Sysinstall to restore the FreeBSD boot manager? Yes, that is exactly what I was getting at. Steve ___ 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-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-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-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: Problem compiling gnome2
On Fri, Jan 09, 2009 at 05:14:03PM +0200, rg wrote: Hello, I am trying to compile gnome2, but libggz fails to compile because of missing library: gcrypt1.5. It does on to complile security/libgcrypt, but evidently the current version 1.4.3 doesn't help much. How can I fight with this beast? Thank you. Follow steps in /usr/ports/UPDATING 20090107 entry before installing anything else. HTH, Yuri ___ 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: ports tree build ignores /etc/make.conf
Anton Shterenlikht me...@bristol.ac.uk writes: I have: # uname -srm FreeBSD 6.4-STABLE alpha # In /etc/make.conf I have .if ${.CURDIR:M*/lang/gcc*} NOT_FOR_ARCHS= .endif However, I get: # cd /usr/ports/lang/gcc43 # make === gcc-4.3.3_20090101 does not run on alpha ia64, while you are running alpha. *** Error code 1 Stop in /usr/ports/lang/gcc43. # So it seems make ignores NOT_FOR_ARCHS= setting. When I add this to the gcc43/Makefile directly, build goes ahead. What's the problem? The port's makefile is overriding the setting you put in make.conf. That variable is intended for use in ports, not by end-users (otherwise, the port makefile would use a different assignment operator to avoid overwriting existing settings). If you really think you can fix the build for that architecture, you should be modifying the original makefile. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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 Boot Manager
On Thu, Jan 08, 2009 at 05:23:01PM -0800, Kurt Buff wrote: On Thu, Jan 8, 2009 at 5:17 PM, Grant Peel gp...@thenetnow.com wrote: Hi all, I was bored earlier tonight and I decided to tinker a bit with FreeBSD 6.4 on my Windows XP SP3 box. In that machine, there is one SATA drive. On that drive, there was about 100 GB of free space, so I decided to try putting FreeBSD 6.4 on it. During the install, I opted to use the Free BSD boot manage. The install went flawlessly. The problem is, when I boot up I get: F1 ?? F2 FreeBSD F5 Disk1 F2, is obviously, the new installation of FreeBSD 6.4, which boots perfectly. F5 is a spare SCSI disk connected to an Initio controller. F1 is the probelem. Windose no longer boots. When I select F2, I simply get the cursor on a new line, and nothing happens. Like this: F1 ?? F2 FreeBSD F5 Disk1 _ Any idea what I might need to do to make windows work again? It may be worth mentioning, I had Norton GoBack running on the disk before I installed FreeBSD, although I am not aware if it does anything to the booting system. All suggestions welcome, -Grant www.bootdisk.com Find a bootable floppy image there that includes a DOS fdisk, and write it out to a floppy disk. Boot your machine with that floppy, and at the DOS prompt, type 'fdisk /mbr' - it will write a standard boot sector, and Windows should boot again. Of course, this will not allow you to boot to your new FreeBSD installation, but with other folks' help, you can probably overcome that - probably with GRUB, or another boot manager. You should be able to do the same thing with a FreeBSD fixit. Sounds like something got corrupted with the MBR or a boot record somewhere. But, the FreeBSD MBR should boot XP just fine. The machine I am typing on is dual boot with FreeBSD and XP (plus a Dell maintenance slice).All boot with no problem using the FreeBSD MBR. So, using fdisk to reinstall the MBR might help. jerry Kurt ___ 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-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 Boot Manager
On Thu, Jan 08, 2009 at 09:37:28PM -0500, Grant Peel wrote: So then, IF we are able to restore the Windows MBR, and boot into windows, should we not be able to boot the machine with a bootable FreeBSD disk, then, use Sysinstall to restore the FreeBSD boot manager? Maybe, but better to boot up the fixit and use fdisk to restore it. jerry -Grant - Original Message - From: Steve Bertrand st...@ibctech.ca To: Kurt Buff kurt.b...@gmail.com Cc: Grant Peel gp...@thenetnow.com; freebsd-questions@freebsd.org Sent: Thursday, January 08, 2009 8:33 PM Subject: Re: FreeBSD Boot Manager Kurt Buff wrote: On Thu, Jan 8, 2009 at 5:17 PM, Grant Peel gp...@thenetnow.com wrote: On that drive, there was about 100 GB of free space, so I decided to try putting FreeBSD 6.4 on it. During the install, I opted to use the Free BSD boot manage. The install went flawlessly. Any idea what I might need to do to make windows work again? It may be worth mentioning, I had Norton GoBack running on the disk before I installed FreeBSD, although I am not aware if it does anything to the booting system. www.bootdisk.com Find a bootable floppy image there that includes a DOS fdisk, and write it out to a floppy disk. Boot your machine with that floppy, and at the DOS prompt, type 'fdisk /mbr' - it will write a standard boot sector, and Windows should boot again. Of course, this will not allow you to boot to your new FreeBSD installation, but with other folks' help, you can probably overcome that - probably with GRUB, or another boot manager. Technically (theoretically) speaking, using a Win32 boot disk to fdisk /mbr, he should be able to re-initialize the FBSD boot loader by going through the steps he did initially. AFAIR, Symantec GoBack, along with many other 'in-disk' restoration programs, overwrite the boot sector with its own code. If the OP can boot back into Windows with the fdisk /mbr, he has likely done both: - broke his GoBack program's ability to recover, and; - made it possible to restore the FBSD boot manager If Windows boots after following Kurt's recommendation of restoring the Windows MBR, back up your Windows system, then try FreeBSD again. You sound courageous, give 'er! Steve ___ 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-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 Boot Manager
On Fri, Jan 09, 2009 at 09:40:58AM -0500, Grant Peel wrote: Hi all, For those that have been following this thread: I now have Norton GoBack uninstalled and un-hooked from the MBR -Had to go to Symantec and get a rescue disk, -The rescue disk tried to un-hook GOBAck from the MBR, -It found the MBR borken (due to the FreeBSD Boot Manager install), -So the rescue disk ran all night restoring the original C-Drive, -As of this morning, I once again have a bottoable windows system, -FreeBSD 6.4 is intalled, but, -I have not boot manager so I cant get to the FReeBSD installation. Can someone (please!) explain how to install the FreeBSD boot manager again? Boot fixit from CD. Do: fdisk -B or maybe you need: fdisk -iB Then try to reboot. These should only affect sector 0 which is where the MBR goes. What is screwing you up is that Norton GoBack. I haven't used it, but it probably works like previous recovery utilities for Norton. It rewrites the MBR to only boot its own stuff instead of a standard system boot and clobbers anything else there.It is supposed to stash the original MBR somewhere and later put it back. But it doesn't always work. If it is initiated twice in a row, for example, it saves the MBR and writes its own. Then the next time it saves the MBR (which is its own) which clobbers the original that it stashed away and then writes its own MBR in the stash, thus making both copies be its own MBR and the original is trashed. This is just one example of the way it can screw up that I have encountered (- and fixed using the FreeBSD fixit, even though it was an all Windows machine with no FreeBSD on it). There are probably more scenarios that end up with a similarly trashed MBR from GoBack. So, just try getting FreeBSD fixit to fix it. jerry THanks all, -Grant - Original Message - From: Steve Bertrand st...@ibctech.ca To: Grant Peel gp...@thenetnow.com Cc: Kurt Buff kurt.b...@gmail.com; freebsd-questions@freebsd.org Sent: Thursday, January 08, 2009 9:39 PM Subject: Re: FreeBSD Boot Manager Grant Peel wrote: So then, IF we are able to restore the Windows MBR, and boot into windows, should we not be able to boot the machine with a bootable FreeBSD disk, then, use Sysinstall to restore the FreeBSD boot manager? Yes, that is exactly what I was getting at. Steve ___ 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-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-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 Boot Manager
On Fri, Jan 09, 2009 at 09:53:51AM -0500, Grant Peel wrote: Hi Mike, I am not at all sure whate you are suggesting here? What I am asking, is, somehting like: Can I reboot the machine with the FreeBSD install disk, and using the sysinstall utility, reinstall the freebsd boot manger so I wind up with: F1 Windows F2 FreeBSD F5 Disk1 Yup. But, as I said in a previous post, use fixit and fdisk. The F1 choice will probably say either DOS or ?? instead of Windows.DOS if it is a FAT or FAT32 file system, ?? if it is an NTSF file system. jerry -Grant - Original Message - From: Michael Copeland michael.copel...@gmail.com To: Grant Peel gp...@thenetnow.com Cc: freebsd-questions@freebsd.org Sent: Friday, January 09, 2009 9:44 AM Subject: Re: FreeBSD Boot Manager why not just add loader or whatever to the windows boot loader.. unless you specifically need fbsd boot manager Grant Peel wrote: Hi all, For those that have been following this thread: I now have Norton GoBack uninstalled and un-hooked from the MBR -Had to go to Symantec and get a rescue disk, -The rescue disk tried to un-hook GOBAck from the MBR, -It found the MBR borken (due to the FreeBSD Boot Manager install), -So the rescue disk ran all night restoring the original C-Drive, -As of this morning, I once again have a bottoable windows system, -FreeBSD 6.4 is intalled, but, -I have not boot manager so I cant get to the FReeBSD installation. Can someone (please!) explain how to install the FreeBSD boot manager again? THanks all, -Grant - Original Message - From: Steve Bertrand st...@ibctech.ca To: Grant Peel gp...@thenetnow.com Cc: Kurt Buff kurt.b...@gmail.com; freebsd-questions@freebsd.org Sent: Thursday, January 08, 2009 9:39 PM Subject: Re: FreeBSD Boot Manager Grant Peel wrote: So then, IF we are able to restore the Windows MBR, and boot into windows, should we not be able to boot the machine with a bootable FreeBSD disk, then, use Sysinstall to restore the FreeBSD boot manager? Yes, that is exactly what I was getting at. Steve ___ 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-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-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-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-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 Boot Manager
On Thu, Jan 08, 2009 at 09:33:12PM -0500, Grant Peel wrote: Can I use a windows install cd's R option to do the fdisk /mbr ? Maybe.But, MS software is notorious for not recognizing any other OSen nor being able to boot them So, use the FreeBSD fdisk which will plant the FreeBSD MBR. jerry -Grant - Original Message - From: Kurt Buff kurt.b...@gmail.com To: Grant Peel gp...@thenetnow.com Cc: freebsd-questions@freebsd.org Sent: Thursday, January 08, 2009 8:23 PM Subject: Re: FreeBSD Boot Manager On Thu, Jan 8, 2009 at 5:17 PM, Grant Peel gp...@thenetnow.com wrote: Hi all, I was bored earlier tonight and I decided to tinker a bit with FreeBSD 6.4 on my Windows XP SP3 box. In that machine, there is one SATA drive. On that drive, there was about 100 GB of free space, so I decided to try putting FreeBSD 6.4 on it. During the install, I opted to use the Free BSD boot manage. The install went flawlessly. The problem is, when I boot up I get: F1 ?? F2 FreeBSD F5 Disk1 F2, is obviously, the new installation of FreeBSD 6.4, which boots perfectly. F5 is a spare SCSI disk connected to an Initio controller. F1 is the probelem. Windose no longer boots. When I select F2, I simply get the cursor on a new line, and nothing happens. Like this: F1 ?? F2 FreeBSD F5 Disk1 _ Any idea what I might need to do to make windows work again? It may be worth mentioning, I had Norton GoBack running on the disk before I installed FreeBSD, although I am not aware if it does anything to the booting system. All suggestions welcome, -Grant www.bootdisk.com Find a bootable floppy image there that includes a DOS fdisk, and write it out to a floppy disk. Boot your machine with that floppy, and at the DOS prompt, type 'fdisk /mbr' - it will write a standard boot sector, and Windows should boot again. Of course, this will not allow you to boot to your new FreeBSD installation, but with other folks' help, you can probably overcome that - probably with GRUB, or another boot manager. Kurt ___ 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-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-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 Boot Manager
From the point the message below, I would set up freebsd to give me a graphical gui so I can use gparted to unflag the bsd partition as boot and flag the windows as boot. Before restarting, I would copy /boot/boot1 to somewhere accessible by windows named something like freebsd.boot. Then I'd set up the NT boot loader: right click on my computer... properties... advance tab... startup and recovery settings... click edit and add line c:\freebsd.boot=FreeBSD --- filename of what /boot/boot1 was copied to. This should have gotten to dual booting windows and freebsd, but using the nt boot loader. Original Message Subject:FreeBSD Boot Manager Date: Thu, 8 Jan 2009 20:17:15 -0500 From: Grant Peel gp...@thenetnow.com To: freebsd-questions@freebsd.org Hi all, I was bored earlier tonight and I decided to tinker a bit with FreeBSD 6.4 on my Windows XP SP3 box. In that machine, there is one SATA drive. On that drive, there was about 100 GB of free space, so I decided to try putting FreeBSD 6.4 on it. During the install, I opted to use the Free BSD boot manage. The install went flawlessly. The problem is, when I boot up I get: F1 ?? F2 FreeBSD F5 Disk1 F2, is obviously, the new installation of FreeBSD 6.4, which boots perfectly. F5 is a spare SCSI disk connected to an Initio controller. F1 is the probelem. Windose no longer boots. When I select F2, I simply get the cursor on a new line, and nothing happens. Like this: F1 ?? F2 FreeBSD F5 Disk1 _ Any idea what I might need to do to make windows work again? It may be worth mentioning, I had Norton GoBack running on the disk before I installed FreeBSD, although I am not aware if it does anything to the booting system. All suggestions welcome, -Grant ___ 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-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: how to use the MFS ?
cd /usr/ports as normal have a look at man mount_unionfs your basically stacking fs on top of each other writes goto the tmpfs as its at the top of the stack its not persistent over boots mind PstreeM China wrote: i think the option WRKDIRPREFIX is a good idea , and i whill test the methon unionfs. but i want to know , after i mount the unionfs , like this :#mount -t unionfs /usr/ports /usr/ports.real the /usr/ports is memery FS, what can i used to install software ?? go to the dir : /usr/ports/**/** to install , or go to dir dir : /usr/ports.real/*/* to install ?? thank all!! On Fri, Jan 9, 2009 at 6:14 PM, chris.scott k...@snaffler.net mailto:k...@snaffler.net wrote: Wojciech Puchar wrote: hi all: i want to know ,how to compile better speed during the installation of Ports , use the memery filesystem(MFS) .. during make world , mount the md0 to /usr/obj , but what can i do for better use tmpfs the port ? rm -rf /usr/ports/ mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports portsnap extract now build ___ freebsd-questions@freebsd.org mailto: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 mailto:freebsd-questions-unsubscr...@freebsd.org quicker to do mv /usr/ports /usr/ports.real mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports mount -t unionfs -o noatime /usr/ports /usr/ports.real of cause tmpfs can actually start using disk space unlike a md device so if you eat up to much ram with the compiles it will slow down ___ 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: Help with dmesg (problem solved)
OK...follow me through on this one. The line 48 that was referred to in the error message as being in sendmail.cf was actually line 48 in the /etc/mail/freebsd.mc file, and subsequently in the hostname.mc file that is created with the make command. That line is: OSTYPE(freebsd6), and it points to .m4 files in the /usr/share/sendmail/cf/ostype directory. Well, I had changed (don't even ask me why) OSTYPE(freebsd6) to OSTYPE(freebsd7.1) in the before mentioned files and, of course, there is no .m4 file that references freebsd7.1. This messed up everything. Once I put everything back the way it is supposed to be, and carefully followed the clamav installation instructions...guess what. All is well. There is a lesson here, and hopefully I have learned it. Rem ___ 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
Hello I notice that when you write zeros to the first sectors of the pen drive it gets mad about it and you must make fsck and disklabel TWICE... the first time, it complains, the second time it works fine I assume you have grub installed (pkg_add -r grub) I use the folowing procedure: 1) put the pen drive on the computer it finds at da0 2) dd bs=512 if=/dev/zero of=/dev/da0 count=20 2) fdisk -BI /dev/da0 3) disklabel -w -B /dev/da0s1 4) fdisk -BI /dev/da0 5) disklabel -w -B /dev/da0s1 6) newfs -L FreeBSDstick /dev/da0s1a 7) mount -o async /dev/da0s1a /mnt 8) mkdir /mnt/boot/grub 9) cd /usr/local/share/grub/*/ 10 cp * /mnt/boot/grub 11) cat % /mnt/boot/grub/menu.lst title FreeBSD on USB root (hd0,0,a) kernel /boot/loader % 12) umount /mnt 13) grub --batch % device (hd7) /dev/da0 root (hd7,0,a) setup (hd7) % = now just populate the /mnt with bsd and your system should come up... = Hope this will help... Here i use 4gb pen-drivers running FreeBSD 7 with zfs... it works fine and very fast... Sergio. ___ 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: Login accounts don't work after update to 7.1
Lowell Gilbert wrote: Bert-Jan i...@bert-jan.com writes: What is the proper way to handle this ? Can I run a command after the update finishes that regenerates the account databases from the master.passwd ? I checked the history and *I* never touched it during the update, so it was merged like it should. I'm not sure what the proper way is; there's certainly code in there to update the databases automatically, so you *shouldn't* have to do anything. To do the same thing manually, you can use pwd_mkdb(8). When you edit the password database with vipw(8), this is handled for you. If freebsd-update installs a new master.passwd file, it will regenerate the databases from it. All I can guess in this case is that freebsd-update couldn't manage to merge updates into master.passwd automatically, and when it opened up the file in an editor for you to fix, you didn't merge things properly. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ 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
best way to debug intermittent system freezes?
I've got me a laptop with a very clean, updated 7.1 (stable) install. Started at 7.0. Only problem is about every 2-4 hours it locks up solid - no disk, no keyboard, console frozen (not running X yet, although it's installed and does boot from startx). How do I even go about poking into this? It's my very last M$ win32 system, and in my opinion, win32 needs to go away, so I have a considerable psychological investment in seeing this thru. Obviously, no lockups or any other weird behavior when running win32. I thought it might be thermal, but the system has never overheated before, and I did crank up powerd without effect. Best, Steve ___ 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: ndis panic HP pavilion ze4400 won't boot
On Fri, Jan 9, 2009 at 8:24 AM, Glen Barber glen.j.bar...@gmail.com wrote: On Fri, Jan 9, 2009 at 9:18 AM, Neal Hogan nealho...@gmail.com wrote: Glen, Well, I never loaded into /boot/modules and at this point I've removed the *bcmwl5-stuff* to begin again. Note that *kldload bcmwl5_sys.ko* output that there was no such file. Below is some info as to what lead to the panic (it's info I gave in response to another generous fellow on the list). Just use `kldload bcmwl5_sys` without the `.ko' at the end. I have not formally sync'd the system and source. But what I did prior to the panicking was freshly install 7.0-RELEASE from disc, did not add any packages, before upgrading to 7.1-RELEASE, using *freebsd-update -r 7.1-RELEASE upgrade freebsd-update -r 7.1-RELEASE install* I then installed downloded the ports tree via ftp and added a few packages. This could be causing a problem if the kernel and userland (ndis included) are out of sync. The bcmwl5_sys.ko was generated using *ndisgen /mnt/flash/bcmwl5.inf /mnt/flash/bcmwl5.sys* When it came time to make the .ko file, it reported a syntax error on the last line of the .inf file. I removed that line and the .ko file was generated. As far as using the correct driver is concerned . . . my Broadcom card is a BCM94309, version 4.10.40, in Windows XP Home. I got the driver, with those specs, from the HP website. The only difference was that my hardware specs under XP dates the card version as 11/2/2005 and the driver, on the HP site, is dated 2/17/2006. Try using an older/newer .inf and .sys file. I'm in the process of sync'ing up my system with source . . . but, in the meantime I'm wondering about the choice of Broadcom driver. Is it really a matter of trying different ones? I updated the driver this morning to a new version. Is that not the driver that I'll use for the ndiswrapper? Should an older version, perhaps the one that was originally installed? I apologize if these questions are rather simple and naiive. Panic info . . . there was not much time to get all of the info before it reboot and, at this point, I've uninstalled the driver stuff to avoid panic. I do remember it saying something about a *fatal trap 12* Fatal trap 12 is kind of a generic error message. What appears before that actual trap is the important part. I hope this was info. you were looking for. Again, thanks for your consideration. -- Glen Barber -- www.nealhogan.net ___ 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: Can't boot machine after upgrade
On Fri, Jan 09, 2009 at 04:05:57PM +0100, Polytropon wrote: On Fri, 9 Jan 2009 14:54:55 +, Frank Shute fr...@shute.org.uk wrote: I tried booting a FreeBSD CD going into sysinstall then fdisk but it said it couldn't find any disks. Ah! This means something like the disk *really* can't be accessed. You can easily conclude from % dmesg | grep ^ad if any disk is present, or use % atacontrol list to see what's on the HDD controller. freesbie.org is unfortunately down :( The diagnostic means of a bootable FreeBSD installation CD should be sufficient at first - to eleminate or confirm the idea that the disk is not present. Now, check settings in CMOS setup, check wires, eventually check hard disk in another system, and / or put another disk into the system you want to boot (cross-checking) - the latter one not to install anything, but to see if the disk is recognized correctly. I'm not using GENERIC but IIRC I've only stripped out NIC's etc. Then I think the only thing missing could be the ad driver or something it depends on, but that's nearly impossible to miss. :-) I booted with booting verbose and it's showing this before it jumps to the mountroot prompt: ata1: SATA connect time=0ms ata1: SIGNATURE: eb140101 ata1: ahci_reset devices=0x4ATAPI_MASTER ata1: reinit done .. ata2: reiniting channel .. ata2: SATA connect time=0ms ata2: SIGNATURE: 0101 ata1: ahci_reset devices=0x1ATA_MASTER ata2: reinit done .. ata2: reiniting channel .. *repeats* I see you're using a SATA disk. I don't have such ones, so I'm not sure if they maybe require something in the kernel? ATA PseudoRAID loaded PseudoRAID, only one disk? Hmmm... eventually check BIOS again. Finally, I think the problem occurs this way: The ad0 disk can't be recognized, so the access to ad0s1a won't work. You should try to get access to ad0. Maybe some cross-checking will help, just in case you're having a damaged hard disk... Hi Polytropon, Many thanks for all your help. You gave me enough to go on to eventually get it to boot. I changed something in the BIOS: Use legacy IDE or something like that and on boot-up the disk controller fired up and my CD 2 HDs were detected. (Un)fortunately, my boot partition had gone from ad0s2a to ad4s2a, in fact all FreeBSD partitions had migrated to ad4(?) and on the Windows disk from ad2 to ad8. I mounted the root partition and vi'd /etc/fstab. It then rebooted ok. I hadn't rebooted the machine for 200days but I must have changed something, somewhere. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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
weird samba error
hi to all the list, i have a question concerning samba and freebsd: whenever i use the option username map = /usr/local/etc/samba/smbusers in my smb.conf , and i try to connect to samba server like this #smbclient //apollo/username Password: session setup failed: NT_STATUS_LOGON_FAILURE i get this error even though i type the password correctly... here is the smb.conf i use: $cat /usr/local/etc/smb.conf [global] netbios name = apollo workgroup = PHOME server string = Freebsd File Server dns proxy = No security = user encrypt passwords = yes passdb backend = smbpasswd smb passwd file = /usr/local/etc/samba/smbpasswd #*this options creates all the problems* #username map = /usr/local/etc/samba/smbusers debug timestamp = no log level = 1 log file = /var/log/samba/log.%m max log size = 50 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories read only = No browseable = No #cat /usr/local/etc/samba/smbusers # Unix_name = SMB_Name1 SMB_Name2 ... # map_to = map_from root = administrator nobody = guest smbguest pcguest username = username anotherusername any idea why this happens?or how i should investigate it more? thanks in advance -nicolas ___ 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: how to use the MFS ?
PstreeM China pstr...@gmail.com writes: i think the option WRKDIRPREFIX is a good idea , and i whill test the methon unionfs. Definitely benchmark against just using a native local filesystem, though. Taking away all of that memory that FreeBSD would otherwise use for *caching* file data could well end up making your builds *slower* with the MFS than they would have been without it. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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 ral(4)
Hello list, I found this recent post (added to the bottom of the Email) in a OpenBSD mailing list, and I am experiencing the same problems connecting our Iphone 3G phones to our FreeBSD based AP Sam Fourman Jr. Fourman Networks fromTodd T. Fries t...@fries.net reply-tot...@fries.net to Damon McMahon damon.mcma...@gmail.com cc m...@openbsd.org dateFri, Jan 2, 2009 at 3:48 PM subject Re: Strange WLAN issue with ral(4) in hostap mode mailed-by openbsd.org Reply There are power savings for 802.11 that OpenBSD does not support; this is entirely independent from saving battery via cpu clocking and it is also entirely independent from saving battery via adjusting the transmit power of the radio. The power savings for 802.11 actually put the radio to sleep for a given interval and wake it up sending a message to the AP which is supposed to hold packets for a given client until the client responds, which OpenBSD does not do, therefore packetloss ensues. I know this very well, my BlackBerry Pearl 8120 gets 90-95% packet loss with an OpenBSD based AP. Damien is aware of what needs doing, but I am to understand it is not a short or easy road to get there. Thanks, -- Todd Fries .. t...@fries.net ___ 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: newbie: does irq setting in device.hints work?
Zhang Weiwu zhangwe...@realss.com writes: Hello. I come across device.hints manual which says I can set irq for each device there. I am using 6.1. Kind of old now. I don't know specifically of any reason that would matter, but for several reasons I wouldn't be at all surprised. The settings I made in devices.hints never worked. e.g. hint.uhci.0.at=pci hint.uhci.0.irq=12 I can set whatever value for irq and it always rebooted as irq 11. However 'disabled=1' works. That's strange, I didn't find manual where it say it work in some condition or for some device only. Consult individual device drivers' manual pages for available keywords and their possible values. Is there a way to assign uhci to use an irq differently? seems it is the cause of an interrupt storm problem I am having. I'm not really sure if uhci is set up to do that. You definitely want uhci on its own interrupt if you can, not because it necessarily generates a lot of them, but because it can spend a lot of time handling each one... Have you checked what happens if you disable your APIC? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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: Sun sucks
RW wrote: On Thu, 08 Jan 2009 23:16:25 -0500 Steve Bertrand st...@ibctech.ca wrote: RW wrote: Just create a new account for some made-up name, don't specify any company, download your file, and then (if you really care) go through the hoops afterwards. Improper subject, wrong attitude. If one wishes to use a license from another product that is outside of the BSD license scope, then follow it properly. FreeBSD ( personnel) does a magnificent job of keeping outside-licensed code and objects separate from itself, and I'd rather jump through burning hoops of flame to 'add on' to the system to mend it to my needs, as opposed to having the system, and possibly its users, face legal ramifications later... That would be an excellent point if I claimed to speak for the FreeBSD project - I don't, so it isn't. OSS projects aren't liable for the actions and opinions of their end-users. Perhaps we go to far though because I know of no other OS vendor that requires you to sign a seperate license for Java... they just notify you in their legal file that your responible to execute the license before you install... that way there is none of this current crazyness. ___ 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: Restore deleted files
1. Yes, you can recover your deleted files. 2. The best file recovery program is File Restore Professional. It will also recover files that have lost their file header details and hence have no file names. Most other products can't do this. You can also preview your deleted files before you make your purchase. There is also a testimonial on the companies web site about Microsoft employees in Germany using it. Further information, trial downloads, etc., are available here: www.pcrecovery.com On Jan 8, 11:28 pm, Polytropon free...@edvax.de wrote: Hi, I'd like to ask a two-stage question: 1. Is it possible to recover files that have been deleted? 2. Which tools or procedures are suggested for recovery? While sorting out some files and transfering them to another hard disk, I accidentally deleted too much: the directory with my videos taken by a digital camera. They were located in a directory within a subtree, and I deleted the whole subtree without first copying these files. I used the Midnight Commander to do this. As I read from its source code, it seems to use the unlink() call to delete the subtree recursively. Pressing PF8 can really ruin your day... Just after I noticed what I had done I unmounted the file system, powered off the machine and put the disk on the shelf (it's still there), no further write accesses. I would be glad if someone could enlighten me if there is any chance to get the files back, even with the loss of the file names (doesn't matter), and which tools seem to serve best in this difficult task. And if it's impossible, please tell me. I can newfs the disk then and free it, along with my mind. PS. I'm posting this question to -fs, too. Answers from this list please keep me in CC because I'm not subscribed to -fs. Thank you! -- PolytroponFrom Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questi...@freebsd.org mailing listhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ 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: ndis panic HP pavilion ze4400 won't boot
I'm in the process of sync'ing up my system with source . . . but, in the meantime I'm wondering about the choice of Broadcom driver. Is it really a matter of trying different ones? It was for me. It took me 3 tries before I found one that 'worked'. I updated the driver this morning to a new version. Is that not the driver that I'll use for the ndiswrapper? Should an older version, perhaps the one that was originally installed? If I remember correctly, the version I use is 3 versions back from the latest update. I apologize if these questions are rather simple and naiive. Not at all. Broadcom is difficult sometimes. This is one of those times. -- Glen Barber 570.328.0318 ___ 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: DragonFlyBSD mail agent
From: Gonzalo Nemmi gne...@gmail.com On Thursday 08 January 2009 12:08:55 pm Michel Talon wrote: Hello, would it not be interesting to have the DragonFlyBSD mail agent in FreeBSD? It is a very simple mail agent, like ssmtp, but with some more features: it can either deliver mail locally for local users or send all other mail to a smarthost, and reads the aliases file. Hence it fulfills the needs of the person who wants a small mail agent for receiving periodic root mail, and wants to send the occasional without too much fuss. It is much simpler than sendmail, postfix or exim. For simplicity i have a tarball here: http://www.lpthe.jussieu.fr/~talon/dma.tgz it compiles out of the box, and it is easy to figure out how to use it. I second that .. Sendmail has turned into an unnecesary behemont for a local MTA .. dma is a lot smaller, simpler, easier to maintain, a lot less bug prone, way easier to configure and all in all, just what I need if my MTA only job will be delivering local mail ... Sendmail feels like having a HUMMER only to take my kids to school and then get back to my home .. which is only two blocks away ... :s It would be really nice if I could choose whether I want Sendmail, Postfix or dma upon installation time (sysinstall) ... You can all ready choose if your want Postfix or SendMail when installing. IMHO, Postfix is a far superior MTA anyway. -- Gerard ges...@yahoo.com ___ 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: weird samba error
On Fri, Jan 9, 2009 at 8:29 PM, Aggelidis Nikos aggelidis.n...@gmail.com wrote: hi to all the list, i forgot to mention that i use almost the same smb.conf and smbusers in a debian lenny and everything works, that's why i prefered to post this message in questi...@... best regards, nikos ___ 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: Foiling MITM attacks on source and ports trees
On Wed, Jan 07, 2009 at 08:37:37AM +, Matthew Seaman wrote: You're kind of stuck then aren't you -- at least in respect TLS/SSL and x509 certificates? If you don't trust any of the bodies who have the capability to authenticate the owners of a particular cryptographic key/certificate on your behalf, then you're going to have to do that authentication yourself. Which is cool if you happen to know the movers and shakers in the FreeBSD world personally and you can sit down with them and compare key fingerprints. Or even if you can get an introduction to them through a mutual acquaintance. Not exactly. See my comments up the thread a bit about alternative site/cert agreement verification. All the certifying authority *really* does for you is offer out-of-band verification that the cert that has been delivered to you does indeed belong with the IP address that delivered it. It obviously doesn't actually do that worth a damn, though, as the evidence of Verisign's (among others) continued use of MD5 shows. Multiply corroborated independent sources prove a far more trustworthy verifier in the aggregate, in my opinion, than commercial entities operating on an authentication model that amounts to an appeal to authority fallacy. If you think Verisign certification proves anything about the character of the person who bought the cert in the first place, you might want to rethink that -- even if you assume an incompetent Verisign employee hasn't accidentally sabotaged the authentication process this time. Authentication of an entity and the decision whether to trust that entity are two separate things, and should be treated as such. -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Anonymous C Professor: To work on a program with the compiler in debug mode and then to sell it compiling it without the debug option is like learning to swim with floaters and then taking them off to swim across the Atlantic. pgp5SSdmd6gF2.pgp Description: PGP signature
Re: DragonFlyBSD mail agent
On Friday 09 January 2009 5:56:42 pm GESBBB wrote: From: Gonzalo Nemmi gne...@gmail.com On Thursday 08 January 2009 12:08:55 pm Michel Talon wrote: Hello, would it not be interesting to have the DragonFlyBSD mail agent in FreeBSD? It is a very simple mail agent, like ssmtp, but with some more features: it can either deliver mail locally for local users or send all other mail to a smarthost, and reads the aliases file. Hence it fulfills the needs of the person who wants a small mail agent for receiving periodic root mail, and wants to send the occasional without too much fuss. It is much simpler than sendmail, postfix or exim. For simplicity i have a tarball here: http://www.lpthe.jussieu.fr/~talon/dma.tgz it compiles out of the box, and it is easy to figure out how to use it. I second that .. Sendmail has turned into an unnecesary behemont for a local MTA .. dma is a lot smaller, simpler, easier to maintain, a lot less bug prone, way easier to configure and all in all, just what I need if my MTA only job will be delivering local mail ... Sendmail feels like having a HUMMER only to take my kids to school and then get back to my home .. which is only two blocks away ... :s It would be really nice if I could choose whether I want Sendmail, Postfix or dma upon installation time (sysinstall) ... You can all ready choose if your want Postfix or SendMail when installing. IMHO, Postfix is a far superior MTA anyway. Sure thing .. that's what I do .. but, personally, I've found dma to be even better than postfix for this matter (local only/cron sent emails). I've got both books (the bat, and the dove) .. and believe me .. I find it _really_hard_ to find a scenario in which Sendmail has to be the default MTA on a fresh install unless we are talking about imposed polocies (like in corporate polocies maybe or due to the Postfix license) or pre-existent configurations. -- Blessings Gonzalo Nemmi ___ 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: Foiling MITM attacks on source and ports trees
On Tue, Jan 06, 2009 at 09:08:56PM -0800, Walt Pawley wrote: At 12:31 PM -0700 1/6/09, Chad Perrin wrote: On the other hand, I don't trust Verisign, either. What's to trust? If you pay them, you in. Exactly. That's why I -- as the guy sitting in front of the *browser* -- don't trust Verisign to do my authentication and authorization thinking for me. There's at minimum a potential for conflict of interest there, in addition to the likelihood (now realized, in the form of leveraging MD5 to crack Verisign cert authenticity) of bureaucratic incompetence producing disaster entirely by accident. -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth James Madison: If Tyranny and Oppression come to this land, it will be in the guise of fighting a foreign enemy. pgpRVzc9D763z.pgp Description: PGP signature
Mounting /c
Question 1) I have this alias that allows me to mount my windoze drive at /c: alias mdc='mount_ntfs /dev/ad1s1 /c' It works fine. I thought that I could automate the process further by mounting /c at boot-up time, so I added this to fstab: # DeviceMountpoint FStype Options Dump Pass# /dev/ad1s1 /c ntfs rw 1 0 That doesn't work. What is wrong there? Question 2) I know that it is possible to copy files from /c to my freebsd drive, but is it possible to do that in reverse? TIA... Rem ___ 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: Mounting /c
On Fri, Jan 09, 2009 at 01:43:45PM -0800, Rem P Roberti wrote: Question 1) I have this alias that allows me to mount my windoze drive at /c: alias mdc='mount_ntfs /dev/ad1s1 /c' It works fine. I thought that I could automate the process further by mounting /c at boot-up time, so I added this to fstab: # DeviceMountpoint FStype Options Dump Pass# /dev/ad1s1 /c ntfs rw 1 0 That doesn't work. What is wrong there? I think I must be missing something here. This all seems like the hard way to do things, or else you are trying to do something I don't understand. It seems to me like just: mkdir /c: (skip the : if you don't really want it) mount_ntfs /dev/as1s1 /c: Should work. And then, put this in your /etc/fstab: # Device Mountpoint FStype OptionsDumpPass# /dev/ad1s1/c: ntfs ro0 0 to get it to mount when the system comes up. I do this with an msdosfs filesystem type with no problem and once had a machine with ntfs and did it there. (but that is gone so I can't go and check it now) Question 2) I know that it is possible to copy files from /c to my freebsd drive, but is it possible to do that in reverse? In general, you should not expect to be able to write to an ntfs file system type.That is why I converted my MS-Win file system to FAT32. According to the man page, some limited writing can be done, but the list of limitations is long and they are not all immediately straightforward. Seeman mount_ntfs for more information on this. If you really want to try writing to the ntfs file system from FreeBSD, then you would have to change the mount option to 'rw' from 'ro'. jerry TIA... Rem ___ 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-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: Mounting /c
On Fri, Jan 09, 2009 at 01:43:45PM -0800, Rem P Roberti wrote: Question 1) I have this alias that allows me to mount my windoze drive at /c: alias mdc='mount_ntfs /dev/ad1s1 /c' It works fine. I thought that I could automate the process further by mounting /c at boot-up time, so I added this to fstab: # DeviceMountpoint FStype Options Dump Pass# /dev/ad1s1 /c ntfs rw 1 0 When using the built-in mount_ntfs you should really mount read-only. Maybe using the options 'ro' and 'late' will help. Question 2) I know that it is possible to copy files from /c to my freebsd drive, but is it possible to do that in reverse? You should use the sysutils/fusefs-ntfs port if you want to mount ntfs read/write. See /usr/ports/sysutils/fusefs-ntfs/files/README.FreeBSD Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp2844b5DOrP.pgp Description: PGP signature
Re: Mounting /c
Roland Smith wrote: On Fri, Jan 09, 2009 at 01:43:45PM -0800, Rem P Roberti wrote: Question 1) I have this alias that allows me to mount my windoze drive at /c: alias mdc='mount_ntfs /dev/ad1s1 /c' It works fine. I thought that I could automate the process further by mounting /c at boot-up time, so I added this to fstab: # DeviceMountpoint FStype Options Dump Pass# /dev/ad1s1 /c ntfsrw 1 0 When using the built-in mount_ntfs you should really mount read-only. Maybe using the options 'ro' and 'late' will help. I changed the fstab options to 'ro' and /c still won't mount at startup. This is not a big deal since I can get /c mounted via the alias; I'm just trying to understand why it doesn't work. I recall that on an old system of mine I had fstab set up as you indicate and it worked fine. Rem ___ 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: Mounting /c
On Fri, Jan 09, 2009 at 04:05:20PM -0800, Rem P Roberti wrote: Roland Smith wrote: When using the built-in mount_ntfs you should really mount read-only. Maybe using the options 'ro' and 'late' will help. I changed the fstab options to 'ro' and /c still won't mount at startup. This is not a big deal since I can get /c mounted via the alias; I'm just trying to understand why it doesn't work. I recall that on an old system of mine I had fstab set up as you indicate and it worked fine. Check /var/log/messages or dmesg output to see if they contain any clues as to why the mount command fails. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpooD6PFGzE7.pgp Description: PGP signature
Re: FreeBSD Boot Manager
Jerry McAllister wrote: On Thu, Jan 08, 2009 at 09:33:12PM -0500, Grant Peel wrote: Can I use a windows install cd's R option to do the fdisk /mbr ? Maybe.But, MS software is notorious for not recognizing any other OSen nor being able to boot them So, use the FreeBSD fdisk which will plant the FreeBSD MBR. jerry has this issue been resolved? what route did you choose to accomplish your task? -Grant - Original Message - From: Kurt Buff kurt.b...@gmail.com To: Grant Peel gp...@thenetnow.com Cc: freebsd-questions@freebsd.org Sent: Thursday, January 08, 2009 8:23 PM Subject: Re: FreeBSD Boot Manager On Thu, Jan 8, 2009 at 5:17 PM, Grant Peel gp...@thenetnow.com wrote: Hi all, I was bored earlier tonight and I decided to tinker a bit with FreeBSD 6.4 on my Windows XP SP3 box. In that machine, there is one SATA drive. On that drive, there was about 100 GB of free space, so I decided to try putting FreeBSD 6.4 on it. During the install, I opted to use the Free BSD boot manage. The install went flawlessly. The problem is, when I boot up I get: F1 ?? F2 FreeBSD F5 Disk1 F2, is obviously, the new installation of FreeBSD 6.4, which boots perfectly. F5 is a spare SCSI disk connected to an Initio controller. F1 is the probelem. Windose no longer boots. When I select F2, I simply get the cursor on a new line, and nothing happens. Like this: F1 ?? F2 FreeBSD F5 Disk1 _ Any idea what I might need to do to make windows work again? It may be worth mentioning, I had Norton GoBack running on the disk before I installed FreeBSD, although I am not aware if it does anything to the booting system. All suggestions welcome, -Grant www.bootdisk.com Find a bootable floppy image there that includes a DOS fdisk, and write it out to a floppy disk. Boot your machine with that floppy, and at the DOS prompt, type 'fdisk /mbr' - it will write a standard boot sector, and Windows should boot again. Of course, this will not allow you to boot to your new FreeBSD installation, but with other folks' help, you can probably overcome that - probably with GRUB, or another boot manager. Kurt ___ 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-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-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-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/usr/ports/databases/dbf segmentation fault
Hi; Hoping for some help on this application that converts dbf files into csv format. I'm not sure if the problem is with the source dbf file ... my usage / syntax ... and/or something else... BACKGROUND... uname -rs FreeBSD 7.0-RELEASE dbf --version dBase Reader and Converter V. 0.8.3.1, (c) 2002 - 2004 by Bjoern Berg ...intalled as a port from /usr/ports/databases/dbf ...make install clean ...chmod 777 cardfile.dbf # to avoid permissions problems ls -l cardfile* -rwxrwxrwx 1 tom tom 549139 Jan 9 18:32 cardfile.dbf dbf --view-info ~/cardfile.dbf -- File statistics dBase version.: Visual FoxPro (without memo) Date of last update...: 1908-12-15 Number of records.: 625 (0271d) Length of header..: 2888 (0b48d) Record length.: 874 (036ad) Columns in file...: 89 Rows in file..: 625 +---+---+---+--- +---+ | field name| type | field adress | length| field dec.| +---+---+---+--- +---+ | CF_NAME | C |1 | 45 | 0 | | CF_REGNAME | C | 2e | 45 | 0 | |CF_ID | C | 5b | 8 | 0 | | CF_CODE | C | 63 | 8 | 0 | |CF_EDI_ID | C | 6b | 13 | 0 | | CABN | C | 78 | 14 | 0 | | CPARENT_ID | C | 86 | 8 | 0 | |LINACTIVE | L | 8e | 1 | 0 | |LCUSTOMER | L | 8f | 1 | 0 | |LSUPPLIER | L | 90 | 1 | 0 | |LCREDITOR | L | 91 | 1 | 0 | |LEMPLOYEE | L | 92 | 1 | 0 | |LPROSPECT | L | 93 | 1 | 0 | | LSALESPERS | L | 94 | 1 | 0 | | CINVOICEST | C | 95 | 35 | 0 | | CINVOICES2 | C | b8 | 35 | 0 | | CINVOICECI | C | db | 20 | 0 | | CINVOICES3 | C | ef | 3 | 0 | | CINVOICEPO | C | f2 | 6 | 0 | | CINVOICECO | C | f8 | 25 | 0 | | CINVOICEPH | C | 111 | 20 | 0 | | CINVOICEFA | C | 125 | 20 | 0 | | CINVOICEC2 | C | 139 | 25 | 0 | | CEMAIL | C | 152 | 35 | 0 | | CMOBILE | C | 175 | 15 | 0 | | CDEFSHIPLO | C | 184 | 20 | 0 | | CDEFINVFOR | C | 198 | 1 | 0 | | CDEFSELLCU | C | 199 | 3 | 0 | | CDEFBUYCUR | C | 19c | 3 | 0 | | CDEFSALESR | C | 19f | 8 | 0 | | LPARTIALSH | L | 1a7 | 1 | 0 | | CDEFDEPT | C | 1a8 | 3 | 0 | | LWEBACCOUN | L | 1ab | 1 | 0 | |CWEBLOGIN | C | 1ac | 15 | 0 | | CWEBPASSWD | C | 1bb | 15 | 0 | | CGROUPCODE | C | 1ca | 4 | 0 | |CSORTCODE | C | 1ce | 4 | 0 | |LPRICECAT | L | 1d2 | 1 | 0 | |NPRICECAT | I | 1d3 | 4 | 0 | | IPM_ID | I | 1d7 | 4 | 0 | | LPRICEDISC | L | 1db | 1 | 0 | |NDISCOUNT | N | 1dc | 7 | 4 | | LTAXEXEMPT | L | 1e3 | 1 | 0 | | CREASON | C | 1e4 | 25 | 0 | | CF_BALANCE | Y | 1fd | 8 | 4 | | NLIMIT | Y | 205 | 8 | 4 | | NTERMS | N | 20d | 3 | 0 | | NSUPPLIERL | Y | 210 | 8 | 4 | | CSUPPLIERB | C | 218 | 10 | 0 | | CSUPPLIER2 | C | 222 | 11 | 0 | |NDISCDAYS | N | 22d | 2 | 0 | | NDISCPCENT | N | 22f | 7 | 4 | |
Help me select hardware and software options for very large server
[I decided to ask this question here as it overlaps -hardware, -current, and a couple other lists. I'd be glad to redirect the conversation to a list that's a better fit, if anyone would care to suggest one.] I'm in the process of planning the hardware and software for the second generation of my RAIDzilla file servers (see http://www.tmk.com/raidzilla for the current generation, in production for 4+ years). I expect that what I'm planning is probably off the scale in terms of processing and storage capacity, and I'd like to find out and address any issues before spending lots of money. Here's what I'm thinking of: o Chassis - CI Design SR316 (same model as current chassis, except i2c link between RAID controller and front panel o Motherboard - Intel S5000PSLSATAR o CPU - 2x Intel Xeon E5450 BX80574E5450P p Remote management - Intel Remote Management Module 2 - AXXRM2 o Memory - 16GB - 8x Kingston KVR667D2D4F5/2GI o RAID controller - 3Ware 9650SE-16ML w/ BBU-MODULE-04 o Drives - 16x 2TB drives [not mentioning manufacturer yet] o Cables - 4x multi-lane SATA cables o DVD-ROM drive o Auxiliary slot fan next to BBU card o Adaptec AHA-39160 (for Quantum Superloader 3 tape drive) So much for the hardware. On the software front: o FreeBSD 8.x? o amd64 architecture o MBR+UFS2 for operating system partitions (hard partition in controller) o GPT+ZFS for data partitions o Multiple 8TB data partitions (separate 8TB controller partitions or one big partition divided with GPT?) I looked at Large data storage in FreeBSD, but that seems to be a stale page from 2005 or so: http://www.freebsd.org/projects/bigdisk/index.html I'm pretty sure I need ZFS, since even with the 2TB partitions I have now, taking snapshots for dump or doing a fsck take approximately forever 8-) I'll be using the harware RAID 6 on the 3Ware controller, so I'd only be using ZFS to get filesystems larger than 2TB. I've been following the ZFS discussions on -current and -stable, and I think that while it isn't quite ready yet, it probably will be ready in a few months, being available around the same time I get this hardware asssembled. I recall reading that there will be an import of newer ZFS code in the near future. Similarly, the ports collection seems to be moving along nicely with amd64 support. I think this system may have the most storage ever configured on a FreeBSD system, and it is probably up near the top in terms of CPU and memory. Once I have it assembled I'd be glad to let any FreeBSD devel- opers test and stress it if that would help improve FreeBSD on that type of configuration. In the meantime, any suggestions regarding the hardware or software con- figuration would be welcomed. Terry Kennedy http://www.tmk.com te...@tmk.com New York, NY USA ___ 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
native lpd X LPRng
Following LPRng documentation, I removed native lpd (/usr/sbin/lpd) and I come into a great mistake... # lpd another printer spooler is active possibly 731 Is there any way to fix the problem, i.e, get /usr/sbin/lpd without reinstalling the OS? ___ 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 7.0-RELEASE-i386 will changing root shell break anything?
At 2:09 PM -0800 1/4/09, David Christensen wrote: I have changed the root shell to Bash on another machine I use as a CVS server and haven't noticed any issues yet, but I've been wondering if I'm setting myself up for problems by doing so. Does anybody know if it's okay to change the root shell on FreeBSD 7.0-RELEASE-i386? What I do is add the following lines to /root/.login : if ($?prompt) then if ( -x /usr/local/bin/bash ) then # echo Switching to bash setenv SHELL /usr/local/bin/bash exec /usr/local/bin/bash -login endif endif I've been doing this for at least 10 years. I haven't had any problems with it, but Your Mileage Might Vary. -- Garance Alistair Drosehn= g...@gilead.netel.rpi.edu Senior Systems Programmer or g...@freebsd.org Rensselaer Polytechnic Instituteor dro...@rpi.edu ___ 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: how to use the MFS ?
On Fri, 09 Jan 2009 13:30:30 -0500 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: PstreeM China pstr...@gmail.com writes: i think the option WRKDIRPREFIX is a good idea , and i whill test the methon unionfs. Definitely benchmark against just using a native local filesystem, though. Taking away all of that memory that FreeBSD would otherwise use for *caching* file data could well end up making your builds *slower* with the MFS than they would have been without it. I've a vague recollection that I tried something like this, a few years ago, and found that the difference was too small to measure. I think that however you do it, you basically end-up with something that looks like: CPU/L1/L2 - memory - disk and whether the memory-disk part is a cached-file or swap-backed memory is really just a matter of book-keeping - the VM system moves the physical memory around as it likes. The book-keeping differences may be significant, but they are not different in the electronic verses electro-mechanical sense, and such intuitions may not relevant. Poul-Henning Kamp, has an interesting article in this area for the varnish project: I have spent many years working on the FreeBSD kernel, and only rarely did I venture into userland programming, but when I had occation to do so, I invariably found that people programmed like it was still 1975. http://varnish.projects.linpro.no/wiki/ArchitectNotes [Not that there's anything wrong with 1975.] ___ 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: newbie: does irq setting in device.hints work?
Lowell Gilbert wrote: Zhang Weiwu zhangwe...@realss.com writes: That's strange, I didn't find manual where it say it work in some condition or for some device only. Consult individual device drivers' manual pages for available keywords and their possible values. Thanks. I shouldn't have overlooked this. Is there a way to assign uhci to use an irq differently? seems it is the cause of an interrupt storm problem I am having. I'm not really sure if uhci is set up to do that. You definitely want uhci on its own interrupt if you can, not because it necessarily generates a lot of them, but because it can spend a lot of time handling each one... Have you checked what happens if you disable your APIC? You mean ACPI? When the PC boots, I got a menu looks alike this one: http://www.freebsd.org/doc/en/books/handbook/install/boot-loader-menu.png except my 2nd choice was with ACPI enabled instead of ACPI disabled. I chose 2, result was the same (irq at 11) I also tried to move other devices occupying irq 11 away (cbb0 and ed1) by setting so in device.hints and both didn't work. [zhangwe...@quasimodo ~]$ vmstat -i interrupt total rate irq0: clk 92204980 irq1: atkbd0 188 2 irq6: fdc011 0 irq8: rtc 11802125 irq11: cbb0 ed1+ 38 0 irq14: ata0 1699 18 Total 105942 1127 [zhangwe...@quasimodo ~]$ dmesg | grep 'irq 11' uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x9000-0x901f irq 11 at device 6.2 on pci0 ed1: IBM Corp. Ethernet at port 0x100-0x11f iomem 0x8800-0x88003fff irq 11 function 0 config 1 on pccard0 ___ 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: Mounting /c
On Fri, 9 Jan 2009 18:17:49 -0500 Jerry McAllister jerr...@msu.edu wrote: In general, you should not expect to be able to write to an ntfs file system type.That is why I converted my MS-Win file system to FAT32. Not a good idea. According to the man page, some limited writing can be done, but the list of limitations is long and they are not all immediately straightforward. You should be able to write to ntfs if you use the fuse version sysutils/fusefs-ntfs - it just works in my experience. The last time I checked it required some (well-documented) adjustment to make it mount from fstab as FreeBSD uses a hard-coded list of mount_* commands rather than simply converting mount -t foo to mount_foo. I'm not sure if this is fixed in 7.1 - but it's about time it was. ___ 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
Builder for many architectures and releases
Hi to all. A lot of new FreeBSD systems have appeared in my server farm since I started studying to where I could migrate from some MSFT-*sigh*-death technologies, almost two years ago. Today the time and the bandwidth required to update all FreeBSD servers (I use the source-based method) have grown so much that it make me feel guilty to waste the FreeBSD Project's donated resources! :[ Thus, I looked for any documentation about setup a FreeBSD builder machine which will track sources and build binaries for all the hardware platform and OS releases I need to support in my network. I have found some interesting articles (http://www.onlamp.com/pub/a/bsd/2006/04/13/freebsd-build-system.html - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html), but nothing which actually addresses my needs. So I started to script an as-simple-as-possible solution using net/cvsup-mirror from the Ports, csup(1) to check out the sources and net/unfs3 to export src and obj directories for all architectures and release tags. Before spending even more time on this self-made tool, I am asking if anyone knows some docs or scripts which are just working, because I am not a script master and I do not want to reinvent the wheel to do this job! :) TIA Andrew _ Show them the way! Add maps and directions to your party invites. http://www.microsoft.com/windows/windowslive/events.aspx___ 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
laptop battery + i2c bus reprogramming
several of my laptop batteries(L-ION) have an i2c bus to the eeprom inside the case. is it possible to reprogram or reset a battery i have repacked from within freebsd or will i need to do this with the available windows programs? what i'm asking is if freebsd actually supports sending of data over the i2c bus from userland. ___ 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