Re: Upgrading Standing Systems from 6.3 to 8.0
Have you tried a test system with this configuration, then upgraded it to 7.x followed by the jump to 8.0? Run this for a week in advance and see if anything pops up, maybe even stress test it? Bryant On Jan 8, 2010 4:47 PM, Martin McCormick mar...@dc.cis.okstate.edu wrote: Can one upgrade a standing system from 6.3 to 8.0? We do have a few sacrificial systems to try the big upgrade on, but the actual systems are scattered through 3 towns over 200 miles. Not a one is just down the hall so it is all going to have to be done remotely. I am familiar with the process of pointing the cvs-supfile to the target branch and then rebuilding the world. This got us from 5.x to 6.3 with no real issues so how far can one take this and not end up with a brick later? The main thing that can happen which gives nightmares is a situation in which the upgraded system comes up but has insidious problems that don't bite until 03:00 on Sunday morning. Imagine the OS isn't freeing inodes or some other creeping menace that might not be obvious when your newly-built system comes up awith a login prompt and seems ready for business. Thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ 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: Change one file in an ISO image
Gelsema, P (Patrick) - FreeBSD wrote: Hi list, I need to change one file in an existing ISO image. It is a DVD image btw. Unfortunately I dont have many options of changing the fie before creating the image. Mounting is not the issue, copying data neither but the ISO is also bootable. There must be a simpler solution as in copying all the content with cpio and making it bootable. OS on the DVD is WinPE btw. Does anyone have some pointers for performing this action? Have you tried mounting it as a vnode ? and mounting it R/W ? mdconfig -a -t vnode -f file.img mount -t type /dev/md0 /mnt/rw_dvd Where type may be cd9660 or some other format of the image. I haven't seen reported success with this method (checked with various google searches), but perhaps there's something along these lines *will* work. Hope that helps, Bryant ___ 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: Support of UDF ISO-13346 on 7.1-RELEASE-p2 [SOLVED]
b. f. wrote: #How can I mount this disc ? Does udf.ko support this format ? I don't often use memory disks, so I'm not quite sure what is going wrong here. You could try configuring it and mounting it as read-only, to see if that helps. But you should be aware that FreeBSD does not support _all_ UDF filesystems, only some of them, and there were some shortcomings with the earlier implementation of udf.ko that you are using. For more information, see for example: http://en.wikipedia.org/wiki/Universal_Disk_Format So your disk image, if it really has an intact and valid UDF filesystem, may still be unmountable even if you are doing everything properly. I would suggest that you install the sysutils/udfclient port or package, and use it to try to read the disk image. It supports a slightly wider range of UDF filesystems than the kernel module, and you don't have to go to the trouble of mounting the disk image to read it. Of course, if you need to mount it, you could try dumping it to a different filesystem and then mounting it as a memory disk or otherwise. If that doesn't work, then it may be easiest to use the native tools in some other OS (e.g., NetBSD, Vista ... ) b. I'm disappointed that FreeBSD mount_udf doesn't support this disc. to those trying: the solution is to use udfclient and browse that way. Alternatively there is a refuse package that makes UDFclient into a FS to mount. Do not be deterred by the complicated first-level directory : 97505d80MS UDFBridge:UDF Volume:GRC1CULXFRER_EN_DVD:GRC1CULXFRER_EN_#503F Yes, there are spaces in it, you'll want to quote it to access it properly. ___ 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: Purple photos on firefox..
herbert langhans wrote: Hi Daemons, I wonder if the same happens on your computers too. Freebsd 7.2 Firefox 3.5 - sometimes the photos, mostly the JPG I guess, appear visible but in a deep purple shade. Is it just on my comp? If not I will file a bug report the the Firefox-developers. Take a screenshot, upload it to a hosting site, have a friend look at the photo with a different monitor. Failure modes for certain monitors may show these symptoms, or you may have a loose cable to the video card. Let us know how it works out. ___ 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
Support of UDF ISO-13346 on 7.1-RELEASE-p2
Hello, In trying to get a copy of Windows 7 working under qemu today I ran into a bit of a snag mounting the image. ## giving me a node to play with ... sudo mdconfig -a -t vnode -f /tank/extract/7100.0.090421-1700_x64fre_client_en-us_retail_ultimate-grc1culxfrer_en_dvd.iso -u 0 ## and trying to mount md0 : sudo mount -t cd9660 /dev/md0 /mnt/iso/ ## lists only a single file 'readme.txt' : This disc contains a UDF file system and requires an operating system that supports the ISO-13346 UDF file system specification. ## lovely .. sudo mount -t udf /dev/md0 /mnt/iso/ mount_udf: /dev/md0: Invalid argument ## Not very helpful ... especially since kldstat shows I have udf.ko loaded. How can I mount this disc ? Does udf.ko support this format ? thanks, Bryant ___ 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: Support of UDF ISO-13346 on 7.1-RELEASE-p2
per...@pluto.rain.com wrote: Bryant Eadon bryant.ea...@gmail.com wrote: ... sudo mount -t cd9660 /dev/md0 /mnt/iso/ ## lists only a single file 'readme.txt' : This disc contains a UDF file system and requires an operating system that supports the ISO-13346 UDF file system specification. ## lovely .. sudo mount -t udf /dev/md0 /mnt/iso/ mount_udf: /dev/md0: Invalid argument ## Not very helpful ... especially since kldstat shows I have udf.ko loaded. Did you remember to sudo umount /dev/md0 before attempting to mount it as udf? It can't be mounted as both types at the same time :) Right, just to double check I tested it again, even specifying the sector size for the device (2048) ... I'm still scratching my head why it's not working ... $ sudo mdconfig -d -u 0 $ sudo mdconfig -a -t vnode -f /tank/iso/7100.0.090421-1700_x64fre_client_en-us_retail_ultimate-grc1culxfrer_en_dvd.iso -u 0 -S 2048b $ sudo mount -t udf /dev/md0 /mnt/iso/ mount_udf: /dev/md0: Invalid argument $ df Filesystem 1K-blocksUsed Avail Capacity Mounted on /dev/ad8s3a 507630 412388 5463288%/ devfs1 1 0 100%/dev /dev/ad8s3e1012974752931186 0%/tmp /dev/ad8s3f 2226560805565182 199278412 3%/usr /dev/ad8s3d8122126 184562 7287794 2%/var /dev/ad4s1 192305310 175034520 188636699%/mnt/wd1 tank1913870848 1077562496 83630835256%/tank ___ 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: time to ask for help... .
Gary Kline wrote: The way my site is now configured, my ISP (Qwest) baby-bell has its router connected to my pfSense firewall. The firewall computer connects to my FreeBSD server which handles my DNS, mail, and web. The server then fans out to my several desktops. This one, my laptop, my daughter's MacBook, and has a spare CAT5 for my wife's PC. Since this sounds like a home setup, in terms of raw power usage I'm inclined to suggest a tighter integration of router, DNS and firewall functionality by putting this all into something like OpenWRT on a decent off-the-shelf router, thereby eliminating the Qwest router, firewall machine and possibly mail/web if it's low volume enough and/or you pick up a router with a USB connection for storage. Try an Asus WL-500G Premium (version 1 is my favorite) if you go that route. This would free up the server for other tasks, obsolete 2 boxes (and possibly the server), spice up your life with easy to install SNMP monitoring of connections and give your family wifi ... but I digress... At a minimum, I'd like to have CVS working on at least my server. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/cvs-freebsd/article.html I used ipf and/or IPFW managed to catch and kill hundreds of kiddie-scripters trying to crack in. But with pfSense and how things are *now*, I'm in the dark. You're looking for an intrusion detection system (IDS). For FreeBSD you might leverage 'grok' written by Jordan Sissel, which, isn't an IDS, but it will play like one : http://www.semicomplete.com/projects/grok/ You could also do something like this : http://surachartopun.com/2008/06/example-how-to-monitorby-e-mail-auth.html ...monitor your auth logs for bandits with email alerts. That should get you started :) -Bryant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: When the Remote end of a Telnet drops
Martin McCormick wrote: In the last two weeks, we have suddenly begun having a problem when telnetting to a telephone switch in order to manage it. This device does not have ssh or we would sure be using that. We run an expect script to poll various registers on the switch and the process is fairly simple. We ask for various listings of registers. When done with a listing, the switch sends a prompt which we see and then either go to the next poll or end and log out. Recently, output just stops at the end of a line with no corruption of the text. There is even a Return character. The telnet session just sits there for days if we don't stop it. It is tempting to point fingers at the switch and the people closest to the switch say that it must be something with the network, all that fun sort of stuff that happens when you don't have undisputable proof and it doesn't happen every day. Exactly a month ago, I upgraded the patch level on this system to FreeBSD 6.3-RELEASE-p10 Does anybody know if there are any recent issues with telnet? As a test, I telnetted to a system and then literally pulled the Ethernet plug on the remote system. The system I was telnetting from sat for many minutes. I finally hit Enter and a few minutes later, it figured out there was nothing on the remote end. There was the usual Connection closed by foreign host. message. Is there a way to make telnet either more proactive about detecting a loss of connection or of logging oddities if the connection is flickering? One such stall happened on a weekend and the connection appeared to be up for 4 days. A ps ax |grep telnet |grep -v grep showed a connection still up at least until I killed it. At that point, it logged terminated and ended. I can certainly put a timeout in expect but we have been using this same script, etc, for around 6 years and never had this problem before so a timeout would just hide whatever has changed. My own gut feeling is that the FreeBSD system is fine as we have no other problems with anything else. I suspect something is killing the idle TCP session between your hosts. If you're crossing the internet, you might ask if your ISP has modified something along those lines. Have you fiddled with sysctl settings, specifically net.inet.tcp.keepintvl yet ? more info at src/sys/netinet/tcp_timer.c -Bryant ___ 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: I cannot login coz bash is deinstalled
lacalling wrote: I forget to change shell before I deinstalled bash. A errer occurs when i try to login with my user or root. And it returns to login. I can only login in with single user mode which freebsd proovide, but few tools are provided. How can I change my shell to sh without logining? I have a debian cd which can bring me to its shell,but when i mount /dev/hda ,it says no such device. Thanks. Have you tried 'chsh -s /bin/sh' ? mount /usr, it's in /usr/bin/chsh by default. This is one of the reasons to leave the root shell at a safe default. Alternatively, a different super-user account could be created to avoid this problem -- leaving root with it's mostly stock (safe) setup. ___ 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: I cannot login coz bash is deinstalled
Bryant Eadon wrote: lacalling wrote: I forget to change shell before I deinstalled bash. A errer occurs when i try to login with my user or root. And it returns to login. I can only login in with single user mode which freebsd proovide, but few tools are provided. How can I change my shell to sh without logining? I have a debian cd which can bring me to its shell,but when i mount /dev/hda ,it says no such device. Thanks. Have you tried 'chsh -s /bin/sh' ? mount /usr, it's in /usr/bin/chsh by default. This is one of the reasons to leave the root shell at a safe default. Alternatively, a different super-user account could be created to avoid this problem -- leaving root with it's mostly stock (safe) setup. I should note that you'll need to be logged in as single user. And according to the man pages it should go something like this : /usr/bin/chsh -s /bin/sh root (not tested) ___ 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
Updating FBSD 7.1 to the latest ZFS
I've scoured the web but haven't found the proper way to upgrade from using ZFS v6 to the latest ZFS supported on FreeBSD (v13?). My zpool is shot and I'd like to create a fresh one starting with the latest and greatest. Can anyone point me in the right direction on how to properly perform this upgrade ? Thanks, Bryant ___ 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
danging dbufs in ZFS v6 , FreeBSD 7.1
A problem I'm hoping you can solve ! Running on a 64bit platform with 5, 500GB HDDs in a basic raidz configuration classically named 'tank', I began copying a file. During the copy, I lost a disk. Since these are all hot swappable SATA drives, I pulled the one I *thought* had died and swapped in a good drive, which powered up and I attempted a 'replace'. The copy was still proceeding... (you see where this is going...) This wasn't the broken drive I pulled, which I quickly found after the replace attempt ! In an effort to put the good drive back into the array, I reconnected and rebooted the machine citing possible 'drive disappearance' problems with the stunt I just pulled. Nothing doing. The kernel hung at : panic : dangling dbufs. dn = 0xff000a49f338 dbuf = 0xff000a4a01e0 Leading me to believe the array is dead. :-/ I am happy to lose the data that was copied at the time of failure if it's possible to recover the rest of the array. I suppose that the rest of the data remains intact. Is there a way to rid myself of the dangling buffers to get back to a usable state ? (some dd magic ?) Could I recover by using a newer version of ZFS for FreeBSD ? (v13 instead of v v6) Quickly it moved from : NAMESTATE READ WRITE CKSUM tankDEGRADED 0 0 0 raidz1DEGRADED 0 0 0 da0 ONLINE 0 0 0 da1 UNAVAIL 0 887 0 cannot open da2 ONLINE 0 0 0 ad5 ONLINE 0 0 0 ad6 ONLINE 0 0 0 to : NAMESTATE READ WRITE CKSUM tankUNAVAIL 0 0 0 insufficient replicas raidz1UNAVAIL 0 0 0 insufficient replicas da0 UNAVAIL 0 0 0 cannot open da1 UNAVAIL 0 0 0 cannot open da2 ONLINE 0 0 0 ad5 ONLINE 0 0 0 ad6 ONLINE 0 0 0 ___ 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: Noisy mouse
Wojciech Puchar wrote: or make a keystroke. Is this a bug, or a strange feature? How do i bad hardware design - mouse data signals gets through to audio signal. most of your computer's signal line are in megahertz range so you don't hear anything, PS/2 mouse has 40kbps data rate. I've actually had this happen before. Somewhere along the line either : 1. your audio and mouse/keyboard cables are coming into close proximity to one another. or 2. Your mouse/kb cable is very close to a specific speaker. The solution is to move your mouse cable away from your speakers/cables. I guess you could shield it if you can't move it. Tinfoil around only the one cable at close proximity sections should do the trick. -B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Purchase of FreeBSD
Harry Veltman wrote: Where can I buy it on CD, and how do I know if it is compatible with my hardware? ___ Harry, This may be an obvious statement, but this can be downloaded (an ISO image is an exact copy of a CD or DVD -- http://en.wikipedia.org/wiki/ISO_image ). But, if you're on a modem, this download could take a week or more. :-/ Maybe a local library, school or Internet Cafe would have a faster connection and/or CD writer for you to use ? where / how: http://www.freebsd.org/where.html supported Hardware : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-hardware.html Thanks, Bryant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A netgraph question.
Joe Pellegrino wrote: OK so here it goes. I actually have two seperate questions involving netgraph, I am new to this subject so please bare with me. If there is a better way to achieve these goals too, please suggest them but I think netgraph is the way to go. The first part involves allowing a userland program to communicate with a kernel module, similar to how netlink works in Linux. The second part involves intercepting network packets and possibly manipulating them before they are allowed to proceed, similar to how netfilter works. I believe I can do both of these with the netgraph (ng_socket and possibly ng_ether). I haven't looked closely at ng_ether yet so I'll focus on ng_socket. I have been able to create a ng_socket (Control and Data) using the socket call as described in All About NetGraphs and the man page. I've also been able to 'name' the node using bind. I was able to verify this using ngctl. I know (from the man page) I should eventually be able to send/receive using the sendto/recvfrom functions once the connection is established. But beyond this I don't know how to proceed. So the question is what are the next steps. For example: Although I see a named netgraph node there are no hooks. ng_socket says it supports an arbitrary number of hooks so how do I create the hooks? Then of course how do I connect them. Of course I realize that I proabably need to create a node on the kernel side so which type of netgraph node would be suggested? How is it created and then hooked to the ng_socket? Again I am looking to allow some IPC between a userland program and a kernel module similar to the Linux netlink. I've been through most man pages and can't seem to find a lot of good documentation or example code so I am hoping to get some pointers here. BTW If this is the wrong list please directly to the right place to ask. Thanks in advance. ---jdp Have you looked into how systat -ifstat works ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A netgraph question.
Bryant Eadon wrote: Joe Pellegrino wrote: OK so here it goes. I actually have two seperate questions involving netgraph, I am new to this subject so please bare with me. If there is a better way to achieve these goals too, please suggest them but I think netgraph is the way to go. The first part involves allowing a userland program to communicate with a kernel module, similar to how netlink works in Linux. The second part involves intercepting network packets and possibly manipulating them before they are allowed to proceed, similar to how netfilter works. I believe I can do both of these with the netgraph (ng_socket and possibly ng_ether). I haven't looked closely at ng_ether yet so I'll focus on ng_socket. I have been able to create a ng_socket (Control and Data) using the socket call as described in All About NetGraphs and the man page. I've also been able to 'name' the node using bind. I was able to verify this using ngctl. I know (from the man page) I should eventually be able to send/receive using the sendto/recvfrom functions once the connection is established. But beyond this I don't know how to proceed. So the question is what are the next steps. For example: Although I see a named netgraph node there are no hooks. ng_socket says it supports an arbitrary number of hooks so how do I create the hooks? Then of course how do I connect them. Of course I realize that I proabably need to create a node on the kernel side so which type of netgraph node would be suggested? How is it created and then hooked to the ng_socket? Again I am looking to allow some IPC between a userland program and a kernel module similar to the Linux netlink. I've been through most man pages and can't seem to find a lot of good documentation or example code so I am hoping to get some pointers here. BTW If this is the wrong list please directly to the right place to ask. Thanks in advance. ---jdp Have you looked into how systat -ifstat works ? Whoops. Wrong thread. Please ignore. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disappearing mouse pointer
Robert wrote: On Mon, 20 Oct 2008 10:38:39 -0700 Robert [EMAIL PROTECTED] wrote: Greetings FreeBSD When running XFCE4 I will lose the mouse pointer at times. This will only happen when I have the driver set to nv in xorg.conf. The mouse will still work as I can see where it is when I pass over icons and watch them highlight. If I can stop on an icon, I can click and it works. If I drop out of the XFCE4 using ctl-alt-backspace, the mouse pointer appears and all is well. If I restart the XFCE4, there is no pointer. If I change the driver to vesa and restart then I have a pointer again. The only way I have found to regain the pointer using nv is to reboot. All ports are up to date and I am running amd64 RELENG_7 as of last Saturday. uname -a FreeBSD asus64.shasta204.local 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Sat Oct 18 13:31:00 PDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 If I should have posted to a different list please let me know. I have also attached my xorg.conf. TIA Robert Five days and no responses, so maybe more information. On this computer I have on board GeForce 6100. [EMAIL PROTECTED]:0:5:0: class=0x03 card=0x81bf1043 chip=0x024210de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'GeForce 6100' class = display subclass = VGA I have the same exact release and ports running on a different computer equipped with a GeForce 6800 XT in an AGP slot without a problem. The big difference is that other computer is running i386. It is using nv driver without any problems. Can anyone point me in the right direction. Feel free to tell me where to go. :-) Thanks Robert This seems like a very strange problem. Let's try focusing on XFCE first. Are any processes conflicting with drawing something on the screen, from your description it seems like XFCE is a problem, but do other window managers do the same thing ? If it's not wm specific then I'd try chasing down the developers of xf86-video-nv . Here is a starting point : http://www.t2-project.org/packages/xf86-video-nv.html Does the driver support any sort of 'debug' mode that you could log to file ? Taking a walk through xf86-video-nv, it looks like there are a few bitshift and operators that use pointer and move things to and fro. ( in 64-bit land that maybe these moves should be handled differently ? Or are these magic numbers? ) Take a look into the source, nv_cursor.c Examining these lines : #if X_BYTE_ORDER == X_BIG_ENDIAN if ( m 0x8000) *dst = ( b 0x8000) ? pNv-curFg : pNv-curBg; else *dst = TRANSPARENT_PIXEL; This case draws the pixel transparently if it fails the test -- which seems to coincide with what you're seeing. This is just a wild guess, it could be used elsewhere though with the same affect. But then again, since this is working at all, then it may point to 1. the wm 2. Xorg may have a problem reporting it to the wm Hope it helps. Report back if you have any progress. Later, Bryant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ran fsck, now all files are in lost+found
So, I moved a RAID5 device between a FreeBSD 6.0 machine to fresh FreeBSD 7.0 machine. When I attempted to mount the device the OS complained that the disk had not bee unmounted properly -- figuring it was probably correct, I diligently dropped to single user mode and ran fsck on the disk. I ran 'fsck -t ufs -y'. all seemed fine and dandy until I tried to remount the volume after bringing it back to multi-user mode. The disk space was occupied, but it all resided in lost+found with names like : #001 , #002 etc... !! Each file was multiple gigabytes worth of data without file structures (as far as I could tell) Is there an way to recover from this problem ? I would be losing quite a lot of data, any help you could give would be appreciated. Help, B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
A serious Oops moment
So I was trying to properly install a new 200G WD HDD on a Highpoint controller and wasn't having any luck, so I figured I might as well try getting the USB2 Enclosure working with the machine too while I was at it (also a 200G drive, but formatted for NTFS), connecting the drive and going back to seeing where I might have the highpoint controller recognized I forgot all about the USB drive --- bad mistake. I went into the /stand/sysinstall under fdisk and saw I had a 200G drive there, Oh, I must have done something to enable the HighPoint controller I said .. let's edit it .. Strange, it's reporting NTFS/QNX/.. did I get a drive with something on it ? I was unable to mount the drive with NTFS (it wasn't in my kernel) so I just said forget it and tried to fdisk, it tossed a warning about doing the fdisk separately from the disklabel, so I said, ok , I'll wait.. and went off to do the disklabel at the same time. at which point on trying to disklabel the disc I believe the disklabel wrote out (improperly) and then crashed the PC -- at which point I realized my mistake. I don't think that the full write even started because it was a hard crash and occurred very soon after I executed the command, I don't have the debug screen that appeared afterward, it was a kernel panic. This is the USB2 device:: Aug 7 12:14:14 Crappy login: ROOT LOGIN (root) ON ttyv0 Aug 7 12:14:25 Crappy /kernel: umass0: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01, addr 2 Aug 7 12:14:25 Crappy /kernel: umass0: Get Max Lun not supported (STALLED) Aug 7 12:14:32 Crappy /kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Aug 7 12:14:32 Crappy /kernel: da0: WDC WD20 00JB-00FUA0 \\ Fixed Direct Access SCSI-0 device Aug 7 12:14:32 Crappy /kernel: da0: 650KB/s transfers Aug 7 12:14:32 Crappy /kernel: da0: 190782MB (390721968 512 byte sectors: 64H 32S/T 59710C) Initially I attempted to just read the disklabel, but it threw a bad pack magic number. So I tried to edit it with disklabel -e , I changed nothing, but it seems the disklabel was written when I left the editor regardless Disklabel commands: [Crappy]:log% disklabel -r /dev/da0 disklabel: bad pack magic number (label is damaged, or pack is unlabeled) [Crappy]:log% disklabel /dev/da0 # /dev/da0: type: SCSI disk: WDC WD20 label: 00JB-00FUA0 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 24321 sectors/unit: 390721968 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 3907219680unused0 0# (Cyl.0 - 24321*) *** I know it's a 7200 RPM drive, with an 8MB cache and 200G of physical space ( ~ 186GB after formatting in NTFS), the Western Digital Special Edition 200G drive. I want to restore my data, but I am scared to change the disklabel at the thought of losing the 150+G of data that is on the drive. Can anyone PLEASE provide details on how I might be able to restore my data, right now I can't mount it anywhere? Any help is appreciated. Thank you, Bryant Eadon Dual Electrical and Computer Systems Engineering Major Rensselaer Polytechnic Institute Lambda Chi Alpha EH1063 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]