Re: First time user problems
On Fri, Mar 20, 2009 at 1:00 AM, Alhaji Barrie wrote: > I am a new user of Free BSD. I just completed the install of Free BSD on a > Dell PC but I cannot get past the initial login prompt. I typed the user > name I supplied during the installation process to no avail. In the last > two > days, I have browsed the web and used some of the suggestion provided. I > also consulted the documentation in this web site. > > > > To put it simply, I am missing the syntax for the user name and password. > Can someone help with the step by step process of getting past the original > login screen? > > > > Alhaji I Barrie > > Network Security Analyst > > > > ___ > 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" > fresh FreeBSD install has no root password, it is empty if you have not changed it during install. I guess you already know username for root is 'root' and there is not no specialised syntax for login ___ 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: Portsnap vs CSup
At 7:39 PM +0100 3/19/09, Kalle Møller wrote: Hi I've been digging around, but I can't find a clear answer, which of those two is the "correct" to use. Hence I don't use one now, so if I'm going to learn one, I would prefer it to be the right one. That's a reasonable question to ask. Unfortunately, the answer is "it depends on what you want"... For my use (as more of a developer), I go with csup or cvsup for most of my machines. But on the slower machines that I have, portsnap might be a better choice. -- 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: Xorg - Resolution issues
On Wed, Mar 18, 2009 at 11:02:35AM -0400, Francis Dub wrote: > > Martin Turgeon a écrit : > >Francis Dubé a écrit : > >>Francis Dubé wrote : > >>>Hi everyone, > >>> > >>>I got this TV : > >>>http://www.samsung.com/ca/consumer/detail/spec.do?group=tv&type=tv&subtype=lcd&model_cd=LN40A330J1DXZC&fullspec=F > >>> > >>> > >>> > >>>I'm trying to use it as my screen under FreeBSD 7.1-RELEASE with a > >>>resolution of 1366x768 which is suposed to be suported by the TV, > >>>acording with the TV's specs. I did the same with another very > >>>similar TV and it was working #1 without having to create any > >>>Xorg.conf, a plain startx and the display was perfect (1366x768). > >>> > >>>With my new TV, X only start in 1280x720. So I created a config file > >>>with Xorg -configure, then I tried to force Xorg to use 1366x768 but > >>>it keeps loading in 1280x720. In my Xorg.0.log it looks like there's > >>>no support for the resolution I want : > >>> > >>>[...] > >>>(==) Using config file: "/etc/X11/xorg.conf" > >>>[...] > >>>(II) RADEON(0): Panel infos found from DDC detailed: 1280x720 > >>>[...] > >>>(II) RADEON(0): Supported additional Video Mode: > >>>(II) RADEON(0): clock: 74.2 MHz Image Size: 160 x 90 mm > >>>(II) RADEON(0): h_active: 1280 h_sync: 1390 h_sync_end 1430 > >>>h_blank_end 1650 h_border: 0 > >>>(II) RADEON(0): v_active: 720 v_sync: 725 v_sync_end 730 > >>>v_blanking: 750 v_border: 0 > >>>(II) RADEON(0): Supported additional Video Mode: > >>>(II) RADEON(0): clock: 74.2 MHz Image Size: 160 x 90 mm > >>>(II) RADEON(0): h_active: 1920 h_sync: 2008 h_sync_end 2052 > >>>h_blank_end 2200 h_border: 0 > >>>(II) RADEON(0): v_active: 540 v_sync: 542 v_sync_end 547 > >>>v_blanking: 562 v_border: 0 > >>>(II) RADEON(0): Ranges: V min: 23 V max: 61 Hz, H min: 26 H max: > >>>68 kHz, PixClock max 150 MHz > >>>(II) RADEON(0): Monitor name: SAMSUNG > >>>[...] > >>>(II) RADEON(0): Output DVI-0 using initial mode 1280x720 > >>>[...] > >>> > >>>This is how i configured my resolution in my /etc/X11/xorg.conf : > >>>[...] > >>>Section "Screen" > >>> Identifier "Screen0" > >>> Device "Card0" > >>> Monitor"Monitor0" > >>> DefaultDepth 24 > >>> SubSection "Display" > >>> Viewport 0 0 > >>> Depth 24 > >>> Modes "1366x768" > >>> EndSubSection > >>>EndSection > >>>[...] > >>> > >>>My video card is a Radeon HD 3450 and my Xorg version is xorg-7.3_2 > >>> > >>>Also, the only other resolution "supported" by the TV according to > >>>the log file would be 1920x540...but it's not supported by the TV ! > >>> > >>>Am I missing something ? > >>> > >>>Thanks for reading. > >>> > >>>Francis > >>>___ > >>>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" > >>I had this problem last month, I tought it was fixed using this > >>little trick suggested by Polytropon : > >> > >>Polytropon wrote : > >>>If it doesn't work, there's always an option to use xrandr via > >>>~/.xinitrc: > >>> > >>>xrandr --size 1366x768 & > >>>xrandr --fb 1366x768 & > >>> > >>>I have a similar issue with the "ati" driver, using an ATI Radeon 9200 > >>>(RV250) which I need to force to 1400x1050 (worked with old XFree86 > >>>and the setting in the config file, as you mentioned it). The > >>>autodetection of the screen (21" CRT) leads to stupid values that > >>>are completely unusable. > >>The screen is located far from my office so I can't be in front of it > >>to test, that's why I haven't spotted it wasn't working. I tought it > >>was because when i take a screenshot with 'scrot' i get a full > >>screenshot in 1366x768 and everything is clean, but the TV itself > >>shows a 1280x720 display. I should've watched the Xorg's log instead > >>of simply assuming it was working with a screenshot, but anyway now > >>my problem is the same : The PC is configured in 1366x768, but the TV > >>don't care and shows a 1280x720. > >> > >>Anyone got a similar issue and a way to fix it ? > >> > >>Thanks, > >> > >>Francis Dubé > > > >Hi! > > > >I have the same problem with the same model of TV (Samsung A330). Did > >you solved your problem? > > > >Thanks, > > > >Martin > > > No I haven't solved my problem yet. Still trying to figure out why my TV > display is in 1280x720. When I take a screenshot with 'scrot' i get a > file like this : 2009-03-18-104527_1360x768_scrot.png. But in the > Xorg.0.log it clearly shows the resolution of the TV itself : > > term004# cat /var/log/Xorg.0.log | grep 1360 > term004# cat /var/log/Xorg.0.log | grep 1280 > (II) RADEON(0): Panel infos found from DDC detailed: 1280x720 > (II) RADEON(0): h_active: 1280 h_sync: 1390 h_sync_end 1430 > h_blank_end 1650 h_border: 0 > (II) RADEON(0): h_active: 1280 h_sync: 1390 h_sync_end 1430 >
Re: checknewver.sh
On Wed, Mar 18, 2009 at 01:59:13PM +0200, Peter Portin wrote: > > Tiss error is appears on two different computers running 6.4and 7.1. > > What is wrong? > > [r...@fritjof /usr/ports/Tools/scripts]# ./checknewver.sh > ERROR: Couldn't find Makefile here. > [r...@fritjof /usr/ports/Tools/scripts]# > > Peter By the looks of the script you need to run it from a ports dir. E.g: $ cd /usr/ports/www/firefox $ /usr/ports/Tools/scripts/checknewver.sh You also need to install ftp/ftpcopy 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: Portsnap vs CSup
On Thu, 19 Mar 2009 14:06:31 -0500 Paul Procacci wrote: > Freedom of choice. That choice is up to you. Whichever you you feel > most comfortable with...that's the one you should use. Personally, I > use both. Just don't swap back and forth on the same ports tree. If you switch from csup to portsnap, you should do a "portsnap extract", going from portsnap to csup you should ideally delete the tree. ___ 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: Formatting a tape?
On Thu, 19 Mar 2009, Jaime wrote: On Thu, Mar 19, 2009 at 7:37 PM, Warren Block wrote: And the device acts flaky. That screams "SCSI termination problem" to me. That would also be consistent with most/all of the tapes failing, because it's not the tapes. I've checked the termination more times than I can remember. (No exaggeration. Problem had been on-going for months.) Its OK. I have one bent pin on one of the two "ports" on the SCSI cable, but it (1) isn't the one being used and (2) doesn't touch any other pins. Its just an unusable "port" on the cable, not a source of ... "cross contamination," I guess you could say. Two terminators, one at each end of the bus? Another possibility is that the terminators are fine, but nothing is providing termpower (blown fuse or jumper). And there are different SCSI bus widths. The more devices you have, the more interesting it gets. So I am pretty sure that we're OK on the SCSI chain. I *am* starting to wonder about the tape drive itself, though. Could be the drive, or could be cables. If you have other devices on the bus and they work fine on large, fast transfers, then suspect the tape drive. If you can get that one tape to work repeatedly but none of the other tapes will, maybe a bad batch of tapes. -Warren Block * Rapid City, South Dakota 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"
Re: recover data from damaged msdos fat32 partition
On Fri, 20 Mar 2009 10:05:57 +0800, Fbsd1 wrote: > I have installed these ports > > autopsy > dd_rescue > ddrescue > fatback > formost > sleuthkit > > If my understanding of reading their documentation is correct, they all > need a empty disk to copy the bad disk sectors to in sequence. > Is this a correct understanding? It is. These tools work in a non-destructive way, this means their (eventually failing) attempts to recover data do not do any damage to the original (defective) disk. The defective disk isn't repaired, that would be too dangerous to try. I would even mention to first make a 1:1 dd copy of the defective FAT partition and using those tools with the copy, not with the original. > msdos fat32 file system has a backup fat table as stated in the docs. Do > any of the sectors rescue programs read the backup fat table? dd_rescue - No, does simply copy the partition 1:1. ddrescue - The same. sleuthkit - Usually work on a lower level. formost - Works on a lower level and extracts data files by magic. autopsy - Offers a "server" for forensic browsing. fatback - Kind of "undelete tool", no. The TSK's tools dls, fls and ils don't seem to offer the option in question. I read about using alternate superblocks, but that refers to the UFS file system and not the 2nd FAT. Maybe it's possible to exactly locate and extract this backup FAT first and then replace the defective FAT with this copy, using tools like dd? > Not interested in the XP system or programs directors. Just want user > data files created by adobe pagemaker. Dont know what the file extension > is for sure or if there are any way to ID the file from internal > content. Best guess I have on file extension is .cv5 Do not have a file > to examen. The recovery utilities that act by magic aren't interested in the file name extension. From the manuals of the programs listed above that mention such a functionality, there's no word about "Adobe Pagemaker". Would it have been generic files (such as JPG files for images, TeX / text files for text), or some kind of ODF archive, it would be much easier. > What are the general steps I need to do to recover data from this msdos > FAT32 disk with corrupted fat table and maybe corrupted data? First, copy the partition: % ddrescue /dev/ad0s2 fat.dd I'm not sure how the msdosfs formatted disk / the FAT partition will show up as device file in FreeBSD. In the result, you can unplug the disk / remove it and only work with the copy. Then, you can start extracting data from it, for example with % mkdir retrieve % foremost -i fat.dd -v -o retrieve -t all The manpage of foremost has some examples, too. The manpage of fatback isn't great, "info fatback" has more details. For TSK, use something like this: % dls -t raw -f fat -v fat.dd I've got no FAT partitions (defective or intact) at hand so I cannot check if this really works as I think it should. :-) -- 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: Formatting a tape?
On Thu, Mar 19, 2009 at 7:37 PM, Warren Block wrote: > And the device acts flaky. That screams "SCSI termination problem" to me. > That would also be consistent with most/all of the tapes failing, because > it's not the tapes. I've checked the termination more times than I can remember. (No exaggeration. Problem had been on-going for months.) Its OK. I have one bent pin on one of the two "ports" on the SCSI cable, but it (1) isn't the one being used and (2) doesn't touch any other pins. Its just an unusable "port" on the cable, not a source of ... "cross contamination," I guess you could say. So I am pretty sure that we're OK on the SCSI chain. I *am* starting to wonder about the tape drive itself, though. What do you think? Thanks again, Jaime ___ 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: recover data from damaged msdos fat32 partition
Polytropon wrote: On Sat, 20 Dec 2008 16:16:38 +0800, Fbsd1 wrote: I know i can mount fat32 partition using mount_msdos command. But my msdos fat32 partition is a bad disk with corrupted fat table. Question is can i use freebsd to recover data from this msdos fAT32 disk Oh yes, you can! As a side product of my attempt to restore data from an UFS partition with orphaned inodes, I found some good utilities that might be helpful fo you. What tools do you suggest to use? Check 'em out! System: dd fsck_ffs clri fsdb fetch -rR recoverdisk Ports: ddrescue dd_rescue ffs2recov magicrescue testdisk The Sleuth Kit: fls dls ils autopsy scan_ffs recoverjpeg fatback Especially magicrescue can do wonders. If everything fails, The Sleuth Kit is a good tool. Don't forget to try mtools. I have installed these ports autopsy dd_rescue ddrescue fatback formost sleuthkit If my understanding of reading their documentation is correct, they all need a empty disk to copy the bad disk sectors to in sequence. Is this a correct understanding? msdos fat32 file system has a backup fat table as stated in the docs. Do any of the sectors rescue programs read the backup fat table? Not interested in the XP system or programs directors. Just want user data files created by adobe pagemaker. Dont know what the file extension is for sure or if there are any way to ID the file from internal content. Best guess I have on file extension is .cv5 Do not have a file to examen. What are the general steps I need to do to recover data from this msdos FAT32 disk with corrupted fat table and maybe corrupted data? ___ 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: Text mode dialog library like TSO
On Fri, 20 Mar 2009 00:58:54 +0100, Erik Trulsson wrote: > Another alternative might be the form(3) library which also is built on top > of ncurses. It seems to be a bit more cumbersome to use than dialog(3) but > is probably somewhat closer to what you were looking for. > > If you look around a bit on the web you can probably find several tutorials > and references for both curses as well as the form, menu. and panel > libraries that are usually included with most curses implementations > (including ncurses.) See for example > http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/ Wow, I'm impressed: forms at least gives a good toolkit for what I need, and CDK (curses development kit) is even in the ports. It's examples are very interesting, it seems to be what I need. The world is safe, I won't reinvent the wheel. :-) -- 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"
Hauppauge WinTV USB2 TV tuner on FreeBSD
Dear list, is there anyone in the possession of the `WinTV USB2' USB device having either experimented or succeeded in using it on any recent version FreeBSD? Hardware support appears to be rather bleak, even as far as their official and supported(?) Windows driver goes (apart from the obvious, ie. no `PVR', etc.) I haven't yet started an attempt to plug it into my FreeBSD 7.1-RELEASE box, hoping that someone else might've had the displeasure of acquiring this stranger of sorts (should've read the hardware specifications and whatnot, ...) -- Happiness is the greatest good. ___ 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: Text mode dialog library like TSO
On Fri, Mar 20, 2009 at 12:36:31AM +0100, Polytropon wrote: > On Thu, 19 Mar 2009 16:22:01 -0700, Chuck Swiger wrote: > > Consider looking at dialog(3), which rides on top of ncurses. > > There's also a CLI utility by the same name handy for shell-scripting > > purposes. > > Allthough dialog does come with the basic means I did describe, > it looks a bit... bulky? I don't want to sound impolite, but > consider the width of > > ++ > Name: || > ++ > > to > > Name: > > which would be more... elegant. But "man dialog" is very interesting. > It even offers functionalities (lists, yes/no buttons etc.) that > I haven't thought of. > > Thank you, I'll take this into mind. Another alternative might be the form(3) library which also is built on top of ncurses. It seems to be a bit more cumbersome to use than dialog(3) but is probably somewhat closer to what you were looking for. If you look around a bit on the web you can probably find several tutorials and references for both curses as well as the form, menu. and panel libraries that are usually included with most curses implementations (including ncurses.) See for example http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/ -- Erik Trulsson ertr1...@student.uu.se ___ 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: Text mode dialog library like TSO
Polytropon wrote: Dear list, I'm searching for something really strange, maybe some reader will be able to tell me what I'm searching for. :-) For a special application, I need a programmable dialog library that has... well, how to describe it... anyone know SIOS? Or at least TSO? A bit like this. A kind of form-driven screen layout. A silly example: E n t e r s o m e d a t a --- Name: Address: Foo: Pups: ___Furz: ___ Bar: /__/__ Logon: F1F2F3F9 F10 Help Done Reset Print Cancel --- 250/813 Where I used underscores, an input line should occur. Positions and length as well as colour of text and input should be specified, customization of function keys would be great, skipping from input field to input field, too. Default values would eventually appear in the input lines. The whole library should be accessible via C, or at least for a shell script. You know, a bit like Tcl/Tk, but in text mode. Any suggestions? Ideas? If not, I will need to write this myself, but I considered asking the list for being able to avoid reinventing the wheel. I know it's not such a big deal, but if it alredy exists...? ok, i'm a bit drunk but from what i gather is that you want a purely text mode form program? ala, ncurses, or just text mode, as in the old monochrome days? if so, i might be able to supply you with such. ___ 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"
KDE4 port hangs, archives - handbook no help.
Morning All: I've searched the archives and googled and generally applied what I found to no good effect. While installing the kde4 port, I got to libspectre. The libspectre port insists that I must have libgs to compile it. After a little research, I found that this is a ghostscript library. So I installed the ghostscript- 8.63 port. now, libspectre insists that I have to have libgs version >= 8.61. I checked /usr/local/lib and found the following: ls -l libgs.* libgs.so -> libgs.so.8.63 libgs.so8 -> libgs.so.8.63 libgs.so.8.63 So I'm guessing there's a problem in the configure script, but if there is, I can't find it. Then again, maybe I'm just missing something simple. Any ideas, anyone? IHN, Gene -- To everything there is a season, And a time to every purpose under heaven. ___ 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: Portsnap vs CSup
On Thu, 19 Mar 2009 18:50:48 -0400 (EDT), Chris Hill wrote > On Thu, 19 Mar 2009, Charles Howse wrote: > > > On Mar 19, 2009, at 2:13 PM, Adam Vandemore wrote: > > > > I just noticed the description in the man page for freebsd-update: > > > > ..."Note that updates are only available if they are being built for > > the FreeBSD release and architecture being used; in particular, the > > FreeBSD Security Team only builds updates for releases shipped in > > binary form by the FreeBSD Release Engineering Team, e.g., FreeBSD > > 6.1-RELEASE and FreeBSD 6.2-RC1, but not FreeBSD 6.2-STABLE or FreeBSD > > 7.0-CURRENT." > > Is this saying that I can't get a binary upgrade for 6.4-STABLE? > > That is exactly what it's saying. > > > (You would not believe how long the make world process takes on a Pentium > > 200!!) > > I believe it; been there! I seem to recall it went something like > 'start the buildworld and go to bed'. > > -- > Chris Hill ch...@monochrome.org > ** [ Busy Expunging <|> ] > ___ Rhink that's bad? I've been trying to build KDE4 on a toshiba satellite laptop for over a week now. IHN, Gene -- To everything there is a season, And a time to every purpose under heaven. ___ 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: Portsnap vs CSup
On Thu, 19 Mar 2009 19:39:37 +0100, Kalle Møller wrote > Hi > > I've been digging around, but I can't find a clear answer, which of those > two is the "correct" to use. Hence I don't use one now, so if I'm > going to learn one, I would prefer it to be the right one. > > -- > /km > ___ > 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" `As a veteran of both csup and portsnap, I can say that either does the job admirably. The main difference I've found is that portsnap seems to be faster. Go with your own preferences. IHN, Gene -- To everything there is a season, And a time to every purpose under heaven. ___ 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: Formatting a tape?
On Thu, 19 Mar 2009, Jaime wrote: On Thu, Mar 19, 2009 at 1:39 PM, Andrew Hamilton-Wright wrote: What happens if you use dd to try and write to the tape? The command dd if=/dev/zero of=/dev/sa0 count=8 should print out: 8+0 records in 8+0 records out I tried this and the output was: 8+0 records in 8+0 records out 4096 bytes transferred in 0.036611 secs (111879 bytes/sec) Small write works okay... So then I tried my backup script (which is basically a tar command) and got this on the console: (sa0:ahc0:0:6:0): Unexpected busfree in Data-out phase SEQADDR == 0x86 (sa0:ahc0:0:6:0): lost device (sa0:ahc0:0:6:0): failed to write terminating filemark(s) (sa0:ahc0:0:6:0): tape is now frozen- use an OFFLINE, REWIND, or MTEOM command to clear this state. (sa0:ahc0:0:6:0): removing device entry Bigger write fails... On the ssh terminal / standard output, I got this: tar: Write error: Input/output error Now "camcontrol devlist" doesn't show the tape drive, even though it did before. And the device acts flaky. That screams "SCSI termination problem" to me. That would also be consistent with most/all of the tapes failing, because it's not the tapes. ... I'm going to tinker some more and see if I can get this drive working again. I'll also try another tape. (Its worth noting that I DID manage to get a tape working thanks to mt -f /dev/sa0 fsf 1 && mt -f /dev/sa0 rewind.) More info later. Try that one working tape again. Betcha it "fails". -Warren Block * Rapid City, South Dakota 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"
Re: Text mode dialog library like TSO
On Thu, 19 Mar 2009 16:22:01 -0700, Chuck Swiger wrote: > Consider looking at dialog(3), which rides on top of ncurses. > There's also a CLI utility by the same name handy for shell-scripting > purposes. Allthough dialog does come with the basic means I did describe, it looks a bit... bulky? I don't want to sound impolite, but consider the width of ++ Name: || ++ to Name: which would be more... elegant. But "man dialog" is very interesting. It even offers functionalities (lists, yes/no buttons etc.) that I haven't thought of. Thank you, I'll take this into mind. -- 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: Text mode dialog library like TSO
On Thu, 19 Mar 2009 19:23:58 -0400, michael wrote: > ok, i'm a bit drunk but from what i gather is that you want a purely > text mode form program? Yes. For X, I would have used Tcl/Tk for this quite simple purpose, or would have used Gtk with C. > ala, ncurses, or just text mode, as in the old > monochrome days? if so, i might be able to supply you with such. No no, ncurses is okay. In case I need to create this kind of dialog library myself, I would use ncurses because it seems to be the best "sub library" to create this kind of dialog means. You did already create such kind of functionality? Seems that I'm not the only insane programmer on earth. :-) -- 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: Linux Compatability
On 3/18/09, rasz wrote: > hi > i have 2 distinct questions, and first is, i installed a linux app > (binaries) and it failed > when run complaining that it needs a "CPU with SSE instuctions enabled". > does anyone know what this is and related too? For example, mplayer check for SSSE3 but it will fail even if your CPU supports it because gcc that ships with freebsd (4.2.1) doesnt know about SSSE3. I dont know what's happening in your SSE case. -- Paul ___ 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: Text mode dialog library like TSO
On Mar 19, 2009, at 4:13 PM, Polytropon wrote: I'm searching for something really strange, maybe some reader will be able to tell me what I'm searching for. :-) For a special application, I need a programmable dialog library that has... well, how to describe it... anyone know SIOS? Or at least TSO? A bit like this. A kind of form-driven screen layout. [ ... ] The whole library should be accessible via C, or at least for a shell script. You know, a bit like Tcl/Tk, but in text mode. Consider looking at dialog(3), which rides on top of ncurses. There's also a CLI utility by the same name handy for shell-scripting purposes. Regards, -- -Chuck ___ 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"
Text mode dialog library like TSO
Dear list, I'm searching for something really strange, maybe some reader will be able to tell me what I'm searching for. :-) For a special application, I need a programmable dialog library that has... well, how to describe it... anyone know SIOS? Or at least TSO? A bit like this. A kind of form-driven screen layout. A silly example: E n t e r s o m e d a t a --- Name: Address: Foo: Pups: ___Furz: ___ Bar: /__/__ Logon: F1F2F3F9 F10 Help Done Reset Print Cancel --- 250/813 Where I used underscores, an input line should occur. Positions and length as well as colour of text and input should be specified, customization of function keys would be great, skipping from input field to input field, too. Default values would eventually appear in the input lines. The whole library should be accessible via C, or at least for a shell script. You know, a bit like Tcl/Tk, but in text mode. Any suggestions? Ideas? If not, I will need to write this myself, but I considered asking the list for being able to avoid reinventing the wheel. I know it's not such a big deal, but if it alredy exists...? -- 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: Portsnap vs CSup
Charles Howse wrote: On Mar 19, 2009, at 2:13 PM, Adam Vandemore wrote: freebsd-update is another matter though. Base system security updates are distributed via that channel(binary updates) so it's a good idea to run that regularly. I just noticed the description in the man page for freebsd-update: ..."Note that updates are only available if they are being built for the FreeBSD release and architecture being used; in particular, the FreeBSD Security Team only builds updates for releases shipped in binary form by the FreeBSD Release Engineering Team, e.g., FreeBSD 6.1-RELEASE and FreeBSD 6.2-RC1, but not FreeBSD 6.2-STABLE or FreeBSD 7.0-CURRENT." Is this saying that I can't get a binary upgrade for 6.4-STABLE? (You would not believe how long the make world process takes on a Pentium 200!!) Not that it's going to help a tremendous amount but a make -j 2 buildworld may help a bit. There's also some tips on the handbook page for speeding up the process. It would still be a long wait even if you used every optimization technique available. IIRC 2 jobs per core is the optimum level, and building system sources is the only place I've had any with multiple jobs. Multiple jobs w/ gmake under FBSD is basically worthless in my experience and even with BSD make's -B flag results not good. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Portsnap vs CSup
On Thu, 19 Mar 2009, Charles Howse wrote: On Mar 19, 2009, at 2:13 PM, Adam Vandemore wrote: I just noticed the description in the man page for freebsd-update: ..."Note that updates are only available if they are being built for the FreeBSD release and architecture being used; in particular, the FreeBSD Security Team only builds updates for releases shipped in binary form by the FreeBSD Release Engineering Team, e.g., FreeBSD 6.1-RELEASE and FreeBSD 6.2-RC1, but not FreeBSD 6.2-STABLE or FreeBSD 7.0-CURRENT." Is this saying that I can't get a binary upgrade for 6.4-STABLE? That is exactly what it's saying. (You would not believe how long the make world process takes on a Pentium 200!!) I believe it; been there! I seem to recall it went something like 'start the buildworld and go to bed'. -- Chris Hill ch...@monochrome.org ** [ Busy Expunging <|> ] ___ 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: Portsnap vs CSup
On Mar 19, 2009, at 2:13 PM, Adam Vandemore wrote: freebsd-update is another matter though. Base system security updates are distributed via that channel(binary updates) so it's a good idea to run that regularly. I just noticed the description in the man page for freebsd-update: ..."Note that updates are only available if they are being built for the FreeBSD release and architecture being used; in particular, the FreeBSD Security Team only builds updates for releases shipped in binary form by the FreeBSD Release Engineering Team, e.g., FreeBSD 6.1- RELEASE and FreeBSD 6.2-RC1, but not FreeBSD 6.2-STABLE or FreeBSD 7.0- CURRENT." Is this saying that I can't get a binary upgrade for 6.4-STABLE? (You would not believe how long the make world process takes on a Pentium 200!!) ___ 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: portupdate xorg-server
On Thu, Mar 19, 2009 at 03:21:05PM -0500, Neal Hogan wrote: > > The last couple of days I've been running portupgrade -av and am to the > point where I'd like to move onto something else, but there is one package > that won't upgrade . . . xorg-server. As you can see below, it claims that > there is a missing header and there are a fair amount of reported errors. > I'm not the best at deciphering the stuff below. > > I've tried make deinstalling/reinstalling and individually portupgrading it > to no avail. > > suggestions? > > glxdriswrast.c:39:39: error: GL/internal/dri_interface.h: No such file or > directory $ pkg_info -W /usr/local/include/GL/internal/dri_interface.h /usr/local/include/GL/internal/dri_interface.h was installed by package xf86driproto-2.0.3 HTH. 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: portupdate xorg-server
Neal Hogan wrote: Stop in /usr/ports/x11-servers/xorg-server/work/xorg-server-1.5.3/glx. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-server/work/xorg-server-1.5.3. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-server. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-server. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090319-55106-13es25h-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=xorg-server-1.4.2,1 UPGRADE_PORT_VER=1.4.2,1 make ** Fix the problem and try again. ---> Build of x11-servers/xorg-server ended at: Thu, 19 Mar 2009 15:10:40 -0500 (consumed 00:11:17) ---> Upgrade of x11-servers/xorg-server ended at: Thu, 19 Mar 2009 15:10:40 -0500 (consumed 00:11:17) ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! x11-servers/xorg-server (xorg-server-1.4.2,1)(missing header) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Session ended at: Thu, 19 Mar 2009 15:10:40 -0500 (consumed 00:11:21) Sometimes doing a cd /usr/ports/x11-servers/xorg-server make clean deinstall reintall or a make distclean to redownload tar -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: First time user problems
On Thu, Mar 19, 2009 at 03:30:33PM -0400, Alhaji Barrie wrote: > I am a new user of Free BSD. I just completed the install of Free BSD on a > Dell PC but I cannot get past the initial login prompt. I typed the user > name I supplied during the installation process to no avail. In the last two > days, I have browsed the web and used some of the suggestion provided. I > also consulted the documentation in this web site. > > > To put it simply, I am missing the syntax for the user name and password. > Can someone help with the step by step process of getting past the original > login screen? Probably you will have to redo those items. The best way is to boot in to single user, remount root (/) and use vipw(8) to edit the passwd file. Do the boot to single user - just select that item from the boot menu. Then do: fsck -p mount -u / swapon -a vipw The fsck might take some time so wait for it. vipw works just like vi, except that it only works on the passwd file and it knows how to update the master.passwd file and the password database automatically. If the account id that you want to use is already there and looks good, don't edit it. Just get out and then set the password again. Do: passwd id_name where id_name is that id you want to change. jerry > > > Alhaji I Barrie > > Network Security Analyst > > ___ > 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"
First time user problems
I am a new user of Free BSD. I just completed the install of Free BSD on a Dell PC but I cannot get past the initial login prompt. I typed the user name I supplied during the installation process to no avail. In the last two days, I have browsed the web and used some of the suggestion provided. I also consulted the documentation in this web site. To put it simply, I am missing the syntax for the user name and password. Can someone help with the step by step process of getting past the original login screen? Alhaji I Barrie Network Security Analyst ___ 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: Formatting a tape?
Try this : mt -f /dev/nsa0 rewind mt -f /dev/nsa0 weof 1 mt -f /dev/nsa0 rewind On Thu, 2009-03-19 at 12:15 -0400, Jaime wrote: > I have a DLT tape drive in a FreeBSD system. With one of the tapes, I > can get "tar -cvpf /dev/sa0 -C / ." to work. With all the other > tapes, I can't. > > Is there some kind of formatting process that I need to do? I tried > "mt fsf 1" from this page: > > http://www.freebsd.org/doc/en/books/handbook/backups-tapebackups.html > > This didn't seem to work, though. > > Any help is appreciated, > Jaime > -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ 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"
portupdate xorg-server
The last couple of days I've been running portupgrade -av and am to the point where I'd like to move onto something else, but there is one package that won't upgrade . . . xorg-server. As you can see below, it claims that there is a missing header and there are a fair amount of reported errors. I'm not the best at deciphering the stuff below. I've tried make deinstalling/reinstalling and individually portupgrading it to no avail. suggestions? glxdriswrast.c:39:39: error: GL/internal/dri_interface.h: No such file or directory In file included from glxdriswrast.c:49: glxdricommon.h:32: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token glxdricommon.h:36: warning: type defaults to 'int' in declaration of '__DRIcoreExtension' glxdricommon.h:36: error: expected ';', ',' or ')' before '*' token glxdricommon.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'systemTimeExtension' glxdriswrast.c:64: error: expected specifier-qualifier-list before '__DRIscreen' glxdriswrast.c:75: error: expected specifier-qualifier-list before '__DRIcontext' glxdriswrast.c:80: error: expected specifier-qualifier-list before '__DRIdrawable' glxdriswrast.c: In function '__glXDRIdrawableDestroy': glxdriswrast.c:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:92: error: 'core' undeclared (first use in this function) glxdriswrast.c:92: error: (Each undeclared identifier is reported only once glxdriswrast.c:92: error: for each function it appears in.) glxdriswrast.c:92: error: '__GLXDRIdrawable' has no member named 'screen' glxdriswrast.c:94: error: '__GLXDRIdrawable' has no member named 'driDrawable' glxdriswrast.c:96: error: '__GLXDRIdrawable' has no member named 'gc' glxdriswrast.c:97: error: '__GLXDRIdrawable' has no member named 'cleargc' glxdriswrast.c:98: error: '__GLXDRIdrawable' has no member named 'swapgc' glxdriswrast.c: In function '__glXDRIdrawableSwapBuffers': glxdriswrast.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:116: error: 'core' undeclared (first use in this function) glxdriswrast.c:116: error: '__GLXDRIdrawable' has no member named 'screen' glxdriswrast.c:118: error: '__GLXDRIdrawable' has no member named 'driDrawable' glxdriswrast.c: In function '__glXDRIdrawableCopySubBuffer': glxdriswrast.c:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:128: error: 'copySubBuffer' undeclared (first use in this function) glxdriswrast.c:129: error: '__GLXDRIdrawable' has no member named 'screen' glxdriswrast.c:132: error: '__GLXDRIdrawable' has no member named 'driDrawable' glxdriswrast.c: In function '__glXDRIcontextDestroy': glxdriswrast.c:141: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:141: error: '__GLXDRIcontext' has no member named 'driContext' glxdriswrast.c: In function '__glXDRIcontextMakeCurrent': glxdriswrast.c:154: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:154: error: '__GLXDRIcontext' has no member named 'driContext' glxdriswrast.c:155: error: '__GLXDRIdrawable' has no member named 'driDrawable' glxdriswrast.c:156: error: '__GLXDRIdrawable' has no member named 'driDrawable' glxdriswrast.c: In function '__glXDRIcontextLoseCurrent': glxdriswrast.c:165: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:165: error: '__GLXDRIcontext' has no member named 'driContext' glxdriswrast.c: In function '__glXDRIcontextCopy': glxdriswrast.c:176: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:176: error: '__GLXDRIcontext' has no member named 'driContext' glxdriswrast.c:177: error: '__GLXDRIcontext' has no member named 'driContext' glxdriswrast.c: In function '__glXDRIcontextForceCurrent': glxdriswrast.c:188: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:188: error: '__GLXDRIcontext' has no member named 'driContext' glxdriswrast.c:189: error: '__GLXDRIdrawable' has no member named 'driDrawable' glxdriswrast.c:190: error: '__GLXDRIdrawable' has no member named 'driDrawable' glxdriswrast.c: In function '__glXDRIscreenDestroy': glxdriswrast.c:253: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:253: error: '__GLXDRIscreen' has no member named 'driScreen' glxdriswrast.c:255: error: '__GLXDRIscreen' has no member named 'driver' glxdriswrast.c: In function '__glXDRIscreenCreateContext': glxdriswrast.c:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:270: error: 'core' undeclared (first use in this function) glxdriswrast.c:270: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:271: error: '__DRIcontext' undeclared (first use in this function) glxdriswrast.c:271: error: 'driShare' undeclared (first use in this function) glxdriswrast.c:275: error: '__GLXDRIcontext' has no member named 'driContext' glxdriswrast.c:291: error: '__GLXDRIcontext' has no member named 'driContext' glxdriswrast.c:2
Re: Formatting a tape?
mt rewind should suffice. AFAIK DLT tapes doesn't need to be formatted On Thu, 19 Mar 2009, Jaime wrote: I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get "tar -cvpf /dev/sa0 -C / ." to work. With all the other tapes, I can't. Is there some kind of formatting process that I need to do? I tried "mt fsf 1" from this page: http://www.freebsd.org/doc/en/books/handbook/backups-tapebackups.html This didn't seem to work, though. Any help is appreciated, Jaime -- "To affect the quality of the day, that is the highest of arts." -- Henry David Thoreau Tone of voice in email is misunderstood 50% of the time. Source: http://www.howtoweb.com/cgi-bin/insider.pl?zone=214061 ___ 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: umass performance [SOLVED]
Wojciech Puchar ha scritto: bs=64k (or more) Thanks, this was a terrific improvement! bye av. ___ 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: Fujitsu Siemens Promergy RX100S4 [SOLVED]
Joerg Pulz ha scritto: If i remeber correctly, you have to enable the RAID option in the BIOS to configure the two disk as array, afterwards you must enter the BIOS again and switch to AHCI. As the ataraid driver detects the array by reading the metadata on the disks it should detect the array. I'm not 100 percent sure but i think this is the way i did it. pciconf -lv show the following for the atapci device (again there is AHCI mentioned in the output): - atap...@pci0:0:31:1:class=0x01018a card=0x10a51734 chip=0x27df8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) Ultra ATA Storage Controller' class = mass storage subclass = ATA atap...@pci0:0:31:2:class=0x010601 card=0x10a51734 chip=0x27c18086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB I/O Controller Hub SATA cc=AHCI' class = mass storage - Same output here, but changing the BIOS settings did not help. The only way I found to get it working was to build the mirror through atacontrol. bye & Thanks av. ___ 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"
Instalation DVD on Lenovo R500 hangs right after start menu
As you can read in the subject I'm not succesful in booting on the installation DVD. Default choice hangs, selecting 2 for disableing acpi does not help I've tried with a lot of BIOS features disabled. Unfortunately there's no change, the machine stops at the same place every time. After the menu it starts loading /boot/kernel/acpi.ko then it hangs. Must cycle power to start again. Have tried all the choices in the menu, same result. Have tried with FreeBSD 7.0 i386 and amd64, 7.1 i386, desktopBSD 1.6, same behaviour. If you have any suggestions I'll be glad to try them out :-) Thanks /Leslie ___ 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: Portsnap vs CSup
Kalle Møller wrote: Hi I've been digging around, but I can't find a clear answer, which of those two is the "correct" to use. Hence I don't use one now, so if I'm going to learn one, I would prefer it to be the right one. There is not necessarily a correct answer, either is "correct". However it is generally much more efficient and easier to run portsnap. However portsnap wouldn't help if you're trying to upgrade(or downgrade) your current version of FBSD. Some will setup cron jobs to update ports tree daily, other do it on an as needed basis. Personally, my home desktop I generally update ports a least once a week, while some servers will rarely if ever see an updated ports tree. In general, it's nice to be considerate of bandwidth, so if you don't need it don't run it. freebsd-update is another matter though. Base system security updates are distributed via that channel(binary updates) so it's a good idea to run that regularly. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Portsnap vs CSup
On Thu, Mar 19, 2009 at 1:39 PM, Kalle Møller < freebsd-questi...@k-moeller.dk> wrote: > Hi > > I've been digging around, but I can't find a clear answer, which of those > two is the "correct" to use. Hence I don't use one now, so if I'm going to > learn one, I would prefer it to be the right one. > > -- > /km > I don't think its a matter of right/wrong or good/bad. I recently used portsnap and it did a fine (dare I say 'snappy') job. Also, there's not much to learn with regard to portsnap. I can't talk about CVSup, although it doesn't look too complicated. So, if you find in unappealing, you could easily try CVSup without have wasted much time with portsnap. -Neal ___ > 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" > -- www.nealhogan.net www.lambdaserver.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: Portsnap vs CSup
Kalle Møller wrote: Hi I've been digging around, but I can't find a clear answer, which of those two is the "correct" to use. Hence I don't use one now, so if I'm going to learn one, I would prefer it to be the right one. Freedom of choice. That choice is up to you. Whichever you you feel most comfortable with...that's the one you should use. Personally, I use both. ~Paul This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/emaildisclaimer.aspx for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to 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: Portsnap vs CSup
On Thu, Mar 19, 2009 at 2:39 PM, Kalle Møller wrote: > Hi > > I've been digging around, but I can't find a clear answer, which of those > two is the "correct" to use. Hence I don't use one now, so if I'm going to > learn one, I would prefer it to be the right one. > > -- > /km I'm sure they're both "correct." I used to use csup (because that was what I learned first - no real reason). Then I switched to portsnap because I read that it has a secure key system to verify the integrity of the download. ___ 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"
Portsnap vs CSup
Hi I've been digging around, but I can't find a clear answer, which of those two is the "correct" to use. Hence I don't use one now, so if I'm going to learn one, I would prefer it to be the right one. -- /km ___ 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: Formatting a tape?
Have you looked at /var/log/messages? I've found error messages written there when trying to write to a tape which showed that I needed to change the block size. I've used DLT tapes with a variety of SCSI controllers from 4.X to 6.X, and don't remember having to change anything to use "tar cvf /dev/sa0 *". Those were DLTIII/DLTIII+/DLT40 tape. I'm currently using AIT3 tapes in an Overland library which works very well. Mike Squires ___ 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"
Why does devd not capture stdout?
I've created an autorun facility for USB drives using devd. I have the following addition in devd.conf: attach 10 { match "device-name" "umass0"; action "/usr/local/bin/autorun >/var/log/autorun.log 2>&1 &"; }; This works perfectly except only stderr messages appear in the autorun.log file; stdout messages are lost. If I run the same command manually: /usr/local/bin/autorun >/var/log/autorun.log 2>&1 then stdout messages are captured in autorun.log as expected. What would cause this problem? ___ 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: is there a laptop ?
Chris Rees wrote: > As far as the WLAN support goes, you can always replace the cards. > Searching on eBay or old laptops is often a good bet. Ralink and > Atheros are your best bets as aforementioned; Free drivers! If you mean replacing mPCI cards - it's not always possible. HP has got device whitelists implemented in their BIOS - you can replace WiFi cards to those they're selling with their laptops. I visited some sites describing BIOS modifications - yes, it's possible, but you there's always big chance to got your computer bricked :| As far as I know - some IBM models have such whitelists as well... > Oh, I'll agree with everyone saying IBM laptops are the best; but they > sold the Thinkpad line to Lenovo, who as I've mostly found have kept > up the standards. They are excellent buys. > > Good luck... -- regards, Maciej Suszko. signature.asc Description: PGP signature
Re: Formatting a tape?
On Thu, Mar 19, 2009 at 2:18 PM, Michael L. Squires wrote: > Have you looked at /var/log/messages? I've found error messages written > there when trying to write to a tape which showed that I needed to change > the block size. Good idea, but sadly there is nothing useful there. The following happened during my tinkering with mt, tar, and dd: Mar 19 14:06:32 atlas kernel: sa0 at ahc0 bus 0 target 6 lun 0 Mar 19 14:06:32 atlas kernel: sa0: Removable Sequential Access SCSI-2 device Mar 19 14:06:32 atlas kernel: sa0: 160.000MB/s transfers (80.000MHz, offset 96, 16bit) Mar 19 14:23:46 atlas kernel: (sa0:ahc0:0:6:0): Unexpected busfree in Data-out phase Mar 19 14:23:46 atlas kernel: SEQADDR == 0x86 Mar 19 14:23:46 atlas kernel: (sa0:ahc0:0:6:0): lost device Mar 19 14:23:46 atlas kernel: (sa0:ahc0:0:6:0): failed to write terminating filemark(s) Mar 19 14:23:47 atlas kernel: (sa0:ahc0:0:6:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. Mar 19 14:23:47 atlas kernel: (sa0:ahc0:0:6:0): removing device entry Mar 19 14:27:37 atlas kernel: sa0 at ahc0 bus 0 target 6 lun 0 Mar 19 14:27:37 atlas kernel: sa0: Removable Sequential Access SCSI-2 device Mar 19 14:27:37 atlas kernel: sa0: 160.000MB/s transfers (80.000MHz, offset 96, 16bit) Mar 19 14:29:19 atlas kernel: (sa0:ahc0:0:6:0): lost device Mar 19 14:29:19 atlas kernel: (sa0:ahc0:0:6:0): removing device entry Jaime ___ 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: Formatting a tape?
On Thu, Mar 19, 2009 at 12:15:48PM -0400, Jaime wrote: > I have a DLT tape drive in a FreeBSD system. With one of the tapes, I > can get "tar -cvpf /dev/sa0 -C / ." to work. With all the other > tapes, I can't. > > Is there some kind of formatting process that I need to do? I tried > "mt fsf 1" from this page: > > http://www.freebsd.org/doc/en/books/handbook/backups-tapebackups.html > > This didn't seem to work, though. Tapes do not need to be formatted, though the issue mentioned in the page you indicate can cause problems.I have seen it a lot on DAT (DDS) tapes and never with a DLT. On the DAT tapes, the solutions given on that page have usually not helped for me. But, since I have never had any problem with DLT tapes, I can't say if they might be helpful. You can try writing a block or two to the drive using dd(1). That occasionally helped with the DAT (DDS) tapes. dd count=10 if=/dev/zero of=/dev/nsa0 Seems like it should have a bs=nn in there too, but I can't remember if the default of 512 is OK or not. jerry > > Any help is appreciated, > Jaime > > -- > "To affect the quality of the day, that is the highest of arts." -- > Henry David Thoreau > > Tone of voice in email is misunderstood 50% of the time. > Source: http://www.howtoweb.com/cgi-bin/insider.pl?zone=214061 > ___ > 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: Formatting a tape?
On Thu, Mar 19, 2009 at 1:39 PM, Andrew Hamilton-Wright wrote: > What happens if you use dd to try and write to the tape? > > The command >dd if=/dev/zero of=/dev/sa0 count=8 > should print out: >8+0 records in >8+0 records out I tried this and the output was: 8+0 records in 8+0 records out 4096 bytes transferred in 0.036611 secs (111879 bytes/sec) So then I tried my backup script (which is basically a tar command) and got this on the console: (sa0:ahc0:0:6:0): Unexpected busfree in Data-out phase SEQADDR == 0x86 (sa0:ahc0:0:6:0): lost device (sa0:ahc0:0:6:0): failed to write terminating filemark(s) (sa0:ahc0:0:6:0): tape is now frozen- use an OFFLINE, REWIND, or MTEOM command to clear this state. (sa0:ahc0:0:6:0): removing device entry On the ssh terminal / standard output, I got this: tar: Write error: Input/output error Now "camcontrol devlist" doesn't show the tape drive, even though it did before. So I use "camcontrol rescan all" and it comes back. On console, it says: sa0 at ahc0 bus 0 target 6 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 160.000MB/s transfers (80.000MHz, offset 96, 16 bit) So then I try: mt -f /dev/sa0 rewind mt: /dev/sa0: Device not configured atlas:jkikpole>camcontrol devlist at scbus0 target 0 lun 0 (pass0) at scbus0 target 1 lun 0 (pass1) at scbus0 target 2 lun 0 (pass2) at scbus1 target 0 lun 0 (da0,pass3) WTF? Its gone again. On console, I get: (sa0:ahc0:0:6:0): lost device (sa0:ahc0:0:6:0): removing device entry I'm going to tinker some more and see if I can get this drive working again. I'll also try another tape. (Its worth noting that I DID manage to get a tape working thanks to mt -f /dev/sa0 fsf 1 && mt -f /dev/sa0 rewind.) More info later. Thanks for the help Jaime ___ 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: Formatting a tape?
On Mar 19, 2009, at 9:15 AM, Jaime wrote: I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get "tar -cvpf /dev/sa0 -C / ." to work. With all the other tapes, I can't. Is there some kind of formatting process that I need to do? I tried "mt fsf 1" from this page: What's the SCSI controller that you're using, and which version of the OS are you running? What's "mt status" say? Can you try "mt blocksize 0", "mt rewind", "mt weof 2", "mt rewind" and then retry tar? Try changing your blocksize via tar's -b flag to 32, 64, 126, or 128 blocks. FreeBSD doesn't expose enabling/disabling hardware compression or tuning compression levels via the device name used (ala Solaris' /dev/rmt/0ubn for example), so you'll need to look to "mt blocksize" and "mt comp" to adjust, otherwise you'll get whatever default behavior the device is set to. In most cases, the device will want a fairly large blocksize in order to keep streaming the tape. (I've used both Quantum DLT and sDLT drives with FreeBSD 5.x & 6.x on various Adaptec & LSI MegaRAID SCSI controllers-- mostly Dell, some HP boxen) Regards, -- -Chuck ___ 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: Formatting a tape?
> I assume that this is a fresh tape? Do other tapes from the same batch > work? Thanks for the reply. Yes, 10 new tapes. All Sony brand "DLTape VS1" on the box. (Only one "t". Damn marketers.) They all have this symptom. > What happens if you use dd to try and write to the tape? I'll give it a try. I've only used tar and mt so far. Thanks, Jaime -- "To affect the quality of the day, that is the highest of arts." -- Henry David Thoreau Tone of voice in email is misunderstood 50% of the time. Source: http://www.howtoweb.com/cgi-bin/insider.pl?zone=214061 ___ 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: Formatting a tape?
On Thu, 19 Mar 2009, Jaime wrote: I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get "tar -cvpf /dev/sa0 -C / ." to work. With all the other tapes, I can't. Is there some kind of formatting process that I need to do? I tried "mt fsf 1" from this page: I assume that this is a fresh tape? Do other tapes from the same batch work? What happens if you use dd to try and write to the tape? The command dd if=/dev/zero of=/dev/sa0 count=8 should print out: 8+0 records in 8+0 records out If you are getting something else, I might suspect a physical media problem. I have certainly gotten the odd dud tape before. A. ___ 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: Need help for acroread8
On Tue, 17 Mar 2009 06:33:23 +0530 Manish Jain wrote: > Anyway, if anyone has any clue how to get me out of this acroread > mess, I would be really grateful. Those URLs may be a good start for you: http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194334.html http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194354.html WBR -- bsam ___ 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"
Informix ClientSDK, Help
Hi, I've read the limited information there are on Internet about this theme and some people say that this work should be done with SCO OpenServer CSDK (http://www-01.ibm.com/software/data/informix/tools/csdk/requirements/sco-oserver.html) plus the binary emulation of CSO and others that it should be done with the Linux CSDK. - Which option do you consider better? - Using SCO CSDK, where the binary emulation is? - Using Linux CSDK, which Linux (http://www-01.ibm.com/software/data/informix/linux/csdk.html)? The goal of this is to be able to use unixODBC (http://www.unixodbc.org/doc/informix.html) to handle connections. If you know a better option, please tell me. I appreciate any help you can give me Thanks in advance... ___ 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"
Formatting a tape?
I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get "tar -cvpf /dev/sa0 -C / ." to work. With all the other tapes, I can't. Is there some kind of formatting process that I need to do? I tried "mt fsf 1" from this page: http://www.freebsd.org/doc/en/books/handbook/backups-tapebackups.html This didn't seem to work, though. Any help is appreciated, Jaime -- "To affect the quality of the day, that is the highest of arts." -- Henry David Thoreau Tone of voice in email is misunderstood 50% of the time. Source: http://www.howtoweb.com/cgi-bin/insider.pl?zone=214061 ___ 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-RELEASE won't boot: run_interrupt_driven_hooks
Dear List, I tried to install FreeBSD 7.1-RELEASE amd64 on a brand new Fujitsu Siemens laptop. It didn't even boot. I keep getting messages like: run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config I tried booting with / without ACPI, but nothing helped. :( Any ideas? ___ 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 on Dell PowerEdge 850
On Wed, 2009-03-18 at 14:10 -0500, Dean Weimer wrote: > Just wondering if anyone is running FreeBSD 7.1 on a Dell PowerEdge 850 > with SATA raid, I have 5.4 installed on one now, because there was a > problem with the Intel ich5 sata chipset on 6.x branch at the time I RAID on the 850 is rare, since the drives are fixed position non-hotswap (and the unit doesn't have a single other redundant component) Check the NYCBSDUG dmesg(8): http://www.nycbug.org/ If not there, then post it after you try. ~BAS PS. Its software assisted RAID, right, not some AMI/LSI/QLogic hack? ___ 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"
[drm]: why does drm.ko/radeon.ko load agp.ko for ATI HD4670 on a PCIe system?
My lab's box is running FBSD 8.0-CURRENT/amd64 and hardware is based on an ASUS P5K Premium mobo, P35 chipset with ICH9R and PCIe. The graphics card is a MSI HD4670. Apart from the fact this box does not well with FreeBSD 8 and HD4670 is unusable with driver 'radeon' in port's X11 (xorg-7.4), I always get module agp.ko also loaded when loading radeon.ko. Why? This box does not have AGP! I do not see this weird behaviour with a FreeBSD 8 box running the same source code, nearly the same configuration, but UP and with a HD4830 board (which does quite well). X11 is of the same date/source stage. Thanks, Oliver ___ 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: 7.1 phpmyadmin skip logon screen?
Fbsd1 wrote: Matthew Seaman wrote: Fbsd1 wrote: In 7.1 phpmyadmin now drops you into a logon screen. How do I stop this function and always go to main menu screen? That's nothing to do with the FreeBSD version -- phpMyAdmin works the same on any platform. To make phpMyAdmin auto-login to a DB, you need to use 'config' authentication mode. http://www.phpmyadmin.net/documentation/#authentication_modes It's probably the least secure authentication mode provided, so you should take further steps in your Apache config to stop the world gaining access to your database. Cheers, Matthew Read the user id info on mysql and phpmyadmin. It's so much overkill. Don't need to secure then at all. I have inhouse development box on private lan and mysql has always worked just fine with superuser mysql id of root without password. In the previous version of phpmyadmin no login id was required and I was able to see my DB definitions. Tried to setup config.inc.php by adding statement $cfg['Servers'][$i]['user'] = 'root'; but no joy. What is needed in config.inc.php to allow the default mysql superuser user id root full access in phpmyadmin? For the archives. Figured it out for myself after much testing. This is the contents of my working config.inc.php file. ___ 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: Adding new domain in mail server
On Thu, 19 Mar 2009 14:49:52 +0800, Ruel Luchavez wrote: > Hi list.. > > we have here a mail server running in FreeBSD 6.2 which is holding out > 2 domain (e.g u...@mydomain.com. w...@mydomain2.com) and it running > very good, unfortunately I'm not the person who configure this mail > stuff. > > heres my problem: > > we bought a new domain (e.g mydomain3.com) and Im planning to add the > domain to our mail server so that I could create a new email ad with > the new domain (e.g us...@mydomain3.com). how will I do that? Multiple domains are often called "virtual domains". The specific details of how virtual domains work depend a bit on the mail server software you are using. Does the server run Sendmail, Postfix, or...? ___ 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: Adding new domain in mail server
On Thu, Mar 19, 2009 at 9:49 AM, Ruel Luchavez wrote: > Hi list.. > > we have here a mail server running in FreeBSD 6.2 which is holding out 2 > domain (e.g u...@mydomain.com. w...@mydomain2.com) and it running very > good, > unfortunately I'm not the person who configure this mail stuff. > > heres my problem: > > we bought a new domain (e.g mydomain3.com) and Im planning to add the > domain > to our mail server so that I could create a new email ad with the new > domain > (e.g us...@mydomain3.com). how will I do that? > This depends on your SMTP server, but by the way you have asked this question, I don't think you will manage to do it. You are so green for that task. Anyway, find out what the SMTP server installed is, how it handles virtual domains and how they are configured (user maps). If you are familiar with Apache, PHP, MySQL, I'd suggest that you consider Vexim (http://silverwraith.com/vexim) as an easier to manage system for handling virtual domains. If you need assistance in migrating, we can help (I can help). -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood ___ 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"