Re: adding an extra hard disk and adding space to /usr
On Fri, 03 Nov 2006 17:17:33 -0500 Matt Smith [EMAIL PROTECTED] wrote: Hello all, I have a machine that just had a new HD added to it as ad1 and I want to ADD this new disk onto the already existing /usr partition. What's the best and safest way to do it? In my experience, there are only a handful of directories in /usr that uses lots of disk space. And they are related to two things: - building the system (/usr/src and /usr/obj) - building ports (/usr/ports, more specifically /usr/ports/distfiles) Of course, YMMV. Anyway, it is quite easy to install the new disk under a new mountpoint, say .. /extra1 Then you can copy the data from the directories in question with your favorite combination of cp, tar or find / cpio. Example: /usr/ports/distfiles -- /etxtra1/distfiles /usr/src -- /extra1/usr/src /usr/obj -- /extra1/usr/obj (it is perhaps easier to just blow away obj and recreate it - your choice) and so on. Finally, you symlink the new directories to their old place using 'ln -s'. Note: I prefer to rename the old directory first instead of removing it, in case something doesn't work. After testing that the new setup works, you can safely remove the old renamed directories. Please also note that this is just one way of doing things - there are others. -- Torfinn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding an extra hard disk and adding space to /usr
Torfinn Ingolfsen wrote: On Fri, 03 Nov 2006 17:17:33 -0500 Matt Smith [EMAIL PROTECTED] wrote: Hello all, I have a machine that just had a new HD added to it as ad1 and I want to ADD this new disk onto the already existing /usr partition. What's the best and safest way to do it? In my experience, there are only a handful of directories in /usr that uses lots of disk space. And they are related to two things: - building the system (/usr/src and /usr/obj) - building ports (/usr/ports, more specifically /usr/ports/distfiles) Of course, YMMV. Anyway, it is quite easy to install the new disk under a new mountpoint, say .. /extra1 Then you can copy the data from the directories in question with your favorite combination of cp, tar or find / cpio. Example: /usr/ports/distfiles -- /etxtra1/distfiles /usr/src -- /extra1/usr/src /usr/obj -- /extra1/usr/obj (it is perhaps easier to just blow away obj and recreate it - your choice) and so on. Finally, you symlink the new directories to their old place using 'ln -s'. Note: I prefer to rename the old directory first instead of removing it, in case something doesn't work. After testing that the new setup works, you can safely remove the old renamed directories. Please also note that this is just one way of doing things - there are others. You should also put /usr/src and /usr/obj on different devices, prefereably /usr/obj not on the system or any high I/O data device (if not on RAID). This speeds up buildworld! -- O. Hartmann Freie Universitaet Berlin Institut fuer Geowissenschaften Fernerkundung der Erde und Planeten Malteser-Str. 74 - 100/Haus D D-12249 Berlin Tel.: +49 (0) 30 838 70 508 FAX: +49 (0) 30 838 70 837 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: netstat -ni - A lot of collisions...
Anton - Valqk wrote: netstat -ni NameMtu Network Address Ipkts IerrsOpkts Oerrs Coll fxp0 1500 Link#2 00:08:c7:5b:53:5f 4504986 0 2093233 0 185206 Hmmm... what's the output of 'ifconfig fxp0'? Are you by any chance running this card in half-duplex mode? If you were connecting to a hub (rather than a switch) and all of your network was running half-duplex, then that level of collisions wouldn't be particularly remarkable. However nowadays basic 100Mb switches are cheap, so that would be rather unusual. However, a card that fails to autonegotiate with the switch will fall back to running at 100-half. That's generally pretty obvious because performance will be abysmal. Other alternatives are hardware problems -- try a different ethernet cable. Try plugging into a different port on the switch. Try a different computer on the cable etc. where you're seeing the problems. If none of that identifies a fault in the cabling, then it's looking more likely that your network interface has gone fubar. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: problems with shutdown after dump on a large partition
Anatoliy Dmytriyev wrote: I got problems with shutdown after dump with ???-L??? (with spashots) on a large partition: We have large partition with 872G on ???df ???H??? report. Exactly before shutdown the ???dump ???Lau??? was finished without any problems. After dump finished I run command ???shutdown ???h now??? and in the result shutdown was incorrect because disk sync was terminated by timeout and fsck was run on the next boot. I'm not entirely shure, but this looks like the snapshot generated by dump -L was not yet cleaned up. You should wait a couple of minutes (depending on the snapshot size and I/O turnover) before shutting down the system or umounting the partition. I don't know of a way to decide if the snapshot has been fully cleaned up. Ulrich Spoerlein -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
ULE-scheduler helped (Re: new em-driver still broken)
On Tuesday 31 October 2006 20:41, Jack Vogel wrote: = I still think it looks like some kind of scheduler issue going on = here, so maybe this is something to check. Ok. First I tried to cvs the sys/dev/em back to 6.1 -- the new kernel had the same problems... Then I tried to change the 'PCI latency timer' in the BIOS -- from the minimum of 32 to the maximum of 360. Same problems. Then, finally, I decided to give the ULE-scheduler a try -- and things seem to work just fine (with polling enabled on the interface)... The dump has completed -- in 7 hours or so... Could this (failure of the BSD44 scheduler) be due to my using slightly different CPUs (Opteron 244 in the first slot and 246 in the second)? I thought, BIOS/motherboard take care to downgrade the second one to match -- according to the dmesg.boot, both processors are identified as: CPU: AMD Opteron(tm) Processor 244 (1800.01-MHz K8-class CPU) But if the scheduler looks at some CPU-local register, it may, in some cases, still think, it is running on 246? To summarize, unless someone else continues to see em-related problems, the current driver is fine, I guess... -mi ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Mustek BearPaw 2448 TA Pro
Hello, This scanner is claimed to be supported but I can not get it configured. sane-find-scanner finds the scanner just for the 1st time. Then the detection disapears and also the item in the usbdevs list changes. The result of sane-find-scanner is in the end: device 0x055f/0x0409 is not configured It is mustek 2448 ta pro bought 1 week ago. The data is attached. Does anybody have a different experience with this scanner on 6.X please ? Cheers, -vlado Here is the data: # uname -a FreeBSD srv.g1.netng.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Fri Nov 3 20:20:33 CET 2006 [EMAIL PROTECTED]:/usr/obj/usrmnt/src/sys/SRV i386 # ll /var/db/pkg/ | grep sane drwxr-xr-x 2 root wheel 512 4 lis 07:30 sane-backends-1.0.18 drwxr-xr-x 2 root wheel 512 4 lis 07:29 xsane-0.991 # ll /var/db/pkg/ | grep usb drwxr-xr-x 2 root wheel 512 4 lis 17:36 libusb-0.1.12_1 # usbdevs -d -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00 uhub0 port 1 powered port 2 addr 2: full speed, self powered, config 1, USB2.0 Scanner(0x0409), Hewlett-Packard.(0x055f), rev 1.00 ugen0 Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00 uhub1 port 1 powered port 2 powered # sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. # No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. found USB scanner (vendor=0x055f [Hewlett-Packard.], product=0x0409 [USB2.0 Scanner], chip=SQ113) at libusb:/dev/usb0:/dev/ugen0 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. # sane-find-scanner -vvv This is sane-find-scanner from sane-backends 1.0.18 # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. searching for SCSI scanners: checking /dev/scanner... failed to open (Invalid argument) checking /dev/scanner0... failed to open (Invalid argument) checking /dev/scanner1... failed to open (Invalid argument) checking /dev/pass0... open ok found SCSI disk IBM DNES-309170W SAH0 at /dev/pass0 checking /dev/pass1... open ok found SCSI disk MAXTOR ATLAS10K4_36WLS DFV0 at /dev/pass1 checking /dev/pass2... failed to open (Invalid argument) checking /dev/pass3... failed to open (Invalid argument) checking /dev/pass4... failed to open (Invalid argument) checking /dev/pass5... failed to open (Invalid argument) checking /dev/pass6... failed to open (Invalid argument) checking /dev/pass7... failed to open (Invalid argument) # Your SCSI scanner was detected. It may or may not be supported by SANE. Try # scanimage -L and read the backend's manpage. searching for USB scanners: checking /dev/uscanner... failed to open (Invalid argument) checking /dev/uscanner0... failed to open (Invalid argument) checking /dev/uscanner1... failed to open (Invalid argument) checking /dev/uscanner2... failed to open (Invalid argument) checking /dev/uscanner3... failed to open (Invalid argument) checking /dev/uscanner4... failed to open (Invalid argument) checking /dev/uscanner5... failed to open (Invalid argument) checking /dev/uscanner6... failed to open (Invalid argument) checking /dev/uscanner7... failed to open (Invalid argument) checking /dev/uscanner8... failed to open (Invalid argument) checking /dev/uscanner9... failed to open (Invalid argument) checking /dev/uscanner10... failed to open (Invalid argument) checking /dev/uscanner11... failed to open (Invalid argument) checking /dev/uscanner12... failed to open (Invalid argument) checking /dev/uscanner13... failed to open (Invalid argument) checking /dev/uscanner14... failed to open (Invalid argument) checking /dev/uscanner15... failed to open (Invalid argument) device 0x055f/0x0409 is not configured # No USB scanners found. If you expected something different, make sure that # you have loaded a kernel driver for your USB host controller and have setup # the USB system correctly. See man sane-usb for details. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. done # usbdevs -d -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00 uhub0 port 1 powered port 2 addr 2: full speed, self powered, config 1,
Re: adding an extra hard disk and adding space to /usr
On Sat, 04 Nov 2006 13:39:48 +0100 O. Hartmann [EMAIL PROTECTED] wrote: You should also put /usr/src and /usr/obj on different devices, prefereably /usr/obj not on the system or any high I/O data device (if not on RAID). This speeds up buildworld! Does this make a real difference? Ie, does it cut the buildworld time in half, or at least cut off a third of buildworld time? Assuming i386 with ata disks, or amd64 with sata disks? Inquring minds want to know. -- Regards, Torfinn Ingolfsen, Norway ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding an extra hard disk and adding space to /usr
On 11/4/06, Torfinn Ingolfsen [EMAIL PROTECTED] wrote: On Fri, 03 Nov 2006 17:17:33 -0500 Matt Smith [EMAIL PROTECTED] wrote: Hello all, I have a machine that just had a new HD added to it as ad1 and I want to ADD this new disk onto the already existing /usr partition. What's the best and safest way to do it? In my experience, there are only a handful of directories in /usr that uses lots of disk space. And they are related to two things: - building the system (/usr/src and /usr/obj) - building ports (/usr/ports, more specifically /usr/ports/distfiles) /usr/local /usr/X11R6 /usr/home (or just /home) try du -d1 -h /usr to see where the biggest stuff things etc are. -- -- ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Linksys WPC54G V3 problem
I have searched through the mobile list and followed all advice I could find to no avail. I am able to get FreeBSD 6.1-Release to recognize and load my Linksys WPC54G V3 using ndsigen. The interface ndis0 comes up and if I issue a 'ifconfig ndis0 scan' it will see my Linksys router however It doesn't associate to it. I tried to send this on Oct 20th but it never came through on the mobile list, so I am sending to both lists. I can set the IP and the netmask but it will not set the ssid or channel properly, which I believe is at the root of my problem. I enabled several debuging options in /boot/loader.conf and then rebooted using verbose logging. Here is my dmesg output: Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE-p10 #1: Fri Oct 13 21:45:22 MST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DEV-LAPTOP Preloaded elf kernel /boot/kernel/kernel at 0xc0b7e000. Preloaded elf module /boot/kernel/if_ndis.ko at 0xc0b7e14c. Preloaded elf module /boot/kernel/ndis.ko at 0xc0b7e1f8. Preloaded elf module /boot/kernel/bcmwl5_sys.ko at 0xc0b7e2a4. Preloaded elf module /boot/kernel/wlan_wep.ko at 0xc0b7e354. Preloaded elf module /boot/kernel/acpi.ko at 0xc0b7e404. Calibrating clock(s) ... i8254 clock: 1097801 Hz 1097801 Hz differs from default of 1193182 Hz by more than 1% Timecounter i8254 frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 647189055 Hz CPU: Intel Pentium III (647.19-MHz 686-class CPU) Origin = GenuineIntel Id = 0x683 Stepping = 3 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 268283904 (255 MB) Physical memory chunk(s): 0x1000 - 0x0009efff, 647168 bytes (158 pages) 0x0010 - 0x003f, 3145728 bytes (768 pages) 0x00c25000 - 0x0fb22fff, 250601472 bytes (61182 pages) avail memory = 253038592 (241 MB) bios32: Found BIOS32 Service Directory header at 0xc00ffe80 bios32: Entry = 0xffe90 (c00ffe90) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf+0xc0ae pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f:e2f4 Rev = 1.0 pnpbios: Event flag at 4b4 Other BIOS signatures found: wlan: 802.11 Link Layer null: null device, zero device random: entropy source, Software, Yarrow nfslock: pseudo-device io: I/O kbd: new array size 4 kbd1 at kbdmux0 mem: memory Pentium Pro MTRR support enabled rr232x: RocketRAID 232x controller driver v1.02 (Oct 13 2006 21:44:36) npx0: INT 16 interface acpi0: DELL CPi R on motherboard acpi0: [MPSAFE] pci_open(1):mode 1 addr port (0x0cf8) is 0x8060 pci_open(1a): mode1res=0x8000 (0x8000) pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=71908086) pcibios: BIOS version 2.10 Found $PIR table, 6 entries at 0xc00fbd20 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded07D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded10A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded10B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded03A 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded03B 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded08A 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded08B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded0 13A 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded0 17A 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded0 17B 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded0 17C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded0 17D 0x62 3 4 5 6 7 9 10 11 12 14 15 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 7 func 0 atpic: Programming IRQ9 as level/low pci_link0: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link0: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link0: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link1: Links after initial probe: Index IRQ Rtd Ref IRQs 05 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link1: Links after initial validation: Index IRQ Rtd Ref IRQs 05 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link1: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link2: Links after initial probe: Index IRQ Rtd Ref IRQs 0 10 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link2: Links after initial validation: Index IRQ Rtd Ref IRQs 0 10 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link2: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link3: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link3: Links after initial validation: Index
加入pollster會員送你趴趴走智慧型自動充 電吸塵器+補充包
[1][USEMAP:index.gif] [EMAIL PROTECTED] [EMAIL PROTECTED] [3]?? ? n?u?W ???g???v?T?K?`?? Pollster?u?W?? ?E[4] ?A?? ?E [5]???p?v?F?? ?i?K?S?u?W?? Pollster on-line Research. All rights reserved.c ?A???q???G(02)8751-0999 ???A???u?G(02)8751-0998 [Counter.png?pid=930cid=1] References 1. LYNXIMGMAP:file://localhost/tmp/tmp5Phd3n.html#Map3 2. http://www.pollster.com.tw/ 3. http://benqbenq.com/silva/q10/01.htm 4. http://www.pollster.com.tw/ 5. http://www.pollster.com.tw/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]