Re: D-Link NIC.
On 03/06/05 01:45:48, gabriel wrote: Interestingly enough, even though I've compiled the driver into the kernel, the card isnt recognized by it. dolores# kldload if_ath.ko kldload: can't load if_ath.ko: File exists dolores# interface if_ath.1 already present in the KLD 'kernel'! and nothing in ifconfig. I think I'm out of options? Should I give up? Try to narrow your problem. I have had issues with wireless security in the past. The way I got it working was to disable all security on the ap to get a connection, then work my way to the securest config I could get tell it stopped working. Never give up! If you compiled your driver into the kernel and you have a bin file that came with your driver it won't work until you make the bin file a shared object and put it somewhere like /boot/modules. Here is some info and links: Card: D-Link DWL-520 (Rev D1) Chipset: Realtek RTL8180 (rev 20) pciid: 10ec:8180 Driver: ftp://202.65.194.18/cn/wlan/rtl8180l/ndis5x-8180(173).zip Driver: http://ultimate.kicks-ass.net/drivers/ndiswrapper/ndis5x-8180 (173).zip Other: AP isnt found automagically but iwlist wlan0 scan shows AP's. WEP untested. Debian sarge. kernel-2.6.8-2. ndiswrapper-1.0 http://ndiswrapper.sourceforge.net/phpwiki/index.php/List?PHPSESSID=007e10656724d8c88d0669e8f82ef943 http://support.dlink.com/products/ http://acx100.sourceforge.net/ http://www.seattlewireless.net/index.cgi/DlinkCard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2005-02-13 - 2005-03-05
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
asking for a help, about FreeBSD compatibility with HP nx9020 (Laptop)
Hello, i plan to begin use freeBSD in my home computer, i'd like to ask You: does my laptop HP nc9020 is compatiable with freeBSD? what is extra points of configuring Xorg server and compiling kernel? p.s. sorry for my language :-) (i am from Lithuania) -- Tomas Bersnas U NSC P koordinatorius tel.: 8 699 59968 8 675 05824 [EMAIL PROTECTED] http://distance.su.lt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: asking for a help, about FreeBSD compatibility with HP nx9020 (Laptop)
Hi Tomas, i plan to begin use freeBSD in my home computer, i'd like to ask You: does my laptop HP nc9020 is compatiable with freeBSD? what is extra points of configuring Xorg server and compiling kernel? I don't know this laptop, but you may try the following: Download the FreeSBIE CD, burn it and try to boot it with your laptop. If it succeeds, FreeBSD will run on your machine. You can get FreeSBIE here: http://www.freesbie.org/ -volker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
removing p5-File-Temp from portversions upgrade list ?
Hi, System : FreeBSD 5.3-RELEASE-p5 #38: Sat Mar 5 15:13:47 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BENI-53 i386 I followed the 20050201 ports/UPDATING magic incantations to update perl (and I updated the ruby-port as well- 20050224). Now if I do a portversion | grep '', I get the answer that the p5-File-Temp needs to be upgraded. But when trying to portupgrade, I get the following message : localhost# portupgrade -rR p5-File-Temp ** Port marked as IGNORE: devel/p5-File-Temp: This module is already included in perl 5.8.x and later. localhost# I hope that this means that with every update of perl, that file will also be included and thus upgraded. So, how do I get the p5-File-Temp out of the portversion-list of files that need to be upgraded ? Thanks. -- Beni. pgpeLZzFL3WSk.pgp Description: PGP signature
Re: Cannot print
On Sat, Mar 05, 2005 at 11:56:20PM +, Vittorio wrote: I checked my old messages.0.bz2 at the very beginning of my trying to set the printing system up I found a line reading Interrupt storm detected on irq7: lpt0; throttling interrupt source Which from the following bootups disappeared. I think that this is the key of the problem, My question is: What triggers that line? From §9.3.1.3.1 of the Handbook: The interrupt-driven method is usually somewhat faster but uses up a precious IRQ line. Some newer HP printers are claimed not to work correctly in interrupt mode, apparently due to some (not yet exactly understood) timing problem. These printers need polled mode. You should use whichever one works. Some printers will work in both modes, but are painfully slow in interrupt mode. In one of your recent messages, you showed a piece of dmesg that showed the port being in polled mode. But that will probably have been later than the time of the line in messages.0.bz2. Apart from the setting in /boot/device.hints, you can also use lpcontrol or the BIOS to set the port's mode. Roland -- R.F. Smith /\ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ /No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \Respect for open standards pgp3b1dR9lMfK.pgp Description: PGP signature
Xircom realport2
Greetings I have been trying to get a Xircom Realport2 (R2BE-100) Cardbus working in a laptop under FreeBSD 5.3. I have tried to compile a new GENERIC kernel but it will give me an error or lock up. I have searched the web and have not found much information on this. I did find one page that said NEWCARD does not work well with the Xircom cards but most references seem to be at least 2 years old. Does anyone know if these cards have been made to work under FreeBSD or am I just chasing shadows? Tony __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
quick q
Hi guys, sorry to bother you but this was my last resort since the forum could not help me. I added device sound, and device snd_emu10k1 to my kernel, i compiled and at restart i hear the music but then it cuts off at the end. By any chanse do you know why? thank you for the time taken to help me. krnload sais it is already loaded and krnstat doesn't show any sound loaded. but if i do a grep or another command it shows my sound blaster card which it corectly detected it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running vsftpd standalone vs inetd
Pat Maddox [EMAIL PROTECTED] writes: Is it better to run vsftpd standalone or using inetd? A friend of mine told me that it's more secure to do it standalone, and apparently that's the recommended method now. Somewhat, yes. A lot of people don't trust inetd at all, and most of its advantages can be overcome by just buying a little more memory. If that's the case, how do I go about getting vsftpd to run when the machine boots up? It doesn't look like there's a vsftpd_enable that I can use, like I can with other services. No, looks like you'll have to write your own startup script. No big deal -- just look at man rc. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help configuring ssh pub keys instead of passwords
On Sat, 5 Mar 2005 13:38:39 -0500, Brent wrote [SNIP] i then tried to use the key from a winblows putty ssh client and i get the folowing error when trying to login to the unix box Unable to use key file C:\id_dsa (OpenSSH SSH2 private key) Any help is very appreciated You need to use puttygen to convert the key from openssh format (id_dsa) to putty's own format (.ppk) -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running vsftpd standalone vs inetd
Hi Pat, I wrote this to startup vsftpd. It is not the prettiest script and I am sure there is a way to do it better but it will give you a start. Place it in your /usr/local/etc/rc.d directory and make it executable. #!/bin/sh echo -n 'vsftpd' case $1 in start) echo Starting vsftpd ... /usr/local/sbin/vsftpd ;; stop) echo Stopping vsftpd ... killall vsftpd ;; *) echo Usage: 'basename $0' {start|stop} 2 exit 64 ;; esac exit 0 Hope that helps. Lowell Gilbert wrote: Pat Maddox [1][EMAIL PROTECTED] writes: Is it better to run vsftpd standalone or using inetd? A friend of mine told me that it's more secure to do it standalone, and apparently that's the recommended method now. Somewhat, yes. A lot of people don't trust inetd at all, and most of its advantages can be overcome by just buying a little more memory. If that's the case, how do I go about getting vsftpd to run when the machine boots up? It doesn't look like there's a vsftpd_enable that I can use, like I can with other services. No, looks like you'll have to write your own startup script. No big deal -- just look at man rc. References 1. mailto:[EMAIL PROTECTED] No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.5.5 - Release Date: 3/1/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Swapping hard drives
Ralph wrote: Hello folks I'm looking to do a quick swap on a hard disk I currently have in my FreeBSD file-server. It's an old 30Gb disk, and I've bought a nice, new big one to replace it. The problem is, I'm not sure what the best way to do this is. I have Samba shares on there, and other things, and as far as I'm concerned it's better if the system doesn't know [or care] that the disk is being swapped out, does that make sense? I guess what I'm asking is this, what's the best way to do a swap like this? Put the new disk in your server, partition it similarly to the old disk, format, and copy over your data. Then remove the old disk and reuse its connectors for your new disk (or just update /etc/fstab). The idea is that your old filesystem is, say, /dev/ad2s1e. That's what you want your new one to be. All you need to do, really, is juggle IDE cables or SCSI IDs to make that happen. You can also do an over-the-network copy, but that will obviously be much slower and requires two FreeBSD computers besides. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What's the minimum memory for a process in FreeBSD 5.3?
I wrote a very tiny program in C that occupies a mere 7417 bytes on disk. When I run it, however, and look at it with top, it shows the size as 1,208,320 bytes in total size, with 663,552 bytes resident. Where are the extra 1.2 million bytes coming from? What's the rock-bottom minimum size for a process in FreeBSD 5.3? For comparison, the same program running under Windows XP uses about 1,372,160 bytes. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.3 jail
Hello! I need help. I try to make jail: make world DESTDIR= but got message, which description I found in /usr/src/UPDATING 20010919: There's a bug in the world build process. The cross-tools are build with the NEW headers, but the OLD libc.a. This leads to all kinds of problems with the new libc. A temporary workaround is to add CFLAGS=-O -pipe -D_OLD_STDIO before building world when upgrading from 4.x to current. This can be removed afterwards. A proper fix to the buildworld target is needed. Then I add -D_OLD_STDIO to the /etc/make.conf: CFLAGS= -O -pipe -D_OLD_STDIO But I get this error again. Tell me please? what can I do? Konstantin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help! I am in beeg trouble.
I can't run fsck -p because the slices are mounted RO. However, fsck -p did tell me that there's an inconsistency on / ... which may have been the result of my having to do a reset after f** KDE froze (and I didn't have sshd running to kill it from outside). A good reason for me to put fsck in the init sequence. (And the very reason why I started exploring other window managers in the first place.) Is it possible to fsck from the live CD? It looks like some files are missing from the Fixit mode. Marko --- Brent [EMAIL PROTECTED] wrote: by the sounds of it...seems the slices were mounted with read only options set. try mounting the partitions manually something like mount /dev/ad1s1a / mount /dev/ad1s1e /usr mount /dev/ad1s1f /var just make sure that you have the device name correctly and what the correct mount point. or try ok boot -s # fsck -p # mount -u / # mount -a -t ufs # swapon -a __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's the minimum memory for a process in FreeBSD 5.3?
On Sun, Mar 06, 2005 at 03:36:26PM +0100, Anthony Atkielski wrote: I wrote a very tiny program in C that occupies a mere 7417 bytes on disk. When I run it, however, and look at it with top, it shows the size as 1,208,320 bytes in total size, with 663,552 bytes resident. Where are the extra 1.2 million bytes coming from? What's the rock-bottom minimum size for a process in FreeBSD 5.3? Shared libraries, stack space, heap space. Roland -- R.F. Smith /\ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ /No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \Respect for open standards pgpd7d1PpFbv4.pgp Description: PGP signature
Re: Using META and DEL keys in console
On Thu, 3 Mar 2005 15:40:25 -0600 (CST) Lars Eighner [EMAIL PROTECTED] wrote: On Thu, 3 Mar 2005, Alejandro Pulver wrote: Where is the (complete) list of scancodes and which keys produce them? If there is not, as I think, how can I know what scancode is produced by each key in my keyboard (a program, maybe)? As a practical matter, for the console keyboard I generally work backwards from a known keymap (one of the distribution keymaps), and cut and try. man 5 kbdmap lists all the values you can assign to key combinations (note the 5 - otherwise you are likely to get man 1 kbdmap by default). Notice that you can use kbdmap or kbdcontrol to load a keymap to experiment with and you do not have to reboot to see what happens. I find this works very well with American PC keyboards where there are only a handful of keys that are in doubt, even with fairly esoteric models, like butterflies with two keypads. The distribution maps, after all, were not put together by crazy people, so the unshifted values of most of the keys are pretty logical. [snipped] Your answer helped me much. Thanks and Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's the minimum memory for a process in FreeBSD 5.3?
Roland Smith writes: Shared libraries, stack space, heap space. Why would shared libraries be charged against the process--they should be common to every process, right? How much stack and heap space is allocated by default, and is it individually or globally configurable? I'm not hurting for memory at the moment, I'm just wondering how it's done. The largest process I have running on the production server at the moment is named, but I think most of that memory is for the DNS cache. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATA Tagged Queuing? (2nd attempt to get an answer)
On 03/05/05 05:43:52, Kjell B. wrote: I sent the below question a month ago, but received no answer. Therefore, I resend it in the hope of getting one now. -- I'm considering turning on Tagged Command Queuing in my ATA system. My disks are all Hitachi 7K250 (two HDS722512VLAT80 and one HDS722516VLAT80) which according to Hitachi support this feature (queue depth = 32). However, I read in http://lists.freebsd.org/pipermail/freebsd-current/2003-July/007378.html that there may be problems doing this and not really improving performance. Is that recommendation still valid or should I go for it? My uname: [homebell] ~ uname -a FreeBSD homebell.dyndns.org 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: Mon Oct 18 21:48:34 CEST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOMEBELLapmipfw i386 -- Kjell ___ Iread some where FreeBSD only supported ibm drives for that, but then all support was throuwn out because nobody used it. If you want performance try a NCQ SATA II drive. If you only have ATA TCQ then get a raptor for max performance. If it is a desktop then leave it off, TCQ is a server feature and slows down normal desktop workloads. www.storagereview.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Moving a slice
Hello, I have two IDE hard disks, the first has W2K and WXP, the second has a GNU/Linux Debian Sarge (for booting purposes only) and a FreeBSD 5.3. The Linux slice is the number 1, but the FreeBSD slice is number 4. There is a long story behind this, when I was looking for UNIX like Operating Systems (I had two Linux and one Linux Swap slices, but I removed them). At the end I choose FreeBSD. Here is my slice layout: # fdisk -s /dev/ad2: 79656 cyl 16 hd 63 sec PartStartSize Type Flags 1: 6320466747 0x83 0x00 4:4094968538909430 0xa5 0x80 # fdisk *** Working on device /dev/ad2 *** parameters extracted from in-core disklabel are: cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 131 (0x83),(Linux native) start 63, size 20466747 (9993 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 40949685, size 38909430 (18998 Meg), flag 80 (active) beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 There is a lot of free space after and before FreeBSD slice. I would like to know if is possible to move the entire FreeBSD slice (with 'dd', for example) to the end of the Linux slice, and then change the starting point in the slice table, and then change '4' into '2'. So there is no free space between the slices and the numbering is correct. I think 'dd' will not overrite some parts of the slice with others because it is copying the data backwards, not forward. Just for curiousity: Can I make 'dd' copy the data backwards (I mean, the same result but instead of copying 1 to dst, 2 to dst+1, etc.; copies last to dst, last-1 to dst+1, etc.)? Is possible to make such modification to 'dd'? I plan to use this to move a slice forward. I guess I will have to use a bootable CD to boot a FreeBSD system (like FreeSBIE) to move the slice. Here are my results in bytes to pass to 'dd' (are they correct?): PartStart Size 1: 32256 10478974464 (9993 Meg) 4: 20966238720 (19994 Meg) 19921628160 (18998 Meg) What does the line Warning: BIOS sector numbering starts with sector 1 mean? It is an error? Does the filesystem has to do with the phisical location of the slice (according to the BSD label I think is does not, because it uses offsets, not absolute values)? Do I have to modify other file than '/etc/fstab' (like a loader configuration file)? I appreciate any recommendations/considerations/instructions/warnings. Thanks and Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with libgphoto2, Canon Ixus v2 (USB) and 5.3-STABLE
Hi there, I've tried to download a few pics from my Canon Ixus v2 camera with libgphoto2 (frontends: kamera and gphoto2) without success. The camera is supported though, I even used libgphoto2 successfully on a Linux system with an older version of the lib (which I don't remember!). I've tried to add several traces to libgphoto2 to see where the problem was happening. I get as deep as usb_bulk_read but I haven't investigated further at the moment. libusb, libgphoto2 and gphoto2 have all been compiled from the ports collection, one time with and the other time without optimization flags, leading to the same result. Below is the output of gphoto2 --debug -l, in which there are some extra traces left (beginning with Olivier:). I see a strange 'Canon:PowerShot S200' at some point, but have not made anything of that. I've no special tweaks for usb. FreeBSD version is 5.3-STABLE, compiled with the following for usb (in case it would help): # USB support device uhci# UHCI PCI-USB interface #device ohci# OHCI PCI-USB interface device usb # USB Bus (required) #device udbp# USB Double Bulk Pipe devices device ugen# Generic device uhid# Human Interface Devices device ukbd# Keyboard device ulpt# Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse #device urio# Diamond Rio 500 MP3 player #device uscanner# Scanners Feel free to ask if you would like more information! Thanks for reading. Regards, Olivier PS: This post has been submitted to both the freebsd-questions and gphoto-devel mailing lists because it might interest both. No follow-up nor reply to! 0.33 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: 0.001896 main(2): gphoto2 2.1.5 0.002171 main(2): gphoto2 has been compiled with the following options: 0.002470 main(2): + cc (C compiler used) 0.002728 main(2): + popt (for handling command-line parameters) 0.003014 main(2): + exif (for displaying EXIF information) 0.003292 main(2): + no cdk (for accessing configuration options) 0.003579 main(2): + aa (for displaying live previews) 0.003852 main(2): + jpeg (for displaying live previews in JPEG format) 0.004147 main(2): + readline (for easy navigation in the shell) 0.004443 main(2): libgphoto2 2.1.5 0.004698 main(2): libgphoto2 has been compiled with the following options: 0.004996 main(2): + cc (C compiler used) 0.005254 main(2): + EXIF (for special handling of EXIF files) 0.005537 main(2): + no ltdl (working around buggy libltdl, eh? :-) 0.005846 main(2): + no /proc/meminfo (adapts cache size to memory available) 0.006158 main(2): libgphoto2_port 0.5.1 0.006420 main(2): libgphoto2_port has been compiled with the following options: 0.006723 main(2): + cc (C compiler used) 0.007058 main(2): + USB (for USB cameras) 0.007319 main(2): + serial (for serial cameras) 0.007582 main(2): + no resmgr (serial port access and locking) 0.007864 main(2): + no baudboy (serial port locking) 0.008131 main(2): + no ttylock (serial port locking) 0.008403 main(2): + no lockdev (serial port locking) 0.008669 main(2): + no ltdl (working around buggy libltdl, eh? :-) 0.009132 main(2): The user has not specified both a model and a port. Try to figure them out. 0.009496 gp-port-info-list(2): Loading io-drivers from '/usr/local/lib/gphoto2_port/0.5.1'... 0.010304 gphoto2-port-serial(2): Trying to lock '/dev/cuaa0'... 0.013833 gphoto2-port-serial(2): Trying to lock '/dev/cuaa1'... 0.014186 gphoto2-port-serial(2): Trying to lock '/dev/cuaa2'... 0.014505 gphoto2-port-serial(2): Trying to lock '/dev/cuaa3'... 0.014822 gphoto2-port-serial(2): Trying to lock '/dev/cuaa4'... 0.015138 gphoto2-port-serial(2): Trying to lock '/dev/cuaa5'... 0.015456 gphoto2-port-serial(2): Trying to lock '/dev/cuaa6'... 0.015771 gphoto2-port-serial(2): Trying to lock '/dev/cuaa7'... 0.016088 gphoto2-port-serial(2): Trying to lock '/dev/cuaa8'... 0.016406 gphoto2-port-serial(2): Trying to lock '/dev/cuaa9'... 0.016725 gphoto2-port-serial(2): Trying to lock '/dev/cuaaa'... 0.017041 gphoto2-port-serial(2): Trying to lock '/dev/cuaab'... 0.017360 gphoto2-port-serial(2): Trying to lock '/dev/cuaac'... 0.017676 gphoto2-port-serial(2): Trying to lock '/dev/cuaad'... 0.017992 gphoto2-port-serial(2): Trying to lock '/dev/cuaae'... 0.018307 gphoto2-port-serial(2): Trying to lock '/dev/cuaaf'... 0.019431 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so' 0.042286 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so' 0.042929 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:/dev/usb1,/dev/ugen0)
Re: D-Link NIC.
Subhro [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of gabriel Sent: Sunday, March 06, 2005 2:57 To: freebsd-questions Subject: Re: D-Link NIC. Can anyone provide any insight? ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 ether 00:11:95:87:8b:e4 media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid channel -1 authmode OPEN powersavemode OFF powersavesleep 100 rtsthreshold 2312 protmode CTS wepmode OFF weptxkey 1 dolores# How do you set up the NIC? I use a small script to load and unload the driver: #!/bin/sh case $1 in start) echo Activating WLAN kldload ndis kldload if_ndis ifconfig ndis0 ssid ec60bfg3b4 wepkey 1:0x12345678911234567891123456 wepmode on ifconfig ndis0 inet 192.168.1.49 route add 0.0.0.0 192.168.1.1 ;; stop) echo Deactivating WLAN kldunload if_ndis kldunload ndis ;; esac exit 0 DHCP works as well, but I don't use it. if I try to use dhcp the ip address will just go to zeroes. :\ Are you positive that the DHCP function of your AP works perfectly? I am asking thing because I have come across a couple of routers which happily routes packets to static IPs but messes everything up as soon as it is asked to handle DHCP. I guess the DHCP server is working, but Gabriel's kernel is lacking device bpf which is needed for dhclient. Otherwise the IP is set to 0.0.0.0 without error message, just as described. Also I strongly feel something fishy in the WLAN interface being detected as ndisX instead of wiX. This is expected behaviour. Regards Fabian -- http://www.fabiankeil.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: D-Link NIC.
Thats a good script. How did you install the ndis driver/wrapper? - Cause I think some of the problem may be there. Cheers! On Sun, 6 Mar 2005 19:54:38 +0100, Fabian Keil [EMAIL PROTECTED] wrote: Subhro [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of gabriel Sent: Sunday, March 06, 2005 2:57 To: freebsd-questions Subject: Re: D-Link NIC. Can anyone provide any insight? ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 ether 00:11:95:87:8b:e4 media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid channel -1 authmode OPEN powersavemode OFF powersavesleep 100 rtsthreshold 2312 protmode CTS wepmode OFF weptxkey 1 dolores# How do you set up the NIC? I use a small script to load and unload the driver: #!/bin/sh case $1 in start) echo Activating WLAN kldload ndis kldload if_ndis ifconfig ndis0 ssid ec60bfg3b4 wepkey 1:0x12345678911234567891123456 wepmode on ifconfig ndis0 inet 192.168.1.49 route add 0.0.0.0 192.168.1.1 ;; stop) echo Deactivating WLAN kldunload if_ndis kldunload ndis ;; esac exit 0 DHCP works as well, but I don't use it. if I try to use dhcp the ip address will just go to zeroes. :\ Are you positive that the DHCP function of your AP works perfectly? I am asking thing because I have come across a couple of routers which happily routes packets to static IPs but messes everything up as soon as it is asked to handle DHCP. I guess the DHCP server is working, but Gabriel's kernel is lacking device bpf which is needed for dhclient. Otherwise the IP is set to 0.0.0.0 without error message, just as described. Also I strongly feel something fishy in the WLAN interface being detected as ndisX instead of wiX. This is expected behaviour. Regards Fabian -- http://www.fabiankeil.de -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW config
SigmaX [EMAIL PROTECTED]: I have a FreeBSD 5.3 server that I access over SSH. I followed the handbook guide to loading the ipfw kernel module to setup a firewall. I made the mistake the other day of loading the firewall, which defaults to block all, and rebooting, so I couldn't get into the system again (Had to drive in and fix it :-P). Anyway, what I need to know is how to /usr/share/examples/ipfw/change_rules.sh: # Change ipfw(8) rules with safety guarantees for remote operation # # Invoke this script to edit ${firewall_script}. It will call ${EDITOR}, # or vi(1) if the environment variable is not set, for you to edit # ${firewall_script}, ask for confirmation, and then run # ${firewall_script}. You can then examine the output of ipfw list and # confirm whether you want the new version or not. # # If no answer is received in 30 seconds, the previous # ${firewall_script} is run, restoring the old rules (this assumes ipfw # flush is present in it). Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.3 and building world
Alright so when upgrading to 5.3 from 5.2 I cvsuped the source which obviously got GENERIC overwritten. My question is, besides the instructions on /usr/src/Makefile(?) is there another way to update the source and be able to specify a custom kernel? Cheers! -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about ipfw, natd and port forwarding.
Deling Ren [EMAIL PROTECTED]: Hi all, I am trying to setup a NAT box for my home network on freebsd 5.3. I am using ipfw and natd. I already got nat running but I am having problem with port forwarding. I am trying to forward port 80 on the nat box to an internal machine (192.168.0.7). I have the following as part of I have no problem connecting port 80 on the nat box from outside. But as I added stateful ipfw rules, it stops working. Running nmap from outside says port 80 is filtered. I am not sure how to configure the rules to enable port forwarding. Any help will be appreciated. Thanks. 5 allow ip from any to any via $iif This is a limitation of ipfw, nat cannot be used with keep-state rules. If $iif above is ppp you can get around this by configuring ppp(8) to perform nat. Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help! I am in beeg trouble.
This works from single-user mode: # fsck -p # mount -u / # mount -a -t ufs # swapon -a But when I exit SUM for MUM, I'm back to the same problem of usr/bin/login not being found. My new theory is that portupgrade did something to my set-up. All the slices are healthy and all the data is visible. I am going to try a minimal upgrade from the installation disc to see if that will set things right. m! --- Brent [EMAIL PROTECTED] wrote: by the sounds of it...seems the slices were mounted with read only options set. try mounting the partitions manually something like mount /dev/ad1s1a / mount /dev/ad1s1e /usr mount /dev/ad1s1f /var just make sure that you have the device name correctly and what the correct mount point. or try ok boot -s # fsck -p # mount -u / # mount -a -t ufs # swapon -a hope that helps Brent __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 and building world
On Sunday 06 March 2005 11:17 am, gabriel wrote: Alright so when upgrading to 5.3 from 5.2 I cvsuped the source which obviously got GENERIC overwritten. My question is, besides the instructions on /usr/src/Makefile(?) is there another way to update the source and be able to specify a custom kernel? There is a whole chapter on configuring your own kernel. They show you how to cp GENERIC to your own name and then use it. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html They show you both the config way and the new build[install]kernel way of maintaing your kernel. I log everything and have the individual commands in shell scripts so that a mistake won't do something unexpected. Kent Cheers! -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 and building world
Yep, I know enoguh to read through the handbook, the problem lies in the fact that if I use make buildkernel KERNCONF=MYKERNEL I get a stop error which says I have to buildworld first (even though I have before this step). Thats the reason for the question. But thanks anyway Cheers! On Sun, 6 Mar 2005 11:59:55 -0800, Kent Stewart [EMAIL PROTECTED] wrote: On Sunday 06 March 2005 11:17 am, gabriel wrote: Alright so when upgrading to 5.3 from 5.2 I cvsuped the source which obviously got GENERIC overwritten. My question is, besides the instructions on /usr/src/Makefile(?) is there another way to update the source and be able to specify a custom kernel? There is a whole chapter on configuring your own kernel. They show you how to cp GENERIC to your own name and then use it. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html They show you both the config way and the new build[install]kernel way of maintaing your kernel. I log everything and have the individual commands in shell scripts so that a mistake won't do something unexpected. Kent Cheers! -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with libgphoto2, Canon Ixus v2 (USB) and 5.3-STABLE
Hello Olivier I have a Canon D-30 that works out of the box with gphoto2. Just #gphoto2 -P is enough for downloading the pictures. But I have a Canon A80 that refuses to do it without commandline tweaking. #gphoto2 --camera Canon PowerShot A80 (PTP) --port usb: -P If I use the simple command gphoto2 -P with the A80 it fails and I have to restart the computer again to make it work (cause it fails to recognice any usb device). So, I suggest you to to try this command as root: #gphoto2 --camera Canon Digital IXUS v2 --port usb: -P You can list supported cameras with #gphoto2 --list-cameras and try . Tell us your experience. Ramiro. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 and building world
On Sunday 06 March 2005 12:01 pm, gabriel wrote: Yep, I know enoguh to read through the handbook, the problem lies in the fact that if I use make buildkernel KERNCONF=MYKERNEL I get a stop error which says I have to buildworld first (even though I have before this step). Thats the reason for the question. But thanks anyway Ah, you didn't say that. If you cvsup, you have to do the buildworld first. You need to figure out why buildkernel can't find the obj files in /usr/obj. If you already have a current installed world with a generic kernel, you can use the config MYKERNEL way of building a new kernel. Kent Cheers! On Sun, 6 Mar 2005 11:59:55 -0800, Kent Stewart [EMAIL PROTECTED] wrote: On Sunday 06 March 2005 11:17 am, gabriel wrote: Alright so when upgrading to 5.3 from 5.2 I cvsuped the source which obviously got GENERIC overwritten. My question is, besides the instructions on /usr/src/Makefile(?) is there another way to update the source and be able to specify a custom kernel? There is a whole chapter on configuring your own kernel. They show you how to cp GENERIC to your own name and then use it. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelcon fig.html They show you both the config way and the new build[install]kernel way of maintaing your kernel. I log everything and have the individual commands in shell scripts so that a mistake won't do something unexpected. Kent Cheers! -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 and building world
Yeah thats the thing, I guess I should actually paste the error and the sequence. I'll do that when I get home. Cheers! On Sun, 6 Mar 2005 12:19:33 -0800, Kent Stewart [EMAIL PROTECTED] wrote: On Sunday 06 March 2005 12:01 pm, gabriel wrote: Yep, I know enoguh to read through the handbook, the problem lies in the fact that if I use make buildkernel KERNCONF=MYKERNEL I get a stop error which says I have to buildworld first (even though I have before this step). Thats the reason for the question. But thanks anyway Ah, you didn't say that. If you cvsup, you have to do the buildworld first. You need to figure out why buildkernel can't find the obj files in /usr/obj. If you already have a current installed world with a generic kernel, you can use the config MYKERNEL way of building a new kernel. Kent Cheers! On Sun, 6 Mar 2005 11:59:55 -0800, Kent Stewart [EMAIL PROTECTED] wrote: On Sunday 06 March 2005 11:17 am, gabriel wrote: Alright so when upgrading to 5.3 from 5.2 I cvsuped the source which obviously got GENERIC overwritten. My question is, besides the instructions on /usr/src/Makefile(?) is there another way to update the source and be able to specify a custom kernel? There is a whole chapter on configuring your own kernel. They show you how to cp GENERIC to your own name and then use it. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelcon fig.html They show you both the config way and the new build[install]kernel way of maintaing your kernel. I log everything and have the individual commands in shell scripts so that a mistake won't do something unexpected. Kent Cheers! -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 jail
it was said: snip I need help. I try to make jail: make world DESTDIR= but got message, which description I found in /usr/src/UPDATING 20010919: snip Hello, I do not think the problem is the one from 3 and a half years ago. Much more recently the make world DESTDIR= function was broken. It did not work in 5.3-RELEASE and was bug-fixed afterward. See the thread at http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/063925.html (URL may have wrapped) for more details. You should cvsup to 5.3p5 and try again. That is what I am using and it works for me. Good luck, stheg __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's the minimum memory for a process in FreeBSD 5.3?
On Sun, Mar 06, 2005 at 06:37:45PM +0100, Anthony Atkielski wrote: Roland Smith writes: Shared libraries, stack space, heap space. Why would shared libraries be charged against the process--they should be common to every process, right? As I understand it (correct me if I'm wrong), there is only one instance of a shared library in memory. But it is mmapped into the address space of every process that uses it. How much stack and heap space is allocated by default, and is it individually or globally configurable? In a typical process layout in memory, the code (text), initialized data (data) and uninitialized data (bss) are on the low end of the virtual address space (typically starting at page 1), with the heap growing up. The environment, arguments and stack are at the top of the address space, with the stack growing down. Stack and heap space for a process are extended by the kernel as needed. There is a stack limit that can be set with ulimit. Execute 'ulimit -a' to see what is it. So you can set this value, but I'm not sure if this is wise. Setting this limit lower will not make the amount of memory that they use smaller, but they will probably page-fault if they hit the stack limit. I'm not sure that's the behavior you're looking for. :-) Shared libraries are mmaped between the heap and the stack limit, and their pages are marked read-only, AFAIK. Roland -- R.F. Smith /\ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ /No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \Respect for open standards pgpLjZa5g9kgM.pgp Description: PGP signature
Re: Problem with libgphoto2, Canon Ixus v2 (USB) and 5.3-STABLE
On Sun, Mar 06, 2005 at 07:48:16PM +0100, Olivier Certner wrote: Hi there, I've tried to download a few pics from my Canon Ixus v2 camera with libgphoto2 (frontends: kamera and gphoto2) without success. The camera is supported though, I even used libgphoto2 successfully on a Linux system with an older version of the lib (which I don't remember!). In dealing with digital cameras, I've always found it easier to try and mount them as a USB drive (via umass / da), which a lot of them support. If you hook up the camera, is there any mention of a umass device in dmesg? If so you can just mount it as a harddisk. Another option is a memory card reader that you can mount as a drive. Roland -- R.F. Smith /\ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ /No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \Respect for open standards pgpQlYxqeT7pJ.pgp Description: PGP signature
Re: Which lib for pthreads?
On Sat, Mar 05, 2005 at 07:18:31PM -0600, Dan Nelson wrote: : In the last episode (Mar 05), Jonathon McKitrick said: : Linux lets me use -pthread, but under BSD I get 'undefined symbol : pthread_mutex_lock.' : : What's the correct linker syntax for pthreads? : : That would be it. It should work on 4.* and 5.*. I found -lc_r does the trick. Not what I was expecting. Jonathon McKitrick -- My other computer is your Windows box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reload rc.conf without rebooting
On Sat, 5 Mar 2005, Ben Munat wrote: Sigh... I just want my delete key to work... I got a response a while back to edit the keymap and set it in rc.conf (which is how I got off on that whole reload rc.conf thing). This might help: http://www.ibb.net/~anne/keyboard.html -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 [EMAIL PROTECTED]
Re: Which lib for pthreads?
On 2005-03-06 21:32, Jonathon McKitrick [EMAIL PROTECTED] wrote: On Sat, Mar 05, 2005 at 07:18:31PM -0600, Dan Nelson wrote: :In the last episode (Mar 05), Jonathon McKitrick said: : Linux lets me use -pthread, but under BSD I get 'undefined symbol : pthread_mutex_lock.' : : What's the correct linker syntax for pthreads? : : That would be it. It should work on 4.* and 5.*. I found -lc_r does the trick. Not what I was expecting. -lpthread should work too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving a slice
On Sun, Mar 06, 2005 at 03:03:19PM -0300, Alejandro Pulver wrote: Hello, I have two IDE hard disks, the first has W2K and WXP, the second has a GNU/Linux Debian Sarge (for booting purposes only) and a FreeBSD 5.3. The Linux slice is the number 1, but the FreeBSD slice is number 4. There is a long story behind this, when I was looking for UNIX like Operating Systems (I had two Linux and one Linux Swap slices, but I removed them). At the end I choose FreeBSD. Here is my slice layout: # fdisk -s /dev/ad2: 79656 cyl 16 hd 63 sec PartStartSize Type Flags 1: 6320466747 0x83 0x00 4:4094968538909430 0xa5 0x80 # fdisk *** Working on device /dev/ad2 *** parameters extracted from in-core disklabel are: cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 131 (0x83),(Linux native) start 63, size 20466747 (9993 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 40949685, size 38909430 (18998 Meg), flag 80 (active) beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 There is a lot of free space after and before FreeBSD slice. I would like to know if is possible to move the entire FreeBSD slice (with 'dd', for example) to the end of the Linux slice, and then change the starting point in the slice table, and then change '4' into '2'. So there is no free space between the slices and the numbering is correct. I think 'dd' will not overrite some parts of the slice with others because it is copying the data backwards, not forward. Just for curiousity: Can I make 'dd' copy the data backwards (I mean, the same result but instead of copying 1 to dst, 2 to dst+1, etc.; copies last to dst, last-1 to dst+1, etc.)? Is possible to make such modification to 'dd'? I plan to use this to move a slice forward. I guess I will have to use a bootable CD to boot a FreeBSD system (like FreeSBIE) to move the slice. Here are my results in bytes to pass to 'dd' (are they correct?): Part Start Size 1:32256 10478974464 (9993 Meg) 4:20966238720 (19994 Meg) 19921628160 (18998 Meg) What does the line Warning: BIOS sector numbering starts with sector 1 mean? It is an error? Does the filesystem has to do with the phisical location of the slice (according to the BSD label I think is does not, because it uses offsets, not absolute values)? Do I have to modify other file than '/etc/fstab' (like a loader configuration file)? I appreciate any recommendations/considerations/instructions/warnings. Thanks and Best Regards, Ale I moved a FreeBSD slice from the end of my hard disk to somewhere close to the beginning a month or so ago, using nothing but dd, and it worked. Please note that the original space occupied by the slice and the place I moved it to did not overlap at all, so I have no idea if you'll run into problems when you overwrite the start of it. It would probably work, but if you have to start over for some reason, you're sunk -- and you'd need some sort of boot media to get it to work.. Maybe you can copy it one partition at a time? Also, beware that the FreeBSD disklabel seems to use absolute offsets instead of relative offsets. If you copy the whole slice at once, something like # bsdlabel /dev/{old slice} /tmp/text-label # bsdlabel -R /dev/{new slice} /tmp/text-label should work, since the human-readable output uses relative offsets. (But beware; I'm just working from memory here and haven't tested those commands at all.) If you copy the data one partition at a time (as I ended up doing for some reason) it's a bit more complicated: you have to set up the disklabel before you start, but then when you copy partition a, the label will be messed up (assuming partition a starts at the beginning of the slice). I just fixed the label again after copying partition a, and it seemed to work, but I can't guarantee that the system won't re-read the label while dd is working and decide that the destination partition is suddenly somewhere else and kill your original slice. Er, just sharing my experience. You might want to wait for furthur guidance, since all this is pretty messy. - James Cook [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printing problem: /dev/ulpt0: device busy
On Fri, 4 Mar 2005, Eugene Rogoza wrote: I'm experiencing certain problems with USB printing. I have a Minolta PagePro 1300W printer connected to USB port. FreeBSD 5.3 recognizes the printer just fine and creates /dev/ulpt0 and /dev/unlpt0 device nodes. Printer model numbers that end in W are often Winprinters, lacking the ability to print plain text. There's more information on this printer and a PBM filter for it here: http://www.linuxprinting.org/show_printer.cgi?recnum=Minolta-PagePro_1300W So you'll have to set up Ghostscript to create PBMs, and then feed them to the PBM-to-Minolta filter, which then feeds them to the printer. -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 [EMAIL PROTECTED]
Re: Which lib for pthreads?
On Sun, Mar 06, 2005 at 11:39:55PM +0200, Giorgos Keramidas wrote: : On 2005-03-06 21:32, Jonathon McKitrick [EMAIL PROTECTED] wrote: : On Sat, Mar 05, 2005 at 07:18:31PM -0600, Dan Nelson wrote: : :In the last episode (Mar 05), Jonathon McKitrick said: : : Linux lets me use -pthread, but under BSD I get 'undefined symbol : : pthread_mutex_lock.' : : : : What's the correct linker syntax for pthreads? : : : : That would be it. It should work on 4.* and 5.*. : : I found -lc_r does the trick. Not what I was expecting. : : -lpthread should work too. H... [EMAIL PROTECTED]:...cvs/tcontainer/libplugina make install cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c plugina.c c++ -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c wrapper.cpp c++ -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c myclass.cpp cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c threads.c cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -lpthread -lstdc++ -g -Wl,-soname,libplugina.so.0 -o libplugina.so.0.0 plugina.o wrapper.o myclass.o threads.o /usr/libexec/elf/ld: cannot find -lpthread *** Error code 1 Stop in /usr/home/jcm/cvs/tcontainer/libplugina. [EMAIL PROTECTED]:...cvs/tcontainer/libplugina What about -pthread? [EMAIL PROTECTED]:...cvs/tcontainer/libplugina make install cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c plugina.c c++ -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c wrapper.cpp c++ -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c myclass.cpp cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c threads.c cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -pthread -lstdc++ -g -Wl,-soname,libplugina.so.0 -o libplugina.so.0.0 plugina.o wrapper.o myclass.o threads.o --- Installing libplugina.so to /home/jcm/lib install -m 644 libplugina.so.0.0 /home/jcm/lib ln -sf libplugina.so.0.0 /home/jcm/lib/libplugina.so.0 ln -sf libplugina.so.0 /home/jcm/lib/libplugina.so [EMAIL PROTECTED]:...cvs/tcontainer/libplugina app /usr/libexec/ld-elf.so.1: /home/jcm/lib/libplugina.so: Undefined symbol pthread_create [EMAIL PROTECTED]:...cvs/tcontainer/libplugina Jonathon McKitrick -- My other computer is your Windows box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gmirror / gstripe
I'm considering making a raid0+1 array out of 4 x 250GB USB drives using gmirror and gstripe on a FreeBSD 5.3 box. Questions: 1) Has anybody done this? What should I watch our for? 2) Stripe then mirror right? (or mirror then stripe? Does it matter?) (I already have a 600gb stripe set on this machine made out of two 300gb drives) John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving a slice
On Sun, Mar 06, 2005 at 04:47:34PM -0500, [EMAIL PROTECTED] wrote: On Sun, Mar 06, 2005 at 03:03:19PM -0300, Alejandro Pulver wrote: Hello, I have two IDE hard disks, the first has W2K and WXP, the second has a GNU/Linux Debian Sarge (for booting purposes only) and a FreeBSD 5.3. The Linux slice is the number 1, but the FreeBSD slice is number 4. There is a long story behind this, when I was looking for UNIX like Operating Systems (I had two Linux and one Linux Swap slices, but I removed them). At the end I choose FreeBSD. Here is my slice layout: # fdisk -s /dev/ad2: 79656 cyl 16 hd 63 sec PartStartSize Type Flags 1: 6320466747 0x83 0x00 4:4094968538909430 0xa5 0x80 # fdisk *** Working on device /dev/ad2 *** parameters extracted from in-core disklabel are: cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 131 (0x83),(Linux native) start 63, size 20466747 (9993 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 40949685, size 38909430 (18998 Meg), flag 80 (active) beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 There is a lot of free space after and before FreeBSD slice. I would like to know if is possible to move the entire FreeBSD slice (with 'dd', for example) to the end of the Linux slice, and then change the starting point in the slice table, and then change '4' into '2'. So there is no free space between the slices and the numbering is correct. I think 'dd' will not overrite some parts of the slice with others because it is copying the data backwards, not forward. Just for curiousity: Can I make 'dd' copy the data backwards (I mean, the same result but instead of copying 1 to dst, 2 to dst+1, etc.; copies last to dst, last-1 to dst+1, etc.)? Is possible to make such modification to 'dd'? I plan to use this to move a slice forward. I guess I will have to use a bootable CD to boot a FreeBSD system (like FreeSBIE) to move the slice. Here are my results in bytes to pass to 'dd' (are they correct?): PartStart Size 1: 32256 10478974464 (9993 Meg) 4: 20966238720 (19994 Meg) 19921628160 (18998 Meg) What does the line Warning: BIOS sector numbering starts with sector 1 mean? It is an error? Does the filesystem has to do with the phisical location of the slice (according to the BSD label I think is does not, because it uses offsets, not absolute values)? Do I have to modify other file than '/etc/fstab' (like a loader configuration file)? I appreciate any recommendations/considerations/instructions/warnings. Thanks and Best Regards, Ale I moved a FreeBSD slice from the end of my hard disk to somewhere close to the beginning a month or so ago, using nothing but dd, and it worked. Please note that the original space occupied by the slice and the place I moved it to did not overlap at all, so I have no idea if you'll run into problems when you overwrite the start of it. It would probably work, but if you have to start over for some reason, you're sunk -- and you'd need some sort of boot media to get it to work.. Maybe you can copy it one partition at a time? Also, beware that the FreeBSD disklabel seems to use absolute offsets instead of relative offsets. If you copy the whole slice at once, something like # bsdlabel /dev/{old slice} /tmp/text-label # bsdlabel -R /dev/{new slice} /tmp/text-label should work, since the human-readable output uses relative offsets. (But beware; I'm just working from memory here and haven't tested those commands at all.) If you copy the data one partition at a time (as I ended up doing for some reason) it's a bit more complicated: you have to set up the disklabel before you start, but then when you copy partition a, the label will be messed up (assuming partition a starts at the beginning of the slice). I just fixed the label again after copying partition a, and it seemed to work, but I can't guarantee that the system won't re-read the label while dd is working and decide that the destination partition is suddenly somewhere else and kill your original slice. Er, just sharing my experience. You might want to wait for furthur guidance, since all this is pretty messy. - James Cook [EMAIL PROTECTED] Oh, I just realized
Re: Problem with libgphoto2, Canon Ixus v2 (USB) and 5.3-STABLE
On Sun, 6 Mar 2005, Roland Smith wrote: On Sun, Mar 06, 2005 at 07:48:16PM +0100, Olivier Certner wrote: I've tried to download a few pics from my Canon Ixus v2 camera with libgphoto2 (frontends: kamera and gphoto2) without success. The camera is supported though, I even used libgphoto2 successfully on a Linux system with an older version of the lib (which I don't remember!). In dealing with digital cameras, I've always found it easier to try and mount them as a USB drive (via umass / da), which a lot of them support. If you hook up the camera, is there any mention of a umass device in dmesg? If so you can just mount it as a harddisk. Agreed. I've never even attempted to use gphoto or anything like it. I just plug in the USB cable and copy files from the camera. Quick and easy, no special software needed. Once the pictures are off the camera, you can have your evil way with them :^) Another nice thing is that I can cd to the directory on the camera's drive where the pictures are stored, and manipulate them from a shell prompt, instead of having to deal with the camera's menu buttons. To make life easier, I have an entry in /etc/fstab: /dev/da0s1 /camera msdos rw,noauto 0 0 ...and a symlink: lrwxr-xr-x 1 chris chris 21 Mar 6 16:59 camera - /camera/dcim/101msdcf (this is for a Sony camera, but you get the idea.) -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror / gstripe
On Sunday, March 6, 2005, at 04:55 PM, John Pettitt wrote: I'm considering making a raid0+1 array out of 4 x 250GB USB drives using gmirror and gstripe on a FreeBSD 5.3 box. Questions: 1) Has anybody done this? What should I watch our for? I haven't done this on FreeBSD or with USB drives (but have on Solaris with SCSI). Make sure all your USB drives always show up as the same device (in /dev) or you may wind up corrupting your system. 2) Stripe then mirror right? (or mirror then stripe? Does it matter?) That is the way I've always done it but I don't see any reason not to do it the other way. Just remember how you did it should you need to recover. (I already have a 600gb stripe set on this machine made out of two 300gb drives) John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X not loading in full screen
On Sat, 5 Mar 2005, Matt Juszczak wrote: I've installed Gnome2 and xorg on my laptop, and it wont load in a full screen window. There is about an inch of black border on each side of the window. I've googled and tried possible suggestions (such as changing the xorg.conf file, etc.) but still no dice. Edit the xorg.conf file to match the native resolution of your notebook screen. For example, something like this: Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth 24 SubSection Display Viewport 0 0 Depth 24 Modes 1024x768 EndSubSection EndSection Make sure you are editing the real xorg.conf file, not just the sample one created by Xorg -configure in your /root directory. I keep xorg.conf in /usr/X11R6/lib/X11, but some use /etc/X11. -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 [EMAIL PROTECTED]
Re: gmirror / gstripe
John Pettitt on 2005-03-06 13:55:22 -0800: 1) Has anybody done this? What should I watch our for? http://people.freebsd.org/~rse/mirror/ is a nice guide for gmirror. pgpcaHv0PRrzx.pgp Description: PGP signature
Re: Mounting iomega zip drive
--- Mike Jeays [EMAIL PROTECTED] escreveu: On Mon, 2005-02-21 at 19:34, E. J. Cerejo wrote: I use to be able to mount my paralell zip drive with the following command under Fbsd 4.x: mount -t msdos /dev/da0s4 /zip now I'm running 5.3 I can't, what changed? I noticed that there is only da0 in my /dev directory, I have this in my kernel: # SCSI peripherals device scbus # SCSI bus (required for SCSI) #device ch # SCSI media changers device da # Direct Access (disks) #device sa # Sequential Access (tape etc) device atapicam# emulate ATAPI devices as SCSI ditto via CAM device cd # CD device pass# Passthrough device (direct SCSI access) #device ses # SCSI Environmental Services (and SAF-TE) do I need anything else? __ Converse com seus amigos em tempo real com o Yahoo! Messenger http://br.download.yahoo.com/messenger/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try running cdrecord -scanbus, and see if the device number is different. This sounds somewhat similar to a problem I was having with a flash drive and DVD-burner. scsibus0: 0,0,0 0) * 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) 'IOMEGA ' 'ZIP 100 ' 'K.05' Removable Disk 0,7,0 7) * scsibus2: 2,0,0 200) 'JLMS' 'DVD-ROM LTD-166S' 'DS0E' Removable CD-ROM 2,1,0 201) 'LITE-ON ' 'LTR-40125S ' 'ZS0K' Removable CD-ROM 2,2,0 202) * 2,3,0 203) * 2,4,0 204) * 2,5,0 205) * 2,6,0 206) * 2,7,0 207) * Aparently it's there on device 0. Any ideas? ___ Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CGI script executing and Apache help (2nd try important)
I am running FreeBSD-4.8 with Apache 1.3 installed. I changed the htdocs directory in httpd.conf to /home/user1/public_html/ and I added a /cgi-bin/ in the same user directory. Scripts will not execute from the cgi-bin, as the scripts contents are displayed in the browser window. I went through httpd.conf using the search feature in Easy Editor, editing sections that have .cgi in it. Now, I am stumped as to how to get the CGI scripts to execute. Thanks, Shawn B. FreeBSD newbie __ Post your free ad now! http://personals.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CGI script executing and Apache help (2nd try important)
How about pasting that httpd.conf? Cheers! On Sun, 6 Mar 2005 17:19:02 -0500 (EST), Shawn B [EMAIL PROTECTED] wrote: I am running FreeBSD-4.8 with Apache 1.3 installed. I changed the htdocs directory in httpd.conf to /home/user1/public_html/ and I added a /cgi-bin/ in the same user directory. Scripts will not execute from the cgi-bin, as the scripts contents are displayed in the browser window. I went through httpd.conf using the search feature in Easy Editor, editing sections that have .cgi in it. Now, I am stumped as to how to get the CGI scripts to execute. Thanks, Shawn B. FreeBSD newbie __ Post your free ad now! http://personals.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CGI script executing and Apache help (2nd try important)
On Sunday, March 6, 2005, at 05:19 PM, Shawn B wrote: I am running FreeBSD-4.8 with Apache 1.3 installed. I changed the htdocs directory in httpd.conf to /home/user1/public_html/ and I added a /cgi-bin/ in the same user directory. Scripts will not execute from the cgi-bin, as the scripts contents are displayed in the browser window. I went through httpd.conf using the search feature in Easy Editor, editing sections that have .cgi in it. Now, I am stumped as to how to get the CGI scripts to execute. Try searching again. This time for 'cgi-bin'. You will notice there is a section similar to the htdocs bit that defines cgi-bin. If you are going to run a web server it might be prudent to go through the apache configuration and documentation site to try and understand what the configuration file has set up for you. You can find the web server documentation at: http://httpd.apache.org/docs/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror / gstripe
Ean Kingston wrote: On Sunday, March 6, 2005, at 04:55 PM, John Pettitt wrote: I'm considering making a raid0+1 array out of 4 x 250GB USB drives using gmirror and gstripe on a FreeBSD 5.3 box. Questions: 1) Has anybody done this? What should I watch our for? I haven't done this on FreeBSD or with USB drives (but have on Solaris with SCSI). Make sure all your USB drives always show up as the same device (in /dev) or you may wind up corrupting your system. geom labels take care of this - I already have three usb drives on this box and they change device names if I re-plug them and gstripe copes just fine. John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dummynet traffic shaping question (TCP-ACK prioritization)
(question at the end) I have a server that sits on a medium speed link (10Mbit, full duplex) that under certain network loads starts to show what looks like TCP-ACK delay problems. At full upstream saturation the downstream speed is reduced. I modded the firewall rules to prioritize TCP-ACKs into one queue and all other outgoing traffic into another queue. Something like this: ${fwcmd} pipe 1 config ${fwcmd} queue 1 config pipe 1 weight 100 ${fwcmd} queue 2 config pipe 1 weight 1 # Route all outgoing TCP traffic with the ACK flag through the high priority queue ${fwcmd} add queue 1 tcp from any to any out via ${ext_if} tcpflags ack iplen 0-80 # Route all other (established) outgoing TCP traffic through the low priority queue ${fwcmd} add queue 2 tcp from any to any out via ${ext_if} established Looking at the output of 'ipfw show' seems to indicate the queues are getting the packets they should get: 00100 1738731 69778250 queue 1 tcp from any to any out via em0 tcpflags ack iplen 0-80 00200 5133634 7689253633 queue 2 tcp from any to any out via em0 established Even though everything looks OK, the results have not been what I hoped for (same problem with downstream speed during full upstream saturation). My question is: Do I need to tell the pipe how fat it is (${fwcmd} pipe 1 config bw 10Mbit/s) to get the queue prioritization to work properly, or is it OK to leave out the speed and just let it run full tilt? /Daniel Eriksson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving a slice
On 6 Mar 2005 16:47:34 -0500 [EMAIL PROTECTED] wrote: On Sun, Mar 06, 2005 at 03:03:19PM -0300, Alejandro Pulver wrote: Hello, I have two IDE hard disks, the first has W2K and WXP, the second has a GNU/Linux Debian Sarge (for booting purposes only) and a FreeBSD 5.3. The Linux slice is the number 1, but the FreeBSD slice is number 4. There is a long story behind this, when I was looking for UNIX like Operating Systems (I had two Linux and one Linux Swap slices, but I removed them). At the end I choose FreeBSD. Here is my slice layout: # fdisk -s /dev/ad2: 79656 cyl 16 hd 63 sec PartStartSize Type Flags 1: 6320466747 0x83 0x00 4:4094968538909430 0xa5 0x80 # fdisk *** Working on device /dev/ad2 *** parameters extracted from in-core disklabel are: cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 131 (0x83),(Linux native) start 63, size 20466747 (9993 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 40949685, size 38909430 (18998 Meg), flag 80 (active) beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 There is a lot of free space after and before FreeBSD slice. I would like to know if is possible to move the entire FreeBSD slice (with 'dd', for example) to the end of the Linux slice, and then change the starting point in the slice table, and then change '4' into'2'. So there is no free space between the slices and the numbering is correct. I think 'dd' will not overrite some parts of the slice with others because it is copying the data backwards, not forward. Just for curiousity: Can I make 'dd' copy the data backwards (I mean, the same result but instead of copying 1 to dst, 2 to dst+1, etc.; copies last to dst, last-1 to dst+1, etc.)? Is possible to make such modification to 'dd'? I plan to use this to move a slice forward. I guess I will have to use a bootable CD to boot a FreeBSD system (like FreeSBIE) to move the slice. Here are my results in bytes to pass to 'dd' (are they correct?): PartStart Size 1: 32256 10478974464 (9993 Meg) 4: 20966238720 (19994 Meg) 19921628160 (18998 Meg) What does the line Warning: BIOS sector numbering starts with sector 1 mean? It is an error? Does the filesystem has to do with the phisical location of the slice(according to the BSD label I think is does not, because it uses offsets, not absolute values)? Do I have to modify other file than '/etc/fstab' (like a loader configuration file)? I appreciate any recommendations/considerations/instructions/warnings. Thanks and Best Regards, Ale I moved a FreeBSD slice from the end of my hard disk to somewhere close to the beginning a month or so ago, using nothing but dd, and it worked. Please note that the original space occupied by the slice and the place I moved it to did not overlap at all, so I have no idea if you'll run into problems when you overwrite the start of it. It would probably work, but if you have to start over for some reason, you're sunk -- and you'd need some sort of boot media to get it to work.. Maybe you can copy it one partition at a time? Also, beware that the FreeBSD disklabel seems to use absolute offsets instead of relative offsets. If you copy the whole slice at once, something like # bsdlabel /dev/{old slice} /tmp/text-label # bsdlabel -R /dev/{new slice} /tmp/text-label should work, since the human-readable output uses relative offsets. (But beware; I'm just working from memory here and haven't tested those commands at all.) If you copy the data one partition at a time (as I ended up doing for some reason) it's a bit more complicated: you have to set up the disklabel before you start, but then when you copy partition a, the label will be messed up(assuming partition a starts at the beginning of the slice). I just fixed the label again after copying partition a, and it seemed to work, but I can't guarantee that the system won't re-read the label while dd is working and decide that the destination partition is suddenly somewhere else and kill your original slice. Er, just sharing my experience. You might want to wait for furthur guidance, since all this is pretty messy. - James Cook [EMAIL PROTECTED]
Re: X not loading in full screen
Edit the xorg.conf file to match the native resolution of your notebook screen. For example, something like this: I've done that already. Native is 800x600, and I put that in /etc/X11/XF86Config. When I do startx, it pulls from that file (I see it saying loading from /etc/X11/XF86Config I've also done defaultdepth 24, etc. Still the same issue. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Averatec 3250H1-01 (problem: S3G UniChrome Graphics)
If anyone has this laptop or know how to solve this problem, please reply. This laptop has a S3G UniChrome Graphics which I havent been able to configure. Please help! :) -- Al __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Eterm attributes
Hi there - I have my Eterms set where I have hidden all borders. What are the keystrokes to be able to set unhide them? -- Best regards, Chris When in doubt, don't muble, overexpose ... then mumble. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Eterm attributes
Chris wrote: Hi there - I have my Eterms set where I have hidden all borders. What are the keystrokes to be able to set unhide them? Never mind - disregard -- Best regards, Chris The yoo-hoo you yoo-hoo into the forest is the yoo-hoo you get back. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CGI script executing and Apache help (2nd try important)
- Original Message - From: Shawn B [EMAIL PROTECTED] To: FreeBSD-questions@FreeBSD.ORG Sent: Sunday, March 06, 2005 4:19 PM Subject: CGI script executing and Apache help (2nd try important) I am running FreeBSD-4.8 with Apache 1.3 installed. I changed the htdocs directory in httpd.conf to /home/user1/public_html/ and I added a /cgi-bin/ in the same user directory. Scripts will not execute from the cgi-bin, as the scripts contents are displayed in the browser window. I went through httpd.conf using the search feature in Easy Editor, editing sections that have .cgi in it. Now, I am stumped as to how to get the CGI scripts to execute. In order to get CGI scripts to run in a directory other than the default cgi-bin directory, you have to define the directory and include the option +ExecCGI So, in your case, it would be something like this: Directory /home/user1/public_html Options +ExecCGI /Directory But, as others have said, you really should read the Apache docs and familiarize yourself with the syntax. Also consider using mod_security to protect your server from attack. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which lib for pthreads?
Jonathon McKitrick wrote: [EMAIL PROTECTED]:...cvs/tcontainer/libplugina make install cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c plugina.c c++ -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c wrapper.cpp c++ -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c myclass.cpp cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c threads.c cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -pthread -lstdc++ -g -Wl,-soname,libplugina.so.0 -o libplugina.so.0.0 plugina.o wrapper.o myclass.o threads.o Um. If you are compiling C++ code into an object file, you ought to use c++ and not cc when linking, too. --- Installing libplugina.so to /home/jcm/lib install -m 644 libplugina.so.0.0 /home/jcm/lib ln -sf libplugina.so.0.0 /home/jcm/lib/libplugina.so.0 ln -sf libplugina.so.0 /home/jcm/lib/libplugina.so [EMAIL PROTECTED]:...cvs/tcontainer/libplugina app /usr/libexec/ld-elf.so.1: /home/jcm/lib/libplugina.so: Undefined symbol pthread_create [EMAIL PROTECTED]:...cvs/tcontainer/libplugina Also, you may not have relinked 'app'. Do an ldd on app and see whether it has a dependency on libc_r? Try relinking app using -pthread against a libplugina.so compiled with -pthread... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which lib for pthreads?
On 2005-03-06 21:55, Jonathon McKitrick [EMAIL PROTECTED] wrote: On Sun, Mar 06, 2005 at 11:39:55PM +0200, Giorgos Keramidas wrote: :On 2005-03-06 21:32, Jonathon McKitrick [EMAIL PROTECTED] wrote: : : I found -lc_r does the trick. Not what I was expecting. : : -lpthread should work too. H... [EMAIL PROTECTED]:...cvs/tcontainer/libplugina make install cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c plugina.c c++ -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c wrapper.cpp c++ -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c myclass.cpp cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c threads.c cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -lpthread -lstdc++ -g -Wl,-soname,libplugina.so.0 -o libplugina.so.0.0 plugina.o wrapper.o myclass.o threads.o /usr/libexec/elf/ld: cannot find -lpthread *** Error code 1 Stop in /usr/home/jcm/cvs/tcontainer/libplugina. [EMAIL PROTECTED]:...cvs/tcontainer/libplugina Is this 4.X? The -lpthread library is available in all 5.X versions, AFAIK. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sshd - public key vs keyboard interactive authentication
5.3 with OpenSSH. Using public key authentication: I generated/converted my keys - all set, I can ssh to the box using the keys (no user authentication, I get logged in) Using password authentication: I can still ssh using interactive keyboard password authentication (without using public/private keys). So, my questions: 1. How do I disable password authentication - i.e. force to use the DSA keys? 2. Can I use both for added security - i.e. using the keys and then get prompted for password? Any help appreciated - thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
STB2 BT878 - sound works under Windows XP and btwincap, doesn't with bktr
I have an STB2 bt878 card, purchased for $12 on eBay. It works great under XP with btwincap, with or without an analog audio cable that runs from the card to my soundcard. In FreeBSD with a kernel compiled with bktr support, I can see video clearly with fxtv (http://tweek.no-ip.org/stuff/hockey.png) but can't hear anything. (Tried both audio internal and audio auto modes.) None of the mixers are muted; sound works. Here's some relevant lines from my dmesg: bktr0: BrookTree 878 mem 0xd0001000-0xd0001fff irq 11 at device 14.0 on pci0 bktr0: [GIANT-LOCKED] bktr0: STB TV/PCI, Philips FR1236 NTSC FM tuner, dbx stereo. pci0: multimedia at device 14.1 (no driver attached) pcm0: Creative CT5880-C port 0x1040-0x107f irq 5 at device 15.0 on pci0 pcm0: SigmaTel STAC9721/23 AC97 Codec pcm0: [GIANT-LOCKED] ... and some relevant lines from my kernel: device joy device bktr device iicbus device iicbb device iicsmb device smbus options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC options OVERRIDE_CARD=3 options OVERRIDE_TUNER=9 options BKTR_NEW_MSP34XX_DRIVER device sio device sound device snd_es137x The driver I'm using for XP, btwincap, (btwincap.sourceforge.net) gives this advice for making sound work. Sound won't work unless I set these options. As a user I'm not entirely sure whether bktr has code specific to any of these chips. One of the users of the driver managed to make audiowork with an STB card : Here it goes the recipe! Get the latest version of the drivers from the Web site (you will need at least 5.1.0 drivers for this to work) Execute the installer. When you are asked for the card you have, tuner, you have, etc, you should set: CARD -- STB2 Tuner -- Philips 1236 input 2 and then for the chips (this options are under the advanced button at this page of the installer) TDA 9850 set to Yes , 12c address 0xb6, (also try 0xb4 if audio does not work) TEA 6420 set to Yes 12c address 0x98 TDA 7432 set to Yes 12c address 0xff (the driver will autodetect it) All the other chips can be left in Auto mode, or perhaps you prefer to set them to No Go on and install the driver... Audio should work now! I can provide more information if needed. It'd be nice to get this working, as I don't have a TV in my dorm room. (Though with the NHL dead, what's the point, right?) If anyone thinks of a way to do this, or has a working STB2 card, please respond. [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd - public key vs keyboard interactive authentication
So, my questions: 1. How do I disable password authentication - i.e. force to use the DSA keys? Make sure all 'password' auth is disabled and publickey is enabled. sshd_config PasswordAuthentication no UseLogin no UsePAM no PubkeyAuthentication yes 2. Can I use both for added security - i.e. using the keys and then get prompted for password? There was some work stared on this type of thing last year, but I don't think it was every finalized... http://marc.theaimsgroup.com/?l=openssh-unix-devm=108552250117169w=2 - jw ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache exits on signal 4
Hello, Fbsd 5.3-RELEASE, apache 2.53, php4 installed. Everything was working than i got a report of site's being down. I investigated and learned that apache was not starting. I tried a restart, which did not produce an error, however checking for an http process ID didn't show anything. I then checked /var/log/messages and /var/log/httpd-access.log and found that the apache startup was dying on a signal 4. Googling on this did not tell me what it was or more importantly how to fix it. Any info appreciated. Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd - public key vs keyboard interactive authentication
Jeff With wrote: So, my questions: 1. How do I disable password authentication - i.e. force to use the DSA keys? Make sure all 'password' auth is disabled and publickey is enabled. sshd_config PasswordAuthentication no UseLogin no UsePAM no PubkeyAuthentication yes 2. Can I use both for added security - i.e. using the keys and then get prompted for password? There was some work stared on this type of thing last year, but I don't think it was every finalized... http://marc.theaimsgroup.com/?l=openssh-unix-devm=108552250117169w=2 - jw You can add a passphrase to your key using ssh-keygen. If you use a password you get something like this when you login. [EMAIL PROTECTED]:/usr/home/chris$ ssh myserver.net Enter passphrase for key '/home/chris/.ssh/id_dsa': Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: STB2 BT878 - sound works under Windows XP and btwincap, doesn't with bktr
On Monday 7 March 2005 02:35, tweek wrote: I have an STB2 bt878 card, purchased for $12 on eBay. It works great under XP with btwincap, with or without an analog audio cable that runs from the card to my soundcard. In FreeBSD with a kernel compiled with bktr support, I can see video clearly with fxtv (http://tweek.no-ip.org/stuff/hockey.png) but can't hear anything. (Tried both audio internal and audio auto modes.) None of the mixers are muted; sound works. Here's some relevant lines from my dmesg: bktr0: BrookTree 878 mem 0xd0001000-0xd0001fff irq 11 at device 14.0 on pci0 bktr0: [GIANT-LOCKED] bktr0: STB TV/PCI, Philips FR1236 NTSC FM tuner, dbx stereo. pci0: multimedia at device 14.1 (no driver attached) pcm0: Creative CT5880-C port 0x1040-0x107f irq 5 at device 15.0 on pci0 pcm0: SigmaTel STAC9721/23 AC97 Codec pcm0: [GIANT-LOCKED] ... and some relevant lines from my kernel: device joy device bktr device iicbus device iicbb device iicsmb device smbus options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC options OVERRIDE_CARD=3 options OVERRIDE_TUNER=9 options BKTR_NEW_MSP34XX_DRIVER device sio device sound device snd_es137x Though msp34xxx sound should be able to work (that is via the tuner) most people (/me too) resort to connecting the TV card's cound-out to one of the soundcard's line-in inlets. I'd recommend this. Tuning channels/frequencies should change the picture as well as the sound. You'd use auto for audio in fxtv and use your mixer to adjust the level. HTH, Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd - public key vs keyboard interactive authentication
Thanks for the responses - all set! On Mon, 07 Mar 2005 01:58:30 +, Chris Hodgins [EMAIL PROTECTED] wrote: Jeff With wrote: So, my questions: 1. How do I disable password authentication - i.e. force to use the DSA keys? Make sure all 'password' auth is disabled and publickey is enabled. sshd_config PasswordAuthentication no UseLogin no UsePAM no PubkeyAuthentication yes 2. Can I use both for added security - i.e. using the keys and then get prompted for password? There was some work stared on this type of thing last year, but I don't think it was every finalized... http://marc.theaimsgroup.com/?l=openssh-unix-devm=108552250117169w=2 - jw You can add a passphrase to your key using ssh-keygen. If you use a password you get something like this when you login. [EMAIL PROTECTED]:/usr/home/chris$ ssh myserver.net Enter passphrase for key '/home/chris/.ssh/id_dsa': Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disk Error
I have been getting the following disk errors consistently for the last month. ad2s1e: hard error reading fsbn 6934399 of 3467168-3467295 (ad2s1 bn 6934399; cn 431 tn 164 sn 52) status=59 error=40 spec_getpages:(#ad/0x20014) I/O read failure: (error=5) bp 0xc5678f94 vp 0xcb5f3a80 size: 65536, resid: 65536, a_count: 65536, valid: 0x0 nread: 0, reqpage: 0, pindex: 504, pcount: 16 vm_fault: pager read error, pid 35441 (expireover) How do you figure out which file has the problem? expireover's logs are all buffered so you don't get the last partial buffer. I don't know yet if I can mark that particular sector as bad, but if I can find the file I can at least move to someplace where it won't get deleted. I chased through the core dump and the only directory indicated but all of those files are good. I have also tar'd the entire news directory elsewhere and no errors were encountered. The sector is the same every day. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bittorrent corruption problems
I have been getting this error: data corrupted on disk - maybe you have two copies running? I have looked on the net and the only causes I can see are bad ram and bad software. I noticed this after I started using the gui, never noticed it on the command line. I used to never get this. It has happen since before my current build, but here is my current build: $ uname -a FreeBSD BARTON 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #3: Tue Mar 1 02:04:40 EST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NINAMORI i386 If no one else has had any trouble with there system I will start to test my hardware. I checked my hardware when I built my pc a while back, so maybe something went bad? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bittorrent corruption problems
On Mon, 07 Mar 2005 03:26:11 +, Jason Henson [EMAIL PROTECTED] wrote: I have been getting this error: data corrupted on disk - maybe you have two copies running? I have looked on the net and the only causes I can see are bad ram and bad software. I noticed this after I started using the gui, never noticed it on the command line. I used to never get this. It has I had this a while back on one of my Linux boxes. Turned out to be bad ram. Memtest86+ should do the trick, just leave it testing over night and see what it says in the morning. -- Bevan Coleman -- What Signature? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting iomega zip drive
On Sun, 2005-03-06 at 17:16, E. J. Cerejo wrote: --- Mike Jeays [EMAIL PROTECTED] escreveu: On Mon, 2005-02-21 at 19:34, E. J. Cerejo wrote: I use to be able to mount my paralell zip drive with the following command under Fbsd 4.x: mount -t msdos /dev/da0s4 /zip now I'm running 5.3 I can't, what changed? I noticed that there is only da0 in my /dev directory, I have this in my kernel: # SCSI peripherals devicescbus # SCSI bus (required for SCSI) #device ch # SCSI media changers deviceda # Direct Access (disks) #device sa # Sequential Access (tape etc) deviceatapicam# emulate ATAPI devices as SCSI ditto via CAM devicecd # CD devicepass# Passthrough device (direct SCSI access) #device ses # SCSI Environmental Services (and SAF-TE) do I need anything else? __ Converse com seus amigos em tempo real com o Yahoo! Messenger http://br.download.yahoo.com/messenger/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try running cdrecord -scanbus, and see if the device number is different. This sounds somewhat similar to a problem I was having with a flash drive and DVD-burner. scsibus0: 0,0,0 0) * 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) 'IOMEGA ' 'ZIP 100 ' 'K.05' Removable Disk 0,7,0 7) * scsibus2: 2,0,0 200) 'JLMS' 'DVD-ROM LTD-166S' 'DS0E' Removable CD-ROM 2,1,0 201) 'LITE-ON ' 'LTR-40125S ' 'ZS0K' Removable CD-ROM 2,2,0 202) * 2,3,0 203) * 2,4,0 204) * 2,5,0 205) * 2,6,0 206) * 2,7,0 207) * Aparently it's there on device 0. Any ideas? ___ Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis Not many. I would try to muddle my way through, with attempts like: mount -t msdos /dev/da0 /zip mount -t msdos /dev/da0sx /zip, for x=1 to 4 (the 4 you have already tried) Then in desperation: mount -t msdos /dev/da6 /zip mount -t msdos /dev/da6sx /zip for x=1 to 4 mount -t msdos /dev/afd0 /zip Maybe someone else will have a better understanding of the device number mappings. I clearly don't. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bittorrent corruption problems
On 03/06/05 22:36:38, Bevan Coleman wrote: On Mon, 07 Mar 2005 03:26:11 +, Jason Henson [EMAIL PROTECTED] wrote: I have been getting this error: data corrupted on disk - maybe you have two copies running? I have looked on the net and the only causes I can see are bad ram and bad software. I noticed this after I started using the gui, never noticed it on the command line. I used to never get this. It has I had this a while back on one of my Linux boxes. Turned out to be bad ram. Memtest86+ should do the trick, just leave it testing over night and see what it says in the morning. -- Bevan Coleman -- What Signature? ___ Thanks, and I am still hoping its not the ram. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X not loading in full screen
On Sun, 6 Mar 2005, Matt Juszczak wrote: I've done that already. Native is 800x600, and I put that in /etc/X11/XF86Config. When I do startx, it pulls from that file (I see it saying loading from /etc/X11/XF86Config I've also done defaultdepth 24, etc. Still the same issue. So what does /var/log/Xorg.0.log say? I'd guess that it's not finding what it thinks is an acceptable refresh rate for the monitor. -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 [EMAIL PROTECTED]
Re: Mounting iomega zip drive
On Sun, 06 Mar 2005 22:51:49 -0500, Mike Jeays [EMAIL PROTECTED] wrote: On Sun, 2005-03-06 at 17:16, E. J. Cerejo wrote: --- Mike Jeays [EMAIL PROTECTED] escreveu: On Mon, 2005-02-21 at 19:34, E. J. Cerejo wrote: I use to be able to mount my paralell zip drive with the following command under Fbsd 4.x: mount -t msdos /dev/da0s4 /zip now I'm running 5.3 I can't, what changed? I noticed that there is only da0 in my /dev directory, if da0 is the only entry in /dev then you might have missed something in the kernel configuration. AFAIK device vpo is reguired for Iomega Parallel Zip Drive. and device umass is required for Iomega USB Zip Drive. Note that device vpo is disabled by default in the GENERIC configuration file. I wonder why?! PS: Secure Kernel Levels might also prevent mounting devices. (not very sure about this)! I have this in my kernel: # SCSI peripherals devicescbus # SCSI bus (required for SCSI) #device ch # SCSI media changers deviceda # Direct Access (disks) #device sa # Sequential Access (tape etc) deviceatapicam# emulate ATAPI devices as SCSI ditto via CAM devicecd # CD devicepass# Passthrough device (direct SCSI access) #device ses # SCSI Environmental Services (and SAF-TE) do I need anything else? __ Converse com seus amigos em tempo real com o Yahoo! Messenger http://br.download.yahoo.com/messenger/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try running cdrecord -scanbus, and see if the device number is different. This sounds somewhat similar to a problem I was having with a flash drive and DVD-burner. scsibus0: 0,0,0 0) * 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) 'IOMEGA ' 'ZIP 100 ' 'K.05' Removable Disk 0,7,0 7) * scsibus2: 2,0,0 200) 'JLMS' 'DVD-ROM LTD-166S' 'DS0E' Removable CD-ROM 2,1,0 201) 'LITE-ON ' 'LTR-40125S ' 'ZS0K' Removable CD-ROM 2,2,0 202) * 2,3,0 203) * 2,4,0 204) * 2,5,0 205) * 2,6,0 206) * 2,7,0 207) * Aparently it's there on device 0. Any ideas? ___ Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis Not many. I would try to muddle my way through, with attempts like: mount -t msdos /dev/da0 /zip mount -t msdos /dev/da0sx /zip, for x=1 to 4 (the 4 you have already tried) Then in desperation: mount -t msdos /dev/da6 /zip mount -t msdos /dev/da6sx /zip for x=1 to 4 mount -t msdos /dev/afd0 /zip Maybe someone else will have a better understanding of the device number mappings. I clearly don't. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk Error
ASAP 1. fsck -y 2. tunefs ( enable softupdate) 3. backup to new hard disk 4. remove this faulty hard disk Your hard disk is dyeing . Doug Hardie wrote: I have been getting the following disk errors consistently for the last month. ad2s1e: hard error reading fsbn 6934399 of 3467168-3467295 (ad2s1 bn 6934399; cn 431 tn 164 sn 52) status=59 error=40 spec_getpages:(#ad/0x20014) I/O read failure: (error=5) bp 0xc5678f94 vp 0xcb5f3a80 size: 65536, resid: 65536, a_count: 65536, valid: 0x0 nread: 0, reqpage: 0, pindex: 504, pcount: 16 vm_fault: pager read error, pid 35441 (expireover) How do you figure out which file has the problem? expireover's logs are all buffered so you don't get the last partial buffer. I don't know yet if I can mark that particular sector as bad, but if I can find the file I can at least move to someplace where it won't get deleted. I chased through the core dump and the only directory indicated but all of those files are good. I have also tar'd the entire news directory elsewhere and no errors were encountered. The sector is the same every day. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help! I am in beeg trouble.
can you give the output of 1. mount 2. ls -l /usr/bin/login ? dR wrote: I was trying out different window managers when I noticed that I had lost env information. I quit X and found the problem persisting. I rebooted and now I can't log in! /usr/bin/login no such file or directory I can enter single-user mode. I have run fsck a couple of times and everything seems to be fine in that respect. I'm new to FreeBSD... Can someone help? The version is FreeBSD 5.3 Release. Marko __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Updating my address book
Hi I am using a new service to keep in contact with my friends. Use the link below to become part of my address book. In the future I will be able to see any changes in your contact details. http://www.bebo.com/fr2/9615796a605552671b132610538c179646270d20 Thanks. Alia Iskandar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk Error
I doubt that its dying. There is only one bad sector. The drive is in constant use. Its ran at 100% for almost 12 hours while copying the files and no errors were detected. Its always the same sector with the error. On Mar 7, 2005, at 09:54, Aftab Jahan Subedar wrote: ASAP 1. fsck -y 2. tunefs ( enable softupdate) 3. backup to new hard disk 4. remove this faulty hard disk Your hard disk is dyeing . Doug Hardie wrote: I have been getting the following disk errors consistently for the last month. ad2s1e: hard error reading fsbn 6934399 of 3467168-3467295 (ad2s1 bn 6934399; cn 431 tn 164 sn 52) status=59 error=40 spec_getpages:(#ad/0x20014) I/O read failure: (error=5) bp 0xc5678f94 vp 0xcb5f3a80 size: 65536, resid: 65536, a_count: 65536, valid: 0x0 nread: 0, reqpage: 0, pindex: 504, pcount: 16 vm_fault: pager read error, pid 35441 (expireover) How do you figure out which file has the problem? expireover's logs are all buffered so you don't get the last partial buffer. I don't know yet if I can mark that particular sector as bad, but if I can find the file I can at least move to someplace where it won't get deleted. I chased through the core dump and the only directory indicated but all of those files are good. I have also tar'd the entire news directory elsewhere and no errors were encountered. The sector is the same every day. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tech question
Excuse me for foolish question and pig latin. I'm a new user of FreeBSD and I have a trouble with mounting DVD. There is no separated information in your documentation (Handbook) about this question. I tried to mount DVD the same way as CD. It is not enough, I think. My OS: FreeBSD 4.10 Drive: acd0: DVD-ROM TOSHIBA DVD-ROM SD-M1912 at ata1-master PIO4 (dmesg oitput). The disks that I want to mount are Collection of FreeBSD ports of your russian diller linuxcenter.ru Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tech question
On Sunday 06 March 2005 11:28 pm, popbox wrote: Excuse me for foolish question and pig latin. I'm a new user of FreeBSD and I have a trouble with mounting DVD. There is no separated information in your documentation (Handbook) about this question. I tried to mount DVD the same way as CD. It is not enough, I think. You looked at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html ?? -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tech question
On Mar 7, 2005, at 12:31 AM, Michael C. Shultz wrote: On Sunday 06 March 2005 11:28 pm, popbox wrote: Excuse me for foolish question and pig latin. I'm a new user of FreeBSD and I have a trouble with mounting DVD. There is no separated information in your documentation (Handbook) about this question. I tried to mount DVD the same way as CD. It is not enough, I think. You looked at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating- dvds.html This does not seem to answer the OP question. That pages deals with creating various sorts of writable DVDs. Chad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]