RE: QUESTION.
cd /usr/ports/x11/xorg make install clean cd /usr/ports/x11/kde3 make install clean Dude, read the FreeBSD handbook, located at www.freebsd.org Ivailo Tanusheff Senior System administrator ProCredit Bank (Bulgaria) AD tel. +359 2 921 7161 fax +359 2 921 7110 http://www.procreditbank.bg Disclaimer: The information contained in this message is intended solely for the use of individual or entity to whom it is addressed and other authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. ProCredit Bank is neither liable for the proper and complete transmission of the information contained in this message nor for any delay in its receipt. Kanwar Singh [EMAIL PROTECTED] 07/29/2005 07:40 PM To 'Ivailo Tanusheff' [EMAIL PROTECTED] cc Subject RE: QUESTION. Thank you for your reply. It worked and I got the OS on my system. Another question, I installed BSD 5.4, hjow do I get the GUI up on this, I just get the command prompt right now. Thanks. Kanwar Singh New Business-International Buyer * Launch 3 Communications,Inc. 141 Lanza Avenue Building 3C Garfield, New Jersey 07026 USA Voice:646.435.2802 Fax: 646.536.3866 Web:http://www.launch3.net Email: [EMAIL PROTECTED] AOL IM: Kanwar at Launch3 MSN: [EMAIL PROTECTED] -Original Message- From: Ivailo Tanusheff [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 3:54 AM To: Kanwar Singh Cc: freebsd-questions@FreeBSD.org; [EMAIL PROTECTED] Subject: Re: QUESTION. You must burn the image to the CD, not just copy image file :) Ivailo Tanusheff Senior System administrator ProCredit Bank (Bulgaria) AD tel. +359 2 921 7161 fax +359 2 921 7110 http://www.procreditbank.bg Disclaimer: The information contained in this message is intended solely for the use of individual or entity to whom it is addressed and other authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. ProCredit Bank is neither liable for the proper and complete transmission of the information contained in this message nor for any delay in its receipt. Kanwar Singh [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07/26/2005 08:19 PM To freebsd-questions@FreeBSD.org cc Subject QUESTION. I am trying to get BSD 5 on my system. I copied the image file on the CD, but cant get the system to boot form the CD. I have tried changing the boot order, but still does not work. I was wondering if I need to copy an additional file, like a boot.ini file to make the system boot form the image CD. Awaiting your reply. Thank you. Sincerely, Kanwar Singh New Business-International Buyer * Launch 3 Communications,Inc. 141 Lanza Avenue Building 3C Garfield, New Jersey 07026 USA Voice:646.435.2802 Fax: 646.536.3866 Web:http://www.launch3.net http://www.launch3.net/ Email: [EMAIL PROTECTED] AOL IM: Kanwar at Launch3 MSN: [EMAIL PROTECTED] ___ 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: Problems with munin
Hello, On Sun, Jul 31, 2005 at 06:19:42PM +0200 or thereabouts, cell wrote: Hello , i'm on freebsd 5.4 and i use munin-main-1.2.2 and munin-node-1.2.2 but i have a problem when i run munin.I have in log munin-graph.log that : Jul 31 18:13:18 - Unable to graph /usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: Garbage ':' after command: Jul 31 18:13:18 - Unable to graph /usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: Garbage ':' after command: COMMENT: Cur: Jul 31 18:13:18 - Unable to graph /usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: Garbage ':' after command: COMMENT: Cur: Jul 31 18:13:18 - Unable to graph /usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: Garbage ':' after command: COMMENT: Cur: Jul 31 18:13:18 - Unable to graph /usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: Garbage ':' after command: I usr rrdtool-1.2.11 and i don't understand why i have this problem.Anyone have an idea ? That is problem with munin which can be patched with attached patch. It seems to have problems with : characters. I hope that in 1.2.3 version it will be fixed, in meanwhile you can patch it for yourself. cheers, Martin -- martin hudec * 421 907 303 393 * [EMAIL PROTECTED] * http://www.aeternal.net Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws. Douglas Adams, The Hitchhiker's Guide to the Galaxy --- munin-graph.origThu Jul 28 12:10:22 2005 +++ munin-graph Thu Jul 28 12:27:03 2005 @@ -848,10 +848,10 @@ elsif ($global_headers == 1) { push (@rrd, COMMENT: . ( x $max_field_len)); - push (@rrd, COMMENT: Cur:); - push (@rrd, COMMENT:Min:); - push (@rrd, COMMENT:Avg:); - push (@rrd, COMMENT:Max: \\j); + push (@rrd, COMMENT: Cur\\:); + push (@rrd, COMMENT:Min\\:); + push (@rrd, COMMENT:Avg\\:); + push (@rrd, COMMENT:Max\\: \\j); $global_headers++; } @@ -924,13 +924,13 @@ } else { - push (@rrd, COMMENT: Cur:) unless $global_headers; + push (@rrd, COMMENT: Cur\\:) unless $global_headers; push (@rrd, GPRINT:c$rrdname:LAST:%6.2lf . (munin_get_bool_val ($node-{client}-{$service}-{graph_scale}, yes)?%s:) . ); - push (@rrd, COMMENT: Min:) unless $global_headers; + push (@rrd, COMMENT: Min\\:) unless $global_headers; push (@rrd, GPRINT:i$rrdname:MIN:%6.2lf . (munin_get_bool_val ($node-{client}-{$service}-{graph_scale}, 1)?%s:) . ); - push (@rrd, COMMENT: Avg:) unless $global_headers; + push (@rrd, COMMENT: Avg\\:) unless $global_headers; push (@rrd, GPRINT:g$rrdname:AVERAGE:%6.2lf . (munin_get_bool_val ($node-{client}-{$service}-{graph_scale}, 1)?%s:) . ); - push (@rrd, COMMENT: Max:) unless $global_headers; + push (@rrd, COMMENT: Max\\:) unless $global_headers; push (@rrd, GPRINT:a$rrdname:MAX:%6.2lf . (munin_get_bool_val ($node-{client}-{$service}-{graph_scale}, 1)?%s:) . \\j); push (@{$total_pos{'min'}}, i$rrdname); push (@{$total_pos{'avg'}}, g$rrdname); @@ -991,13 +991,13 @@ push (@rrd, CDEF:dpostotal=ipostotal,UN,ipostotal,UNKN,IF); push (@rrd, LINE1:dpostotal#00: . $node-{client}-{$service}-{graph_total} . ( x ($max_field_len - length ($node-{client}-{$service}-{graph_total}) + 1))); - push (@rrd, COMMENT: Cur:) unless $global_headers; + push (@rrd, COMMENT: Cur\\:) unless $global_headers; push (@rrd, GPRINT:gpostotal:LAST:%6.2lf . (munin_get_bool_val ($node-{client}-{$service}-{graph_scale}, 1)?%s:) . ); - push (@rrd, COMMENT: Min:) unless $global_headers; + push (@rrd, COMMENT: Min\\:) unless $global_headers; push (@rrd, GPRINT:ipostotal:MIN:%6.2lf . (munin_get_bool_val ($node-{client}-{$service}-{graph_scale}, 1)?%s:) . ); - push (@rrd, COMMENT: Avg:) unless $global_headers; + push (@rrd, COMMENT: Avg\\:) unless $global_headers; push (@rrd, GPRINT:gpostotal:AVERAGE:%6.2lf . (munin_get_bool_val ($node-{client}-{$service}-{graph_scale}, 1)?%s:) . ); - push (@rrd, COMMENT: Max:) unless $global_headers; + push (@rrd, COMMENT: Max\\:) unless $global_headers; push (@rrd, GPRINT:apostotal:MAX:%6.2lf . (munin_get_bool_val ($node-{client}-{$service}-{graph_scale}, 1)?%s:) . \\j); } @@ -1010,7 +1010,8 @@ push @complete, @{get_header ($node, $config, $domain, $name, $service, $time)}; push @complete, @rrd;
make package problem
Hi, If I try to do a make package or make package-recursive, and the port is already installed, it always complains about that. Can I make a package without pkg_delete -f'ing the port first. It doesn't seem to complain about the dependencies though. Here is a transcript of the error message: [EMAIL PROTECTED]:/usr/ports/ftp/lftp# make package-recursive === Installing for lftp-3.2.1 === lftp-3.2.1 depends on shared library: intl - found === Generating temporary packing list === Checking if ftp/lftp already installed === lftp-3.2.1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of ftp/lftp without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/ftp/lftp. [EMAIL PROTECTED]:/usr/ports/ftp/lftp# What can I do to fix this behaviour? Regards, -John smime.p7s Description: S/MIME cryptographic signature
Migrate primary disk (duplicate)
Hi guys I saw a post on http://lists.freebsd.org/pipermail/freebsd-questions/2003-October/023454.html I am actually trying to migrate from one disk to an other. I need to write a script to do it with several computers. The thing is that it works perfectly when I use the fdisk's /stand/sysinstall and mbr installation, but doesn't work if I use: fdisk -B -b /boot/mbr -I ad3 (or fdisk -B -b /boot/boot0 -I ad3) The disk doesn't boot and I really don't understand. I am trying to find the solution for quite a while. The thing I didn't tell you is that I use FBSD 5.4 and this worked with FBSD 4.9. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate primary disk (duplicate)
On 2005-08-01 09:20, [EMAIL PROTECTED] wrote: Hi guys I saw a post on http://lists.freebsd.org/pipermail/freebsd-questions/2003-October/023454.html I am actually trying to migrate from one disk to an other. I need to write a script to do it with several computers. The thing is that it works perfectly when I use the fdisk's /stand/sysinstall and mbr installation, but doesn't work if I use: fdisk -B -b /boot/mbr -I ad3 (or fdisk -B -b /boot/boot0 -I ad3) Try two steps: fdisk -I ad3 fdisk -B -b /boot/mbr ad3 Then, of course, you need to create a disk label with bsdlabel too and make sure you newfs the partitions, etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate primary disk (duplicate)
I already did that. as I told you, when I use sysinstall instead of fdisk, there is no problem. I tried every combination: fdisk -I ad3 fdisk -B -b /boot/mbr ad3 fdisk -I ad3 fdisk -B -b /boot/boot0 ad3 fdisk -B -b /boot/mbr -I ad3 ... the disk doesn't boot. I also tried to install grub. It doesn't work either. cheers Selon Giorgos Keramidas [EMAIL PROTECTED]: On 2005-08-01 09:20, [EMAIL PROTECTED] wrote: Hi guys I saw a post on http://lists.freebsd.org/pipermail/freebsd-questions/2003-October/023454.html I am actually trying to migrate from one disk to an other. I need to write a script to do it with several computers. The thing is that it works perfectly when I use the fdisk's /stand/sysinstall and mbr installation, but doesn't work if I use: fdisk -B -b /boot/mbr -I ad3 (or fdisk -B -b /boot/boot0 -I ad3) Try two steps: fdisk -I ad3 fdisk -B -b /boot/mbr ad3 Then, of course, you need to create a disk label with bsdlabel too and make sure you newfs the partitions, etc. ___ 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: Migrate primary disk (duplicate)
On 2005-08-01 11:51, [EMAIL PROTECTED] wrote: I already did that. as I told you, when I use sysinstall instead of fdisk, there is no problem. I tried every combination: fdisk -I ad3 fdisk -B -b /boot/mbr ad3 fdisk -I ad3 fdisk -B -b /boot/boot0 ad3 fdisk -B -b /boot/mbr -I ad3 ... the disk doesn't boot. Yes, but this is not a complete process of bringing up and booting a new disk. You've only quoted the commands that install an MBR. You also need to label the disk, create partitions in the label, create a file system on those partitions and then install the boot loader on /boot of the ad3s1a partition. Can you show us *ALL* the steps? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
missing /dev/sequencer and /dev/midi under 5.4
Hello, I'm running FreeBSD 5.4 with a custom kernel on a Dell Inspiron 6000 - the Dell website only says SoundBlaster compatible for the sound card. Normal sound stuff works fine (though I can't hear the cd player, actually, now that I think of it...) but midi doesn't work: kmidi complains that /dev/sequencer is busy, but actually it doesn't exist, and neither does /dev/midi. I guess I need to enable midi in the kernel, but what device / options? device pcm device snd device seq device midi all give me unknown device errors at compile time: here's the relevent section of my kernel config file: device sound # generic sound driver: these added... device snd_ad1816 device snd_als4000 #device snd_au88x0 device snd_cmi device snd_cs4281 device snd_csa device snd_ds1 device snd_emu10k1 device snd_es137x device snd_ess device snd_fm801 device snd_gusc device snd_ich device snd_maestro device snd_maestro3 device snd_mss device snd_neomagic device snd_sb16 device snd_sb8 device snd_sbc device snd_solo device snd_t4dwave device snd_via8233 device snd_via82c686 device snd_vibes #device snd_vortex1 device snd_uaudio I'm sure I don't need all this stuff in there, but I haven't got round to experimenting with what I can take out. Could that be my problem? Thanks in anticipation for your help... Cheers, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dead disk? READ_DMA Failure
On Sun, 31 Jul 2005, Francisco wrote: On Fri, 29 Jul 2005, Norbert Koch wrote: I have a one year old Hitachi Travelstar 60GB/4200RPM disk. This night and since then, I get these errors: ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=48926527 ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=48926527 ad0: FAILURE - READ_DMA timed out I've seen these error messages too. And also WRITE_DMA TIMEOUT! You may have a hardware problem, but I'm not convinced. I don't recall if it was the exact errors, but I had some simmilar ones. For some reason 5.4 didn't like my ATA100 drive and had to slow down the communication speed to the drive. In my case I added to /usr/local/etc/rc.d a script with /sbin/atacontrol mode 1 udma66 pio4 Basically slowing down the channel to the drive.. the pio4 is for the CDrom and that was it's normal speed. Thanks! Well, I wish that I had known that before I tried reinstalling the system. Thanks again, Erik GnuPG: http://www.locolomo.org/home/norgaard/norgaard.gpg.asc pub 1024D/11D11F9E 2003-08-15 Erik Norgaard [EMAIL PROTECTED] Key fingerprint = C394 81C4 D137 EEE5 39BE 82D5 3E6B FB3E 11D1 1F9E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
camcontrol error
Hi, i have a problem with camcontrol (running FreeBSD 5.4-STABLE). Checking the defects on my drive will print out an error which i do not know: #camcontrol defects da0 -G -f bfi camcontrol: Error returned from read defect data command #camcontrol defects da0 -f phys -G camcontrol: Error returned from read defect data command So, what could be the problem? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dead disk? READ_DMA Failure
On Mon, 1 Aug 2005, [ISO-8859-1] Erik N??rgaard wrote: In my case I added to /usr/local/etc/rc.d a script with /sbin/atacontrol mode 1 udma66 pio4 Basically slowing down the channel to the drive.. the pio4 is for the CDrom and that was it's normal speed. Thanks! Well, I wish that I had known that before I tried reinstalling the system. If the problem is either a dying IDE drive or what I mention above re-installing won't help, so you still need to see what's going on. In my case I was getting the errors daily so it was easy to see if the slowdown helped.___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with booting MBR
Dear Glenn, even though a bit late here you are the info you suggested to check (still absolutely obscure to me!!): Yes, the / directory for booting is /dev/ad1s2a as in the fstab file. From dmesg: ad0: 9541MB WDC WD100BA/16.13M16 [19386/16/63] at ata0-master UDMA33 ad1: 9541MB WDC WD200EB-11CPF0/06.04G06 [19386/16/63] at ata0-slave UDMA33 vicbsd root# fdisk /dev/ad0 *** Working on device /dev/ad0 *** parameters extracted from in-core disklabel are: cylinders=19386 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=19386 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 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 19541025 (9541 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 15/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED vicbsd root# fdisk /dev/ad1 *** Working on device /dev/ad1 *** parameters extracted from in-core disklabel are: cylinders=19386 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=19386 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: UNUSED The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 9179856, size 10361232 (5059 Meg), flag 80 (active) beg: cyl 1023/ head 15/ sector 63; end: cyl 1023/ head 15/ sector 63 The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED vicbsd root# bsdlabel /dev/ad1s2 # /dev/ad1s2: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 9312656 10485764.2BSD 2048 16384 28552 b: 10485760 swap c: 103612320unused0 0 # raw part, don't edit vicbsd root# bsdlabel /dev/ad0s1 # /dev/ad0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 1433600004.2BSD0 0 0 b: 1084449 18456576 swap c: 195410250unused0 0 # raw part, don't edit d: 524288 143360004.2BSD 2048 16384 32776 e: 524288 148602884.2BSD 2048 16384 32776 f: 3072000 153845764.2BSD 2048 16384 28552 Ciao Vittorio -- Messaggio originale -- Date: Fri, 29 Jul 2005 08:43:10 -0700 To: Vittorio De Martino [EMAIL PROTECTED] From: Glenn Dawson [EMAIL PROTECTED] Subject: Re: Problems with booting MBR At 08:25 AM 7/29/2005, you wrote: Friends, as suggested in the docs in the internet I tried both with # fdisk -B -b /boot/boot0 ad0 fdisk: cannot open disk /dev/ad0: No such file or directory and with # fdisk -B -b /boot/boot0 ad1 fdisk: cannot open disk /dev/ad1: No such file or directory WHILST my working /etc/fstab is, as I mentioned before: # DeviceMountpoint FStype Options Dump Pass# /dev/ad1s2b noneswapsw 0 0 /dev/ad1s2a / ufs rw 1 1 /dev/ad0s1a /usr/local ufs rw 0 0 /dev/ad0s1d /varufs rw 0 0 /dev/ad0s1e /tmpufs rw 0 0 Why FreeBSD 5.4 cannot find /dev/ad0 and ad1? What should I do? How are you booting the system to get to a prompt where you can issue the commands shown above? The first thing you probably need to do is examine dmesg output and see what disk devices are being detected at boot time. Then look in /dev and see if the entries you need are there or not. Also, one thing to keep in mind is that the bootloader only knows how to find the root file system when it's on the 'a' partition. Based on your fstab above, that would be /dev/ad1s2a. Assuming that's correct, what's on ad1s1? It would be helpful to see output from 'fdisk /dev/ad0' and 'fdisk /dev/ad1' if you can get it. Then depending on what slices are there, the corresponding bsdlabel output. Here's a sample from one of my test systems (it boots from /dev/ad4 which has two slices, one with 4.11 and one with 5.4 installed) test54# fdisk /dev/ad4 *** Working on device /dev/ad4 *** parameters extracted from in-core disklabel are: cylinders=387621 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=387621 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
Re: what to do? amd64 - i386
On Sun, 31 Jul 2005 13:48:07 -0700 [EMAIL PROTECTED] (Gary W. Swearingen) wrote: dick hoogendijk [EMAIL PROTECTED] writes: Any ideas about _WHAT_ does not work? Do you have examples? If I can't live without them, then.. ;-)) I forget, but too many for me. Found somebody with Google that got several broken things running, but he didn't say how. I had a few problems with base-system stuff but probably could have lived with that. (Eg, I had to use older ncr instead of sym.) The problems are with the ports, so waiting for 6.x won't help. I keep on wondering what will be best for this new amd64 machine. Today I saw all KDE packages were anewed. I have a fbsd-4.11-stable machine that has KDE running. My other machines have 5.4, so I cannot build the 4.11 packages on one of those (faster) machines. And then there's this dicussion on the speed of 5.4 - 4.11 (the latter is said to be faster). Maybe it's just to early to make the switch to 5.x if all options needed are supported in 4.11-stable. If I install the latter on the new amd64 machine (dump /restore) I will have a very fast machine (i386) which can build the packages for the main server too. HOW LONG will FreeBSD-4.11 be supported ?? (could not find it on the website) -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what to do? amd64 - i386
On 8/1/05, dick hoogendijk [EMAIL PROTECTED] wrote: On Sun, 31 Jul 2005 13:48:07 -0700 [EMAIL PROTECTED] (Gary W. Swearingen) wrote: dick hoogendijk [EMAIL PROTECTED] writes: Any ideas about _WHAT_ does not work? Do you have examples? If I can't live without them, then.. ;-)) I forget, but too many for me. Found somebody with Google that got several broken things running, but he didn't say how. I had a few problems with base-system stuff but probably could have lived with that. (Eg, I had to use older ncr instead of sym.) The problems are with the ports, so waiting for 6.x won't help. I keep on wondering what will be best for this new amd64 machine. Today I saw all KDE packages were anewed. I have a fbsd-4.11-stable machine that has KDE running. My other machines have 5.4, so I cannot build the 4.11 packages on one of those (faster) machines. And then there's this dicussion on the speed of 5.4 - 4.11 (the latter is said to be faster). Maybe it's just to early to make the switch to 5.x if all options needed are supported in 4.11-stable. If I install the latter on the new amd64 machine (dump /restore) I will have a very fast machine (i386) which can build the packages for the main server too. HOW LONG will FreeBSD-4.11 be supported ?? It's at http://www.freebsd.org/security/ (estimated EOL - 31 Jan 2007. It's interesting that estimated EOL for 5.4 mentioned on the same page is earlier than that). -- Dmitry Mityugov, St. Petersburg, Russia I ignore all messages with confidentiality statements We live less by imagination than despite it - Rockwell Kent, N by E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reading the volume-id/label of a cd/dvd ?
On Sun, 31 Jul 2005, Giorgos Keramidas wrote: Some information is printed by cdcontrol too? # gothmog:/home/giorgos$ cdcontrol cdid # CDID=021dc601 # gothmog:/home/giorgos$ cdcontrol info # Starting track = 1, ending track = 1, TOC size = 18 bytes # track start duration block length type # - # 1 0:02.00 127:02.46 0 571696 data # 170 127:04.46 - 571696 - - We could extend cdcontrol to display other pieces of information too, if necessary I guess. A way to tell if there's media in the drive would be nice... -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: Reading the volume-id/label of a cd/dvd ?
On Sun, 31 Jul 2005, Giorgos Keramidas wrote: We could extend cdcontrol to display other pieces of information too, if necessary I guess. Oh, and besides whether or not media is present, a way to tell what type of media (CD, DVD, etc) is present would be nice. cdcontrol would be a nifty place for it, being in the base system and all. -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]
Crashes on 5.4R
Hello, I have a machine which I've installed afresh with 5.4R last week. It is a dual Xeon machine with hyperthreading. Since I've updated it, it has crashed regularly. So regularly that I have had to remove it from service. I built a debugging kernel and from my last crash dump I get the following: #0 doadump () at pcpu.h:159 159 __asm __volatile(movl %%fs:0,%0 : =r (td)); Now, I'm in the fortunate position of not having FreeBSD crash usually, so I'm not sure what to do next. Can someone offer some help? Thanks, Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any backup utilities for ACLs?
Dru [EMAIL PROTECTED] writes: I've enabled ACL support on a 5.4-RELEASE system and have no problems creating and modifying ACLs. However, I can't seem to find a backup program that will actually restore the ACLs. I've tried bsdtar, pax, and star. Has anyone had any success in backing up and restoring ACLs? If so, what was the magic incantation? Did you try dump(8)? That is, after all, the canonical backup program. I thought it got ACL support a couple of years ago... ___ 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 gcc
On Mon, Aug 01, 2005 at 09:08:25AM +0800, Kun Niu wrote: Dear all, I'm trying to compile my program with my gcc bundled with Release 5.3 I always get the error Installation problem: exec 'as' no such file or directory. It seems that I should install the as program. Can someone tell me where I can download the tbz ball? Any help would be appreciated:) Show us the command you are performing and the error, don't describe it vaguely. Kris pgpoxsCjyyoNo.pgp Description: PGP signature
Re: Freebsd patches fail
On Sun, Jul 31, 2005 at 11:57:23PM -0400, [EMAIL PROTECTED] wrote: In the ports: samba3 and proftpd I recieved errors while applying Freebsd patches for the ports .. its says 1 out of * hunks failed -- , and failed to apply cleaning .. I cvsup ports right before hand. You have stale patches in your ports tree, probably because you updated it incorrectly. If you are using cvsup, see the faq on www.polstra.com or search the archives for more discussion of this problem. Kris pgpEW97kH67Lx.pgp Description: PGP signature
Re: make package problem
On Mon, Aug 01, 2005 at 09:48:07AM +0200, John Oxley wrote: Hi, If I try to do a make package or make package-recursive, and the port is already installed, it always complains about that. Can I make a package without pkg_delete -f'ing the port first. It doesn't seem to complain about the dependencies though. Here is a transcript of the error message: [EMAIL PROTECTED]:/usr/ports/ftp/lftp# make package-recursive === Installing for lftp-3.2.1 === lftp-3.2.1 depends on shared library: intl - found === Generating temporary packing list === Checking if ftp/lftp already installed === lftp-3.2.1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of ftp/lftp without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/ftp/lftp. [EMAIL PROTECTED]:/usr/ports/ftp/lftp# What can I do to fix this behaviour? Exactly what it tells you in the error message. Kris pgpNQa7SXPgnU.pgp Description: PGP signature
Re: bind CTRL-ALT+DEL action
Aymeric MUNTZ [EMAIL PROTECTED] writes: Is it possible to bind any action to combinated keys such as CTRL+ALT+DEL? Yes. In X, it's kind of tricky to apply modifiers to a particular combination, so I'm not sure how to do that particular one, but with syscons it's quite easy to apply kbdmap(1) for the purpose. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Crashes on 5.4R
On Mon, Aug 01, 2005 at 01:41:43PM +0100, Freminlins wrote: Hello, I have a machine which I've installed afresh with 5.4R last week. It is a dual Xeon machine with hyperthreading. Since I've updated it, it has crashed regularly. So regularly that I have had to remove it from service. I built a debugging kernel and from my last crash dump I get the following: #0 doadump () at pcpu.h:159 159 __asm __volatile(movl %%fs:0,%0 : =r (td)); Now, I'm in the fortunate position of not having FreeBSD crash usually, so I'm not sure what to do next. Can someone offer some help? See the chapter on kernel debugging in the developers' handbook. Kris pgpDoy4bzB5Gv.pgp Description: PGP signature
Re: question about dmesg output - acpi0
D. Goss [EMAIL PROTECTED] writes: I'm trying to figure out my dmesg - I'm getting this in part: acpi0: IBM SERONYXP on motherboard acpi0: Power Button (fixed) acpi0: reservation of 460, 2 (4) failed Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0x488-0x48b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 cpu2: ACPI CPU on acpi0 cpu3: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge on acpi0 pci0: ACPI PCI bus on pcib0 pci0: display, VGA at device 5.0 (no driver attached) atapci0: ServerWorks CSB5 UDMA100 controller port 0x700-0x70f, 0x376,0x170-0x17 7,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 can someone shed any light on this part: acpi0: reservation of 460, 2 (4) failed ? This is an IBM xSeries 345. I have read the acpi man and understand some generalities but am wondering if I could be building a different kernel and avoid the error message. This is on 5.3 and with GENERIC w/SMP kernel. Given that you're still running an old release, how much effort are you interested in going to? Do you think there are any negative effects other than the message being printed out? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bge0 : WatchDog timeout -- resetting
DeadMan Xia [EMAIL PROTECTED] writes: I m using FreeBSD 5.3, on Dell Power Edge 6650 Quad Processor Machine, my system get stuck while i m accessing it through ssh. well after some time , when i acces the machine check , /var/log/messages ,, i can bge0: WatchDog Timedout -- resetting error. Is there any one , to tap my back get me off from this headhac,,, There is explicit support for a lot of new chips since 5.3 was released. You don't mention what you have, so we can't know for sure, but you should definitely update your system before looking more deeply into the firmware hang. And if there is a firmware update for your NIC, definitely apply that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Crashes on 5.4R
Kris, On 8/1/05, Kris Kennaway [EMAIL PROTECTED] wrote: See the chapter on kernel debugging in the developers' handbook. It should be obvious from my post that I did look at the handbook. I have a dump and I've extracted the line where the kernel has crashed. I do have a backtrace (not posted) .My question is what am I supposed to do next? I'm not a kernel programmer. Kris Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: camcontrol error
Hi, I want to find a way to run Lotus Notes 6.5.1 on my FreeBSD Workstation. Is there anyone who has made this? I have installed wine, but when I try to install or run the client nothing happens. Later I've copied notes installation from a windows box but still I can't run the application. Ivailo Tanusheff Senior System administrator ProCredit Bank (Bulgaria) AD tel. +359 2 921 7161 fax +359 2 921 7110 http://www.procreditbank.bg Disclaimer: The information contained in this message is intended solely for the use of individual or entity to whom it is addressed and other authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. ProCredit Bank is neither liable for the proper and complete transmission of the information contained in this message nor for any delay in its receipt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to map metakey to ALT in Emacs
Patrick Hamal [EMAIL PROTECTED] writes: I would like to use my META (ALT in my keyboard) key instead of ESC. I'm using uk.cp850 keyboard and my ALT key doesn't work on my console. I've tried to alter uk.cp850.kbd in /usr/share/syscons/keymaps, but I was unsuccessful. [Don't modify those files in place, as they will be overwritten on your next update.] Note, for example, the '045' line in us.emacs.kbd; feed that line into kbdcontrol(1), and I think you will see M-x start working (with ALT as the Meta key). Continue with the other letters of the alphabet... ___ 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 gcc
Kun Niu [EMAIL PROTECTED] writes: It seems that I should install the as program. Can someone tell me where I can download the tbz ball? An inet search for as? :) Or as.tgz or as.tbz. The devel/bin86 port has a as86 program that _might_ be the same thing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate primary disk (duplicate)
[EMAIL PROTECTED] writes: I tried every combination: fdisk -I ad3 fdisk -B -b /boot/mbr ad3 fdisk -I ad3 fdisk -B -b /boot/boot0 ad3 fdisk -B -b /boot/mbr -I ad3 Assuming that you've got the rest of the file systems configured and populated properly, as I think you said, and you really only need to get the MBR right... I'd try using boot0cfg, which has always worked for me. BTW, you don't need -b /boot/mbr because that's the default. Just based on my manpage reading: It sounds like -I and -B do quite different things and using them together is problematical. With -I, it sets up the partition table to support only ad3s1. With -B, it probably doesn't touch the partition table, and only changes the boot code in the first 446 bytes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate primary disk (duplicate)
[EMAIL PROTECTED] writes: I tried every combination: fdisk -I ad3 fdisk -B -b /boot/mbr ad3 fdisk -I ad3 fdisk -B -b /boot/boot0 ad3 fdisk -B -b /boot/mbr -I ad3 ... the disk doesn't boot. So fdisk -B ad3 shouldn't work if you don't have a valid partition table which also has the correct fdisk partition marked active (or bootable, which I'm fairly sure is the same thing, despite what the fdisk manual implies). But is seem that fdisk -I ad3 should work if you have a s1 correctly configured and populated. But after using it, I'd run fdisk ad3 and verify that your s1 is marked (active). It sound like /boot/mbr behaves like an IBM/MSFT MBR, while /boot/boot0 is the standard FreeBSD MBR configured by boot0cfg. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate primary disk (duplicate)
On 2005-08-01 08:21, Gary W. Swearingen [EMAIL PROTECTED] wrote: It sound like /boot/mbr behaves like an IBM/MSFT MBR, while /boot/boot0 is the standard FreeBSD MBR configured by boot0cfg. Yes :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Extigy Driver For FreeBSD
Hello, I have recently tried FreeBSD 5.4 and I liked it alot much better than linux. The only problem I got with FreeBSD is that there is no sound driver for my card Creative Extigy USB. I looked on the forums but did not find any solution to my problem. So here I'm asking if you're going to release this driver for my card. 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: Xorg 6.8.2 Big Problems....
On 7/26/05, perikillo [EMAIL PROTECTED] wrote: On 7/12/05, perikillo [EMAIL PROTECTED] wrote: On 7/12/05, Bernhard Fischer [EMAIL PROTECTED] wrote: Hy Perikillo! I still have the same problem, and also no solution. One time I thought I had one, but I was mistaken :-((( Regards, bh Hi Fischer, i test with 5-stable and the same problem, right now iam goint to continue with 5.2.1, this one like i say before, really works for me and my keyboard, i already test with. Give a try Fischer. I only test 5.4-Release to see the X system, i have running 4.11 without any problems, but i want to test the 5 stuff. But let see what happend, any information about i let you know Fischer see you. About this problem, yesterday a buy one new keyboard Genius with a lot of keys on it, i think 24, i really dont remember, but the case is that i install again xorg 6.8.2 on a fresh new 5.4 release install, without any buildworld or kernel, i think thats not really important to test my X system. The think is that i let my system instaling xorg from ports, on my P2, and this morning went i wake up and the installation finish with any errors. Them i setup my X system following the Handbook and went i run the server... My keyboard was working with the Xterm, i am really happy, i dont make to much test on it, because i have to work, but i dont see any problems, all my keys where display on the X system, today after work, i will install some Windows Manager and make the last test, if everything goes great, i will make the buildworld process. Fisher after some weeks, i see light, maybe was my standard 104 keyboard that dosent comunicate very well with the new driver kbd on xorg 6.8.2, because i was running xorg 6.8.2 on freebsd 5.2.1, but the problem here is that this release is not good, a lot of ports are broken, this way i invest on one new kbd and try this way, and is working. Hope, you already have working xorg 6.8.2. Thanks. Ok guys, finally someone from www.freebsdforums.org give a track about this problem, before he say that he was having the same problem with his keyboard and xorg 6.8.2 on freebsd 5.4, and he test the ports and packages, but before he build a custom kernel, and the keyboard dosent answer, them he test with the GENERIC kernel and the keyboard start working. Them this weekend i update my system to the lastest RELENG_5_4, buildworld + buildkernel(custom), xorg was already install form ports, and my keyboard wasnt answer, them i start from GENERIC and found that my keyboard start to work, them i start disabling kernel options, i build about 10 different kernels, and found that some options from sysco driver SC, was breaking the comunication between xorg and my kbd, this two: options SC_ALT_MOUSE_IMAGE options MAXCONS=8 This is the only options i disable from my custom kernel, right now is working, i hope maybe on Freebsd 6 this bug or i dont know how to call this will be fix. Problem solve. OS: Freebsd 5.4-p6 Kernel: Custom X: xorg 6.8.2 --ports kbd: ps/2 standard 104 keys mouse: belking USB Browser: firefox 1.0.6 --ports WM: xfce4 --ports. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with booting MBR
[EMAIL PROTECTED] writes: From dmesg: ad0: 9541MB WDC WD100BA/16.13M16 [19386/16/63] at ata0-master UDMA33 I think you just said that vicbsd root# fdisk /dev/ad0 vicbsd root# bsdlabel /dev/ad0s1 work OK, but that your problem (from a prior msg) is: # fdisk -B -b /boot/boot0 ad0 fdisk: cannot open disk /dev/ad0: No such file or directory That makes no sense. If I understood this right, there's something very wrong and you ought to be filing a PR about it and/or reporting the problem on the mailing list for 5.4 development, freebsd-stable. Also: You might rather use boot0cfg instead of fdisk as the former allows you to configure stuff that the later doesn't. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bind CTRL-ALT+DEL action
Lowell Gilbert [EMAIL PROTECTED] writes: Aymeric MUNTZ [EMAIL PROTECTED] writes: Is it possible to bind any action to combinated keys such as CTRL+ALT+DEL? Yes. In X, it's kind of tricky to apply modifiers to a particular combination, so I'm not sure how to do that particular one, The problem with X is that there are so many ways and places to do it and higher-level programs can hide the lower-level settings. X has a xkb system (see xkbcomp manpage and elsewhere) that lets you mess with low level stuff, which can be handy to enable special buttons on fancy keyboards. Many X programs (eg, Xemacs) can be configured with custom keys and key combinations. The window manager fvwm2 seems fairly easy. This allows ctrl-alt-delete to do something (defined in the config file) Key Delete A CM something ^ ^^- Alt | +-- Ctrl + Any context ___ 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 gcc
On Mon, Aug 01, 2005 at 07:30:10AM -0700, Gary W. Swearingen wrote: Kun Niu [EMAIL PROTECTED] writes: It seems that I should install the as program. Can someone tell me where I can download the tbz ball? An inet search for as? :) Or as.tgz or as.tbz. The devel/bin86 port has a as86 program that _might_ be the same thing. No...it's part of standard FreeBSD, so something else is wrong. Kris pgplc4uSsdHux.pgp Description: PGP signature
Re: Crashes on 5.4R
On Mon, Aug 01, 2005 at 02:52:09PM +0100, Freminlins wrote: Kris, On 8/1/05, Kris Kennaway [EMAIL PROTECTED] wrote: See the chapter on kernel debugging in the developers' handbook. It should be obvious from my post that I did look at the handbook. I have a dump and I've extracted the line where the kernel has crashed. I do have a backtrace (not posted) .My question is what am I supposed to do next? I'm not a kernel programmer. Post it and other relevant information to the relevant mailing list (freebsd-stable, etc). Kris pgpjcuq4LlxSo.pgp Description: PGP signature
Re: Migrate primary disk (duplicate)
On 2005-08-01 18:59, Alexandre D. [EMAIL PROTECTED] wrote: Here is the complete process I follow: sysctl kern.geom.debugflags=16 dd if=/dev/zero of=/dev/${disk} bs=1k count=1 fdisk -BI ${disk} The dd/geom stuff shouldn't really be necessary, AFAIK. disklabel -B -w -r ${disk}s1 auto disklabel -R ${disk}s1 generique.disklabel newfs /dev/${disk}s1a newfs /dev/${disk}s1d mount /dev/${disk}s1a ./mnt cd ./mnt dump 0uafL - / | restore xf - cd .. umount ./mnt mount /dev/${disk}s1d ./mnt cd ./mnt dump 0uafL - /usr | restore xf - cd .. umount ./mnt Hmmm, are you sure restore doesn't write files in their absolute location? Also, can you try running boot0cfg on the destination disk, as a final step, before trying to boot from it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.4-RELEASE-p5 panics
I'm getting some panics on a few FreeBSD 5.4 boxes, and I'm trying to figure out a way to get them to drop to some sort of debugger, or to dump core. It used to be that you'd just add: options DDB options DDB_UNATTENDED and build a kernel with -g, set 'dumpon', and then when it paniced it would write it out to disk. For 5.4, I understand you also need options KDB, and you need to replace DDB_UNATTENDED with KDB_UNATTENDED. I've done all of that, but the panic did not trigger a core dump, and did not leave me at a prompt (the latter probably because of KDB_UNATTENDED?). The panic message, in the present case, in case someone's seen this particular problem before: Fatal trap 12: page fault while in kernel mode. cpuid = 01; apic id = 06 fault virtual address = 0x24 fault code = supervisor read, page not present instruction pointer = 0x8:0xc035c7cf stack pointer = 0x10:0xeb858c74 frame pointer = 0x10:0xeb858c88 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= resume, IOPL equal 0 current process = 8 (pagedaemon) Would this sort of panic prevent a dump from occuring? BTW: I have checked the handbook and haven't found the answer (it doesn't seem to mention KDB at all). Unfortunately the kernel buffer appears insufficient to store all the output from boot -v, so I'm booting it with no flags. I've included the output of dmesg. Following that is the kernel's config. sysctl -a output is available at http://dpk.net/5.4-sysctl.txt (35KB) Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE-p5 #2: Sun Jul 31 20:58:46 PDT 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/STD-PAE MPTable: INTELLINDENHURST Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.12-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 4831838208 (4608 MB) avail memory = 4194848768 (4000 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 6 ioapic0: Assuming intbase of 0 ioapic1: Assuming intbase of 24 ioapic2: Assuming intbase of 48 ioapic3: Assuming intbase of 72 ioapic0 Version 2.0 irqs 0-23 on motherboard ioapic1 Version 2.0 irqs 24-47 on motherboard ioapic2 Version 2.0 irqs 48-71 on motherboard ioapic3 Version 2.0 irqs 72-95 on motherboard npx0: math processor on motherboard npx0: INT 16 interface cpu0 on motherboard cpu1 on motherboard pcib0: MPTable Host-PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 pcib1: PCI-PCI bridge irq 16 at device 2.0 on pci0 pci1: PCI bus on pcib1 pcib2: PCI-PCI bridge at device 0.0 on pci1 pci3: PCI bus on pcib2 pcib3: MPTable PCI-PCI bridge at device 0.2 on pci1 pci2: PCI bus on pcib3 3ware device driver for 9000 series storage controllers, version: 2.50.02.012 twa0: 3ware 9000 series Storage Controller port 0xa800-0xa8ff mem 0xfb80-0xfbff,0xfc8ffc00-0xfc8ffcff irq 72 at device 1.0 on pci2 twa0: 4 ports, Firmware FE9X 2.04.00.005, BIOS BE9X 2.03.01.047 pcib4: PCI-PCI bridge irq 16 at device 3.0 on pci0 pci4: PCI bus on pcib4 pcib5: MPTable PCI-PCI bridge at device 28.0 on pci0 pci5: PCI bus on pcib5 em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port 0xbc00-0xbc3f mem 0xfc9e-0xfc9f irq 26 at device 1.0 on pci5 em0: Ethernet address: 00:30:48:83:0a:f8 em0: Speed:N/A Duplex:N/A em1: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port 0xb800-0xb83f mem 0xfc9a-0xfc9b irq 27 at device 2.0 on pci5 em1: Ethernet address: 00:30:48:83:0a:f9 em1: Speed:N/A Duplex:N/A pci0: serial bus, USB at device 29.0 (no driver attached) pci0: serial bus, USB at device 29.1 (no driver attached) pci0: base peripheral at device 29.4 (no driver attached) pci0: base peripheral, interrupt controller at device 29.5 (no driver attached) pci0: serial bus, USB at device 29.7 (no driver attached) pcib6: MPTable PCI-PCI bridge at device 30.0 on pci0 pci6: PCI bus on pcib6 pci6: display, VGA at device 2.0 (no driver attached) isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel 6300ESB UDMA100 controller port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: serial bus, SMBus at device 31.3 (no driver attached) orm0: ISA Option ROMs at iomem 0xca800-0xcb7ff,0xc9800-0xca7ff,0xc8000-0xc97ff,0xc-0xc7fff on isa0 pmtimer0 on isa0 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
Re: harddrive error?
[EMAIL PROTECTED] [EMAIL PROTECTED] writes: i get a spam of errors on the screen that looks something like this ad4: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=137895 ad4: FAILURE - READ_DMA status=51READ,DSC,ERROR error=84ICRC,ABORTED LBA=293567 i have no idea You don't mention most of the important information (see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/index.html), but these symptoms often indicate a cabling problem. There have also been some issues with specific controllers, although most of them seem to have been cleaned up by now. Try updating your system, especially if you are running an old 5.x. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Video goes to graphics
Hi, I'm running: FreeBSD toshiba.tucs-beachin-obx-house.com 4.11-STABLE FreeBSD 4.11-STABLE #8: Mon Aug 1 12:08:53 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TOSHIBA i386 I'll be in a text window, no X running, and not doing anything complicated, and all of a sudden I'd get the screen looking like a bar code. I can't figure a way to clear it. If I start X, then exit out, its still seeming to be in graphics mode. Any idea whats happening? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cores and crashes on 4.X and 5.X
Hi, I previously posted a message about after upgrading to 5.3-RELEASE-p15 and getting random segfaults, or : /libexec/ld-elf.so.1: top: Shared object has no run-time symbol table I ran memtest on it for about 25 cycles, and it didn't show any problems. Its still happening, and I can't figure out why. It'll happen for a while then stop. Well, I just also upgraded a *DIFFERENT* computer to the RELENG_4 tree, and now I'm getting the same exact issues happening. (Infact, today I recompiled the kernel just incase and installed it, I had to installworld 6 times to get it to complete). On that matchine I ran memtest for 250 cycles with no problems. Whats worse, is I'm also getting panic's (I didn't save because of disk problems, will try next time) on the 4.X machine and having the text screen turn graphics all of a sudden. WHY, running the latest of 4 and 5 on different computers do I show the same type of problems DIRECTLY after upgrades? Any way to track this down... HELP! Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Migrate primary disk (duplicate)
Interresting thing: After all this (even restore), I launched sysinstall. I went in the fdisk section, selected the right disk, the right slice and pressed S (toggle bottable flags), then w (write changes) and q to quit. Then I choosed the Install the FreeBSD Boot Manager. Now it works. It boots from the second disk. I don't understand what went wrong in my script. What do I forget? Do you understand?? cheers -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Giorgos Keramidas Envoye : lundi 1 aout 2005 19:06 A : Alexandre D. Cc : Gary W. Swearingen; freebsd-questions@freebsd.org Objet : Re: Migrate primary disk (duplicate) On 2005-08-01 18:59, Alexandre D. [EMAIL PROTECTED] wrote: Here is the complete process I follow: sysctl kern.geom.debugflags=16 dd if=/dev/zero of=/dev/${disk} bs=1k count=1 fdisk -BI ${disk} The dd/geom stuff shouldn't really be necessary, AFAIK. disklabel -B -w -r ${disk}s1 auto disklabel -R ${disk}s1 generique.disklabel newfs /dev/${disk}s1a newfs /dev/${disk}s1d mount /dev/${disk}s1a ./mnt cd ./mnt dump 0uafL - / | restore xf - cd .. umount ./mnt mount /dev/${disk}s1d ./mnt cd ./mnt dump 0uafL - /usr | restore xf - cd .. umount ./mnt Hmmm, are you sure restore doesn't write files in their absolute location? Also, can you try running boot0cfg on the destination disk, as a final step, before trying to boot from it? ___ 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: How do I get rid of booteasy??? re-install windows xp mbr using ntfs???
Jerry Tarwid wrote: I am dual booting with Winblows XP and FreeBSD. I installed the FreeBSD Boot manager so I can dual boot. I now want to remove it! I have freaking scoured the [EMAIL PROTECTED] net still have NOT found an answer??? Anyone I'm using an NTFS volume so fdisk/mbr doesn't work and neither does booting to an xp cd recovery console and using fixboot or fixmbr. The [EMAIL PROTECTED] booteasy boot manager still leaves something in the mbrnothing works! I cannot believe that I am the only human being on the planet that has encountered this problem! A LITTLE HELP??? Hmmm... scoured, eh? Googling FreeBSD MBR uninstall returns over 5000 hits. That's probably too many to cope with, but luckily the correct answer is listed at least twice in the top five pages. (Moral of the story: if your search terms are leading you nowhere, try different search terms ;). Use an XP boot floppy/CD with their fdisk program and fdisk /MBR. If you'd prefer to remove the MBR using FreeBSD, see: man fdisk You can also clobber the MBR the same way you installed it in the first place: using sysinstall. This will simply invoke FreeBSD's fdisk on your behalf, if I'm not mistaken. -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ndisulator + wmp54g = kernal trap 12
Hi, I'm having a problem using my linksys wireless pci card (WMP54G). I just installed a fresh copy of freebsd 5.4. I followed these instructions exactly. http://www.xl0.org/FreeBSD/ndis.txt I was able to bring up the interface. The status for the interface says negotiated so it connected to my wireless router fine. However, if I try to ping the gateway (in my case 192.168.1.1) , I get kernal trap 12 errors. I can provide the rest of errors if nessary. Does anyone know what might be wrong? thanks. Below is a link to the bug report I filed. http://www.freebsd.org/cgi/query-pr.cgi?pr=84397 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I get rid of booteasy??? re-install windows xp mbr using ntfs???
Sorry, I'm an idiot and didn't read your whole message. Nor even half. Must sleep more. Greg Barniskis wrote: Jerry Tarwid wrote: I am dual booting with Winblows XP and FreeBSD. I installed the FreeBSD Boot manager so I can dual boot. I now want to remove it! I have freaking scoured the [EMAIL PROTECTED] net still have NOT found an answer??? Anyone I'm using an NTFS volume so fdisk/mbr doesn't work and neither does booting to an xp cd recovery console and using fixboot or fixmbr. The [EMAIL PROTECTED] booteasy boot manager still leaves something in the mbrnothing works! I cannot believe that I am the only human being on the planet that has encountered this problem! A LITTLE HELP??? Hmmm... scoured, eh? Googling FreeBSD MBR uninstall returns over 5000 hits. That's probably too many to cope with, but luckily the correct answer is listed at least twice in the top five pages. (Moral of the story: if your search terms are leading you nowhere, try different search terms ;). Use an XP boot floppy/CD with their fdisk program and fdisk /MBR. If you'd prefer to remove the MBR using FreeBSD, see: man fdisk You can also clobber the MBR the same way you installed it in the first place: using sysinstall. This will simply invoke FreeBSD's fdisk on your behalf, if I'm not mistaken. -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Syncing disks, buffers remaining - value increases?
Sorry for all the questions to the list, we're having a number of issues deploying FreeBSD 5.4 and we're trying to get an understanding of what we're seeing. When I reboot these servers (using reboot on the command line), it will go through the usual routine I'm familiar with from FreeBSD 4.x, but when it goes to the syncing disks phase, sometimes it will do something like this: Syncing disks, buffers remaining ... 1 1 1 1 1 2 1 1 1 3 1 1 1 1 Eventually it gives up on 1 or so buffers. When the server comes back up, it gives warnings that the partitions were all improperly dismounted. Is it normal for the number of buffers remaining to actually increase while shutting down? I'm looking at the kernel source and the loop that performs these syncs appears pretty small. Could something else still be running on the server that is trying to write to disk, even while in the shutdown phase? I guess it would only be able to run interrupt threads, judging by the comments, while it releases Giant. It may be a coincidence, but on a few occasions, the background fsck may have still been running when the reboot was issued. I've assumed that since fsck now runs in the background that it must be able to gracefully handle reboots. FreeBSD 5.4-RELEASE-p5, Dual proc Xeons (varying speed), varying memory, PAE+SMP kernels, 3ware RAID cards (varying capacity, RAID levels). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
remove all of KDE
I'm in the process of updating ports that have vulerablities. many in the KDE family do, so i've been trying to update them, but they keep erroring outbut i don't need or use KDE at all on this system. What is the best way to remove all pieces KDE. If i `pkg_delete kdebase` will it delete all sub packages. or do those have to go one at a time? Thanks Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
using distcc
I just wanted to know if anyone ever used distcc with freebsd... I had some problems setting up and would like to know how anyone else setup their systems... Thanks -- Antoine W. Solomon Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I get rid of booteasy??? re-install windows xp mbr using ntfs???
Jerry Tarwid [EMAIL PROTECTED] writes: I am dual booting with Winblows XP and FreeBSD. I installed the FreeBSD Boot manager so I can dual boot. I now want to remove it! I have freaking scoured the [EMAIL PROTECTED] net still have NOT found an answer??? Anyone I'm using an NTFS volume so fdisk/mbr doesn't work and neither does booting to an xp cd recovery console and using fixboot or fixmbr. The [EMAIL PROTECTED] booteasy boot manager still leaves something in the mbrnothing works! I cannot believe that I am the only human being on the planet that has encountered this problem! A LITTLE HELP??? If you still have FreeBSD installed, you can use boot0cfg -b /boot/mbr devicename to install a standard MBR onto the disk. If you don't have FreeBSD installed, the FreeBSD install disks have the ability to write a standard MBR as well, without needing to do a whole FreeBSD install. I don't recall exactly, but the general idea is to get into the slicing utility by choosing configure inside of the installer, and then you just proceed through the menus until you come to a menu titled Install Boot Manager. If you *really* insist on doing it from inside of Windows, then I'm sorry; you may have to ask in a Windows forum of some sort. FreeBSD folks don't necessarily know much about Windows. Good luck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Migrate primary disk (duplicate)
I made several tests. the exact problem is to install the freebsd boot manager. If I use any command line utility to restore the boot manager, it doesnt work. If I use /stand/sysinstall, choose fdisk and Install the FreeBSD boot Manager, it works What is the exact command line for this? cheers Alex -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Alexandre D. Envoye : lundi 1 aout 2005 20:21 A : freebsd-questions@freebsd.org Objet : RE: Migrate primary disk (duplicate) Interresting thing: After all this (even restore), I launched sysinstall. I went in the fdisk section, selected the right disk, the right slice and pressed S (toggle bottable flags), then w (write changes) and q to quit. Then I choosed the Install the FreeBSD Boot Manager. Now it works. It boots from the second disk. I don't understand what went wrong in my script. What do I forget? Do you understand?? cheers -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Giorgos Keramidas Envoye : lundi 1 aout 2005 19:06 A : Alexandre D. Cc : Gary W. Swearingen; freebsd-questions@freebsd.org Objet : Re: Migrate primary disk (duplicate) On 2005-08-01 18:59, Alexandre D. [EMAIL PROTECTED] wrote: Here is the complete process I follow: sysctl kern.geom.debugflags=16 dd if=/dev/zero of=/dev/${disk} bs=1k count=1 fdisk -BI ${disk} The dd/geom stuff shouldn't really be necessary, AFAIK. disklabel -B -w -r ${disk}s1 auto disklabel -R ${disk}s1 generique.disklabel newfs /dev/${disk}s1a newfs /dev/${disk}s1d mount /dev/${disk}s1a ./mnt cd ./mnt dump 0uafL - / | restore xf - cd .. umount ./mnt mount /dev/${disk}s1d ./mnt cd ./mnt dump 0uafL - /usr | restore xf - cd .. umount ./mnt Hmmm, are you sure restore doesn't write files in their absolute location? Also, can you try running boot0cfg on the destination disk, as a final step, before trying to boot from it? ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
growisofs: no mkisofs options are permitted with =, aborting
Hello, I'm trying to burn an iso image onto a DVD+RW. I'm trying: growisofs -Z /dev/cd0=image.iso This yields: growisofs: no mkisofs options are permitted with =, aborting... `dmesg | grep cd0` is: acd0: CDRW HL-DT-ST DVD+RW GCA-4040N/1.15 at ata1-master PIO4 cd0 at ata1 bus 0 target 0 lun 0 cd0: HL-DT-ST DVD+RW GCA-4040N 1.15 Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed FreeBSD is 6.0-BETA1. Growisofs is version 5.21 and mkisofs is 2.01 (cdrtools is 2.01). How can one burn an iso image onto a DVD+RW by growisofs? -Hanspeter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DVD burning..
So far I'm having no luck so thought I'd post and ask for help :) FreeBSD 5.4, BenQ DVD burner, using DVD-R media. GENERIC kernel with ATAPICAM added. Built an iso with mkisofs, and can burn it out with burncd to CDR no problem (if 700MB or less or so, of course.) For DVD, built a 2GB .iso using the same mkisofs command.. mkisofs -o foo.iso -J -R filelist* 'cdrecord' seems completely crippled and I'm amazed no one has written a 'Free' version (no dependancy on getting key files that expire, or reliance on one person to generate them, etc.) Took me awhile to figure out how to get the key files going... but it now has what seems like a common problem -- it starts up, does the 'grace time', then Alarm clock and it stops before doing any work. So after a few hours of buggering around I gave up.. Installed the dvd tools to get growisofs since this seemed like the main alternative to cdrecord. (burncd didn't seem to like to burn DVDs, though I forget exactly its output.) growisofs seems to almost work, but breaks and is slow: growisofs -dvd-compat -speed=4 -Z /dev/cd0=buckdvd.iso That results in.. Executing 'builtin_dd if=buckdvd.iso of=/dev/pass0 obs=32k seek=0' /dev/pass0: Current Write Speed is 4.1x1385KBps. 1867776/2937458688 ( 0.1%) @0.4x, remaining 104:46 7503872/2937458688 ( 0.3%) @1.2x, remaining 45:33 7503872/2937458688 ( 0.3%) @0.0x, remaining 71:35 7503872/2937458688 ( 0.3%) @0.0x, remaining 91:06 7503872/2937458688 ( 0.3%) @0.0x, remaining 110:37 7503872/2937458688 ( 0.3%) @0.0x, remaining 136:39 7503872/2937458688 ( 0.3%) @0.0x, remaining 156:11 7503872/2937458688 ( 0.3%) @0.0x, remaining 182:12 7503872/2937458688 ( 0.3%) @0.0x, remaining 201:44 13107200/2937458688 ( 0.4%) @1.2x, remaining 126:25 13107200/2937458688 ( 0.4%) @0.0x, remaining 141:18 13205504/2937458688 ( 0.4%) @0.0x, remaining 151:19 ...etc... 16547840/2937458688 ( 0.6%) @0.0x, remaining 435:23 16547840/2937458688 ( 0.6%) @0.0x, remaining 444:13 16547840/2937458688 ( 0.6%) @0.0x, remaining 455:59 :-[ [EMAIL PROTECTED] failed with SK=6h/ASC=29h/ACQ=00h]: Input/output error builtin_dd: 8080*2KB out @ average 0.1x1385KBps :-( write failed: Input/output error /dev/pass0: flushing cache :-[ FLUSH CACHE failed with SK=2h/ASC=04h/ACQ=01h]: Resource temporarily unavailable :-[ SYNCHRONOUS FLUSH CACHE failed with SK=2h/ASC=04h/ACQ=01h]: Resource temporarily unavailable So it would seem to take hours to burn a DVD, and tanks after a few moments anyway. Any ideas? jeff Aside .. seems like a lot of tools depend on cdrecord to work, and it seems cdrecord with its key situation is volitile and requires userland knowledge to sort out.. so a bad situation :( -- Have you played Atari today? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remove all of KDE
On 01 Aug jdyke wrote: If i `pkg_delete kdebase` will it delete all sub packages. or do those have to go one at a time? pkg_delete kde\* removes most if not all of kde* stuff. -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate primary disk (duplicate)
Alexandre D. [EMAIL PROTECTED] writes: Here is the complete process I follow: sysctl kern.geom.debugflags=16 dd if=/dev/zero of=/dev/${disk} bs=1k count=1 Shouldn't be needed, but if you're concerned, write enough sectors to zero the start of {disk} and the start of {disk}s1 -- something like 63+16; bs=100k maybe. fdisk -BI ${disk} Again, -B and -I don't sound like a good combo. disklabel -B -w -r ${disk}s1 auto You said you were running 5.4. AFAIK, there's no -w, -r, and no auto. Other than that it looks fine. :) (But knowing the way some developers think, they might have been removed from the manpage only. G.) disklabel -R ${disk}s1 generique.disklabel newfs /dev/${disk}s1a newfs /dev/${disk}s1d mount /dev/${disk}s1a ./mnt cd ./mnt dump 0uafL - / | restore xf - Looks like you're dumping to a file named ./mnt/L. Does ./mnt really have anything else in it after that restore? -generique.disklabel file--- a: 4194304004.2BSD b: 2097152 * swap d: * *4.2BSD Could be. Have it print out the resulting disklabel and see if looks OK. If I do the same with /stand/sysinstall in stead of dd if=/dev/zero of=/dev/${disk} bs=1k count=1 fdisk -BI ${disk} disklabel -B -w -r ${disk}s1 auto It works well. Could it be because it uses boot0cfg and you use fdisk? (You haven't said whether you're telling sysinstall to install a standard MBR or a FreeBSD MBR or none.) If you're curious, you can dump the two main boot sectors a readable file and compare the sysinstall version with the fdisk version and /boot/mbr and /boot/boot0. dd if=/dev/ad0 count=1 | hd /tmp/ad0 dd if=/dev/ad0s1 count=1 | hd /tmp/ad0s1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate primary disk (duplicate)
Alexandre D. [EMAIL PROTECTED] writes: I made several tests. the exact problem is to install the freebsd boot manager. But your fdisk -B -b /boot/boot0 should have done that. I'm not sure if it has defaults that would work for you though. boot0cfg tells you what defaults it will use and lets you change them. If I use any command line utility to restore the boot manager, it doesnt work. Does any include boot0cfg? If I use /stand/sysinstall, choose fdisk and Install the FreeBSD boot Manager, it works What is the exact command line for this? Depends upon what you want. Read boot0cfg manpage; it's short. I used this once: boot0cfg -Bv -o packet,noupdate -s 3 -t ad0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remove all of KDE
Dick Hoogendijk [EMAIL PROTECTED] writes: On 01 Aug jdyke wrote: If i `pkg_delete kdebase` will it delete all sub packages. or do those have to go one at a time? pkg_delete kde\* removes most if not all of kde* stuff. Using -r should also get rid of packages that depend on the kde stuff. You might ought to use -rn first, and study output. BTW, it seems that pkg_deinstall is meant to be used instead of pkg_delete (outside old scripts, anyway). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remove all of KDE
Gary W. Swearingen wrote: Dick Hoogendijk [EMAIL PROTECTED] writes: On 01 Aug jdyke wrote: If i `pkg_delete kdebase` will it delete all sub packages. or do those have to go one at a time? pkg_delete kde\* removes most if not all of kde* stuff. Using -r should also get rid of packages that depend on the kde stuff. You might ought to use -rn first, and study output. BTW, it seems that pkg_deinstall is meant to be used instead of pkg_delete (outside old scripts, anyway). thanks all. don't know why i went to the list instead of man so quickly today, guess i was a little leary since its a large app with so many ties to other apps. as soon as i sent it went to man, got it all uninstalled. Think i've left some files around in the icons/graphics shared folders. I did see the piece about deinstall and actually ended up uwing that instead. Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using distcc
On Monday, 1 August 2005 at 14:59:19 -0400, Antoine Solomon wrote: I just wanted to know if anyone ever used distcc with freebsd... I had some problems setting up and would like to know how anyone else setup their systems... Yes, I've used it. No, I haven't had problems with it. If you're having problems, you should describe them. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpS3hmVTLL76.pgp Description: PGP signature
Re: growisofs: no mkisofs options are permitted with =, aborting
On Monday, 1 August 2005 at 22:31:45 +0200, Hanspeter Roth wrote: Hello, I'm trying to burn an iso image onto a DVD+RW. I'm trying: growisofs -Z /dev/cd0=image.iso The version of growisofs that I use doesn't have a -Z option. From a system that does: -Z /dev/dvd Burn an initial session to the selected device. A special form of this option is recognized to support burning of pre-mastered images. See EXAMPLES section for further details. Is this your intention? If so, it seems that you're not sticking to the syntax. This yields: growisofs: no mkisofs options are permitted with =, aborting... `dmesg | grep cd0` is: acd0: CDRW HL-DT-ST DVD+RW GCA-4040N/1.15 at ata1-master PIO4 cd0 at ata1 bus 0 target 0 lun 0 cd0: HL-DT-ST DVD+RW GCA-4040N 1.15 Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed This doesn't tell me whether you have a /dev/cd0 or not. That depends on the release of FreeBSD. Use 'ls -l /dev/cd0' and check that it's a character device. You should see: crw-r- 1 root operator4, 28 Jun 25 21:11 /dev/cd0 Older systems have: brw-r- 1 root operator6, 0 Aug 26 2000 /dev/cd0a brw-r- 1 root operator6, 2 Aug 26 2000 /dev/cd0c Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpGl3LzRlymO.pgp Description: PGP signature
Re: DVD burning..
On Monday, 1 August 2005 at 17:09:46 -0400, Jeff Mitchell wrote: Built an iso with mkisofs, and can burn it out with burncd to CDR no problem (if 700MB or less or so, of course.) For DVD, built a 2GB .iso using the same mkisofs command.. mkisofs -o foo.iso -J -R filelist* 'cdrecord' seems completely crippled... Certainly I've had problems with it too. Installed the dvd tools to get growisofs since this seemed like the main alternative to cdrecord. (burncd didn't seem to like to burn DVDs, though I forget exactly its output.) It's probably similar to what I describe at http://www.lemis.com/grog/making-AUUGN.html. growisofs seems to almost work, but breaks and is slow: growisofs -dvd-compat -speed=4 -Z /dev/cd0=buckdvd.iso Note that you don't need to specify the speed unless you want it to be slower than the DVD specifies. That might be useful. Read on. That results in.. Executing 'builtin_dd if=buckdvd.iso of=/dev/pass0 obs=32k seek=0' /dev/pass0: Current Write Speed is 4.1x1385KBps. 1867776/2937458688 ( 0.1%) @0.4x, remaining 104:46 7503872/2937458688 ( 0.3%) @1.2x, remaining 45:33 7503872/2937458688 ( 0.3%) @0.0x, remaining 71:35 ...etc... 16547840/2937458688 ( 0.6%) @0.0x, remaining 435:23 16547840/2937458688 ( 0.6%) @0.0x, remaining 444:13 16547840/2937458688 ( 0.6%) @0.0x, remaining 455:59 :-[ [EMAIL PROTECTED] failed with SK=6h/ASC=29h/ACQ=00h]: Input/output error builtin_dd: 8080*2KB out @ average 0.1x1385KBps :-( write failed: Input/output error /dev/pass0: flushing cache :-[ FLUSH CACHE failed with SK=2h/ASC=04h/ACQ=01h]: Resource temporarily unavailable :-[ SYNCHRONOUS FLUSH CACHE failed with SK=2h/ASC=04h/ACQ=01h]: Resource temporarily unavailable So it would seem to take hours to burn a DVD, and tanks after a few moments anyway. This looks to me as if you're having problems with your blanks. I've seen something like this a couple of times, but in each case it basically didn't get beyond the initial write of (in your case, anyway 1867776 bytes). I'd *strongly* recommend getting at least some +/-RWs to play around with. At least like that you don't end up with a pile of coasters, and it might help identify the issues. All my burn failures (about 40% of total!) have been with DVD+Rs, though admittedly a cheap no-name brand bought in Taipei. I've found that they work OK if I burn them at speed=1; if I use the default speed of 4, they usually fail. Aside .. seems like a lot of tools depend on cdrecord to work, and it seems cdrecord with its key situation is volitile and requires userland knowledge to sort out.. so a bad situation :( I've given up on cdrecord. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpLJ6rcb7N26.pgp Description: PGP signature
Re: DVD burning..
Jeff Mitchell wrote: [ ... ] Installed the dvd tools to get growisofs since this seemed like the main alternative to cdrecord. (burncd didn't seem to like to burn DVDs, though I forget exactly its output.) growisofs seems to almost work, but breaks and is slow: growisofs -dvd-compat -speed=4 -Z /dev/cd0=buckdvd.iso That results in.. Executing 'builtin_dd if=buckdvd.iso of=/dev/pass0 obs=32k seek=0' /dev/pass0: Current Write Speed is 4.1x1385KBps. 1867776/2937458688 ( 0.1%) @0.4x, remaining 104:46 [ ... ] 16547840/2937458688 ( 0.6%) @0.0x, remaining 455:59 :-[ [EMAIL PROTECTED] failed with SK=6h/ASC=29h/ACQ=00h]: Input/output error builtin_dd: 8080*2KB out @ average 0.1x1385KBps :-( write failed: Input/output error /dev/pass0: flushing cache :-[ FLUSH CACHE failed with SK=2h/ASC=04h/ACQ=01h]: Resource temporarily unavailable :-[ SYNCHRONOUS FLUSH CACHE failed with SK=2h/ASC=04h/ACQ=01h]: Resource temporarily unavailable So it would seem to take hours to burn a DVD, and tanks after a few moments anyway. Is sysctl hw.ata.atapi_dma set to 1? It looks like your system isn't able to send enough data to the burner to run at 4x, perhaps try burning at 1x speed and see whether that is more reliable. (Often that works better with low-quality DVD-R media, anyway...) You might want to double check your ATA connections, is the burner on its own channel as the primary master, by preference...? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hello
Thank you for your email. I am currently on maternity leave and will return to work on Monday 20 February, 2006. In my absence, please contact Nina McKay on [EMAIL PROTECTED] or 5327 9923. Thanks, Emma questions 08/02/05 12:05 See the attached file for details. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Custom Sendmail through /etc/make.conf
Hey all... I'm building a new box and thinking I'd like to stick with the base sendmail instead of building my own as I've traditionally been doing. Here is my devtools/Site/site.config.m4 file APPENDDEF(`confENVDEF', `-DSASL -DNETINET6') APPENDDEF(`confLIBDIRS', `-L/usr/local/lib') APPENDDEF(`confINCDIRS', `-I/usr/local/include') APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER -DSTARTTLS') APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE ') APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto -lsasl') Fairly simple, turns on SASL, SSL, Milters, and inet6 What would I put in the /etc/make.conf, which expects things like: #SENDMAIL_CFLAGS= #SENDMAIL_LDFLAGS= #SENDMAIL_LDADD= #SENDMAIL_DPADD= to accomplish this? -- Ca. Tas. Tro. Phy. -John Smedley, March 28th 1998, 3AM Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ATA over 127 GByte on FBSD 4.8 ?
===I recently replaced smaller drives with a 160G and 250G drives (IDE). They were on the Gigabyte motherboard's SiS 963 chipset. I discovered that attempts to access anything above 127G resulted in errors: pg root:root# dd if=/dev/ad6 of=/dev/null bs=2k skip=5120 dd: /dev/ad6: Input/output error 1261767+0 records in 1261767+0 records out 2584098816 bytes transferred in 795.559900 secs (3248151 bytes/sec) pg root:root# ===and (from the console and /var/log/messages) Aug 1 21:58:09 moleend /kernel: ad6: hard error reading fsbn 419694136 of 20984 7068-209847071 (ad6 bn 419694136; cn 26124 tn 191 sn 43) status=59 error=40 ===On the assumption that the problem was in the controller, I purchased a Promise Ultra 133 TX2; the result was the same. ===I'm on 4.8, and I'd prefer to have these disks working BEFORE any upgrade. If the upgrade must be to 5.X, then I really^3 want to have these disks working first. (They're not my primary drives; I use them for rotating backup and large projects. My primary drives are nice, well-behaved, expensive SCSI drives.) ===Here's my current IDE configuration: pd root:root# ntrol cap 2 0 ; atacontrol cap 3 0 ATA channel 0: Master: acd0 CDU5211/YYS7 ATA/ATAPI rev 0 Slave: no device present ATA channel 1: Master: ad2 IC35L120AVV207-1/V24OA66A ATA/ATAPI rev 6 Slave: no device present ATA channel 2: Master: ad4 ST3250823A/3.02 ATA/ATAPI rev 7 Slave: no device present ATA channel 3: Master: ad6 Maxtor 6Y160P0/YAR41BW0 ATA/ATAPI rev 7 Slave: no device present ATA channel 0, Master, device acd0: ATA/ATAPI revision0 device model CDU5211 serial number firmware revision YYS7 cylinders 0 heads 0 sectors/track 0 lba supported lba48 not supported dma supported overlap not supported Feature Support EnableValue Vendor write cacheno no read ahead no no dma queued no no 0/00 SMART no no microcode download no no security no no power management no no advanced power management no no 0/00 automatic acoustic management no no 0/000/00 ATA channel 1, Master, device ad2: ATA/ATAPI revision6 device model IC35L120AVV207-1 serial number VNVD07G4GV0RWL firmware revision V24OA66A cylinders 16383 heads 16 sectors/track 63 lba supported 241254720 sectors lba48 supported 241254720 sectors dma supported overlap not supported Feature Support EnableValue Vendor write cacheyes yes read ahead yes yes dma queued yes yes 31/1F SMART yes no microcode download no no security yes no power management yes yes advanced power management yes no 0/00 automatic acoustic management yes no 254/FE 128/80 ATA channel 2, Master, device ad4: ATA/ATAPI revision7 device model ST3250823A serial number 5ND00CEX firmware revision 3.02 cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 488397168 sectors dma supported overlap not supported Feature Support EnableValue Vendor write cacheyes yes read ahead yes yes dma queued no no 0/00 SMART yes no microcode download yes yes security yes no power management yes yes advanced power management no no 65278/FEFE automatic acoustic management no no 0/00128/80 ATA channel 3, Master, device ad6: ATA/ATAPI revision7 device model Maxtor 6Y160P0 serial number Y45EWX8E firmware revision YAR41BW0 cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 320173056 sectors dma supported overlap not supported Feature Support EnableValue Vendor write cacheyes yes read ahead yes yes dma queued no no 0/00 SMART yes no microcode download yes yes security yes no power management yes yes advanced power management yes no 0/00 automatic acoustic management yes yes 254/FE 192/C0 pd root:root# ===Here are
Re: problems burning multi session dvd-rw
On Fri, Jul 29, 2005 at 12:15:03PM +0200, Marc Fonvieille wrote: On Fri, Jul 29, 2005 at 05:17:15PM +1000, Timothy Smith wrote: Marc Fonvieille wrote: On Thu, Jul 28, 2005 at 03:15:06PM +1000, Timothy Smith wrote: i'm having some troubles burning a multi session dvd-rw. i blanked te dvd to make sure it was in sequential mode %dvd+rw-format /dev/cd0a -blank * DVD\uRW format utility by [EMAIL PROTECTED], version 4.9. * 4.7GB DVD-RW media in Sequential mode detected. * blanking 100.0| [...] Try to upgrade to a more up to date version of dvd+rw-tools and try with -blank=full option. Marc i cvsup'd to the latest and still the same thing, any ideas? Did you use -blank=full or -blank? Did you have the same issue with all DVD-RW brands? Is your DVD burner firmware up to date? Is your DVD burner mentioned on dvd+rw-tools' hardware page? I couldn't get -blank or -blank=full to properly erase a DVD-RAM and I had to resort to dd if=/dev/zero of=/dev/cd0 bs=2048. That worked for me. YMMV. Carl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATA over 127 GByte on FBSD 4.8 ?
On Mon, Aug 01, 2005 at 07:40:31PM -0700, Mark Terribile wrote: ===I recently replaced smaller drives with a 160G and 250G drives (IDE). They were on the Gigabyte motherboard's SiS 963 chipset. I discovered that attempts to access anything above 127G resulted in errors: pg root:root# dd if=/dev/ad6 of=/dev/null bs=2k skip=5120 dd: /dev/ad6: Input/output error 1261767+0 records in 1261767+0 records out 2584098816 bytes transferred in 795.559900 secs (3248151 bytes/sec) pg root:root# ===and (from the console and /var/log/messages) Aug 1 21:58:09 moleend /kernel: ad6: hard error reading fsbn 419694136 of 20984 7068-209847071 (ad6 bn 419694136; cn 26124 tn 191 sn 43) status=59 error=40 ===On the assumption that the problem was in the controller, I purchased a Promise Ultra 133 TX2; the result was the same. ===I'm on 4.8, and I'd prefer to have these disks working BEFORE any upgrade. If the upgrade must be to 5.X, then I really^3 want to have these disks working first. (They're not my primary drives; I use them for rotating backup and large projects. My primary drives are nice, well-behaved, expensive SCSI drives.) Try 4.11 if you don't want to make the leap to 5.x - it's unlikely that anyone will be able to help you if the problem is in 4.8 itself. 4.11 can definitely access 127GB. Kris pgpl3HT8K6Ail.pgp Description: PGP signature
Re: dhclient and wpa_supplicant
Eric Schuele wrote: Sam Leffler wrote: Eric Schuele wrote: Sam Leffler wrote: Eric Schuele wrote: big-snip dhclient.conf contains === interface ath0 { #send option host-name myhost; #send option domain-name nxdomain.org; send dhcp-client-identifier myhost; media ### Home ssid home_ssid mode 11b channel 11 wepmode on weptxkey 1 wepkey 0xhome_wepkey, ### Office ssid office_ssid mode 11b channel 6 wepmode on weptxkey 1 wepkey 0xoffice_wepkey; request subnet-mask, broadcast-address, routers, domain-name-servers, domain-name; } Do not use media statements to setup wireless parameters; this does not work. You need to run wpa_supplicant and let it identify the network and setup the key parameters. How do I tell wpa_supplicant about the network media? I had found an older post of yours regarding NOT doing it in dhclient.conf but I've found no other way to accomplish it. The above dhclient.conf lists media settings that are all handled by wpa_supplicant so you don't specify any of them. Specifically you set ssid, band, channel, and wep parameters; all these are handled by wpa_supplicant. ok... I removed the lines from dhclient.conf. I reboot, and run wpa_supplicant manually with -d. The output is attached. My AP shows up as , while my neighbors ssids are not hidden ('linksys' and 'default'). The intent is that dhclient deal only with the dhcp protocol and stop being involved in the discovery and selection of wireless networks (a job wpa_supplicant is better equipped to handle). wpa_supplicant.conf = ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel # Home Network network={ ssid=home_ssid scan_ssid=1 key_mgmt=NONE wep_tx_keyidx=0 wep_key0=home_wepkey } # Office Network network={ ssid=office_ssid scan_ssid=1 key_mgmt=NONE wep_tx_keyidx=0 wep_key0=office_wepkey } Not sure you need scan_ssid set, I'd leave it out. If you have problems try disabling auto-startup of ath0 and run wpa_supplicant by hand with the -d flag to see what it's doing. Once that's going then enable startup in rc.conf. If you continue to have problems provide the output wpa_supplicant -d -i ath0 -c /etc/wpa_supplicant.conf (or similar) when you have trouble. There is also a pending issue with locating some ap's that are setup to hide their ssid. If one of the ap's is configured in this way contact me directly--I've been trying to collect the info I need to identify what's going on. Both my APs (home and office) hide their ssids. One is a wrt54g (home), the other is linksys as well... though I forget the model at the moment (FWIW its a/b/g). What can I do to provide the info you need? These should work; I've had reports of problems with certain Cisco ap's. Note however that configuring an ap to hide it's ssid adds no real security. I realize hidden ssids are of no real world use... but they keep *my* neighbors out (you'll notice their ssids in the wpa_supp output). Actually you can do just as well using mac acl's to restrict access. Neither hidden ssid or mac acls are particularly useful except to keep nuisance traffic out. Both can be trivially subverted; you need to go to something like 802.1x or wpa for reasonable authentication of stations (wpa-psk is inexpensive and easy to setup and is my preferred method). Understand that hidden ssid use comes at a price. Normally a station will scan by sending a broadcast probe request frame on a channel and listen for responses from all ap's. When an ap hides its ssid the station must send a directed probe request frame for each ap that it might be looking for. If you've got lots of ap's on the wire and/or lots of ap's you're searching for your scan will take more time and soak more air time. Given that it's trivial to passively monitor a network and collect the ssid for an ap you can see why I suggest it's better to use a mac acl if your intent is just to keep out naive users. Sam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Any idea why my machine will never associate with my AP using wpa_supplicant? Anything else I can provide that may shed some light? I am using WEP... not WPA... could that part of the problem. Since WPA was not previously supported I had been using WEP... and figured I'd move up to WPA one step at a time. All help is appreciated. ...stuff deleted... The problem is that the current wpa_supplicant scanning code is pretty simplistic. wpa_supplicant is a great bit of work but was written for the least-common denominator device. When scanning it does not (yet) handle ap's using hidden ssid except by deferring the work to the operating system.
Re: dhclient and wpa_supplicant
Eric Schuele wrote: Sam Leffler wrote: Eric Schuele wrote: Sam Leffler wrote: Eric Schuele wrote: big-snip Both my APs (home and office) hide their ssids. One is a wrt54g (home), the other is linksys as well... though I forget the model at the moment (FWIW its a/b/g). What can I do to provide the info you need? These should work; I've had reports of problems with certain Cisco ap's. Note however that configuring an ap to hide it's ssid adds no real security. FWIW... I set my AP to broadcast the ssid. It then quickly associated with it. But then dhclient 'broke the association' when it tried to acquire a lease (I have removed the media lines from dhclient.conf)? and subsequent wpa_supplicant attempts would no longer detect or associate with the AP... till I reboot. Attached is that log. What else can I provide to help. I'll look into this; thanks. Sam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bge0 : WatchDog timeout -- resetting
I m using FreeBSD 5.3, on Dell Power Edge 6650 Quad Processor Machine, my system get stuck while i m accessing it through ssh. well after some time , when i acces the machine check , /var/log/messages ,, i get bge1: WatchDog Timedout -- resetting error. Is there any one , to tap my back get me off from this headhac,,, Here is the dmesg for my system , ACPI APIC Table: DELL PE6650 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) MP CPU 2.20GHz (2192.90-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf26 Stepping = 6 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 2147352576 (2047 MB) avail memory = 2095886336 (1998 MB) FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic2: Changing APIC ID to 10 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-15 on motherboard ioapic1 Version 1.1 irqs 16-31 on motherboard ioapic2 Version 1.1 irqs 32-47 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: DELL PE6650 on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 cpu2: ACPI CPU on acpi0 cpu3: ACPI CPU on acpi0 cpu4: ACPI CPU on acpi0 cpu5: ACPI CPU on acpi0 cpu6: ACPI CPU on acpi0 cpu7: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 ahc0: Adaptec aic7892 Ultra160 SCSI adapter port 0xec00-0xecff mem 0xfe102000- 0xfe102fff irq 16 at device 3.0 on pci0 ahc0: [GIANT-LOCKED] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs pci0: display, VGA at device 4.0 (no driver attached) atapci0: ServerWorks CSB5 UDMA100 controller port 0x8b0-0x8bf,0x376,0x170-0x17 7,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 ohci0: OHCI (generic) USB controller mem 0xfe10-0xfe100fff irq 10 at devic e 15.2 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isab0: PCI-ISA bridge at device 15.3 on pci0 isa0: ISA bus on isab0 pcib1: ACPI Host-PCI bridge on acpi0 pci3: ACPI PCI bus on pcib1 amr0: LSILogic MegaRAID mem 0xfce0-0xfce0 irq 21 at device 1.0 on pci3 amr0: [GIANT-LOCKED] amr0: LSILogic PERC 4/DC Firmware 350O, BIOS 1.09, 128MB RAM pcib2: ACPI Host-PCI bridge on acpi0 pci8: ACPI PCI bus on pcib2 bge0: Broadcom BCM5700 Gigabit Ethernet, ASIC rev. 0x7104 mem 0xfcd1-0xfcd 1 irq 17 at device 1.0 on pci8 miibus0: MII bus on bge0 brgphy0: BCM5411 10/100/1000baseTX PHY on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX -FDX, auto bge0: Ethernet address: 00:11:43:db:68:2a bge1: Broadcom BCM5700 Gigabit Ethernet, ASIC rev. 0x7104 mem 0xfcd0-0xfcd 0 irq 18 at device 2.0 on pci8 miibus1: MII bus on bge1 brgphy1: BCM5411 10/100/1000baseTX PHY on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX -FDX, auto bge1: Ethernet address: 00:11:43:db:68:2b pcib3: ACPI Host-PCI bridge on acpi0 pci9: ACPI PCI bus on pcib3 pcib4: ACPI Host-PCI bridge on acpi0 pci14: ACPI PCI bus on pcib4 pcib5: ACPI Host-PCI bridge on acpi0 pci19: ACPI PCI bus on pcib5 pcib6: ACPI Host-PCI bridge on acpi0 pci24: ACPI PCI bus on pcib6 fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: ISA Option ROMs at iomem 0xec000-0xe,0xc-0xc7fff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounters tick every 10.000 msec ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to de ny, logging unlimited acd0: CDRW SAMSUNG CDRW/DVD SN-324S/U304 at ata0-master UDMA33 Waiting 15 seconds for SCSI devices to settle amrd0: LSILogic MegaRAID logical drive on amr0 amrd0: 69880MB (143114240 sectors) RAID
Re: dhclient and wpa_supplicant
Sam Leffler wrote: Eric Schuele wrote: Sam Leffler wrote: Eric Schuele wrote: Sam Leffler wrote: Eric Schuele wrote: big-snip dhclient.conf contains === interface ath0 { #send option host-name myhost; #send option domain-name nxdomain.org; send dhcp-client-identifier myhost; media ### Home ssid home_ssid mode 11b channel 11 wepmode on weptxkey 1 wepkey 0xhome_wepkey, ### Office ssid office_ssid mode 11b channel 6 wepmode on weptxkey 1 wepkey 0xoffice_wepkey; request subnet-mask, broadcast-address, routers, domain-name-servers, domain-name; } Do not use media statements to setup wireless parameters; this does not work. You need to run wpa_supplicant and let it identify the network and setup the key parameters. How do I tell wpa_supplicant about the network media? I had found an older post of yours regarding NOT doing it in dhclient.conf but I've found no other way to accomplish it. The above dhclient.conf lists media settings that are all handled by wpa_supplicant so you don't specify any of them. Specifically you set ssid, band, channel, and wep parameters; all these are handled by wpa_supplicant. ok... I removed the lines from dhclient.conf. I reboot, and run wpa_supplicant manually with -d. The output is attached. My AP shows up as , while my neighbors ssids are not hidden ('linksys' and 'default'). The intent is that dhclient deal only with the dhcp protocol and stop being involved in the discovery and selection of wireless networks (a job wpa_supplicant is better equipped to handle). wpa_supplicant.conf = ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel # Home Network network={ ssid=home_ssid scan_ssid=1 key_mgmt=NONE wep_tx_keyidx=0 wep_key0=home_wepkey } # Office Network network={ ssid=office_ssid scan_ssid=1 key_mgmt=NONE wep_tx_keyidx=0 wep_key0=office_wepkey } Not sure you need scan_ssid set, I'd leave it out. If you have problems try disabling auto-startup of ath0 and run wpa_supplicant by hand with the -d flag to see what it's doing. Once that's going then enable startup in rc.conf. If you continue to have problems provide the output wpa_supplicant -d -i ath0 -c /etc/wpa_supplicant.conf (or similar) when you have trouble. There is also a pending issue with locating some ap's that are setup to hide their ssid. If one of the ap's is configured in this way contact me directly--I've been trying to collect the info I need to identify what's going on. Both my APs (home and office) hide their ssids. One is a wrt54g (home), the other is linksys as well... though I forget the model at the moment (FWIW its a/b/g). What can I do to provide the info you need? These should work; I've had reports of problems with certain Cisco ap's. Note however that configuring an ap to hide it's ssid adds no real security. I realize hidden ssids are of no real world use... but they keep *my* neighbors out (you'll notice their ssids in the wpa_supp output). Actually you can do just as well using mac acl's to restrict access. Yes... I restrict those as well. Neither hidden ssid or mac acls are particularly useful except to keep nuisance traffic out. Both can be trivially subverted; you need to go to something like 802.1x or wpa for reasonable authentication of stations (wpa-psk is inexpensive and easy to setup and is my preferred method). I'm on my way to wpa+... just wanted to confirm I had things working in their previously operational configuration (WEP was all that was available at the time). Understand that hidden ssid use comes at a price. Normally a station will scan by sending a broadcast probe request frame on a channel and listen for responses from all ap's. When an ap hides its ssid the station must send a directed probe request frame for each ap that it might be looking for. If you've got lots of ap's on the wire and/or lots of ap's you're searching for your scan will take more time and soak more air time. Given that it's trivial to passively monitor a network and collect the ssid for an ap you can see why I suggest it's better to use a mac acl if your intent is just to keep out naive users. Noted. Thanks. Sam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Any idea why my machine will never associate with my AP using wpa_supplicant? Anything else I can provide that may shed some light? I am using WEP... not WPA... could that part of the problem. Since WPA was not previously supported I had been using WEP... and figured I'd move up to WPA one step at a time. All help is appreciated. ...stuff deleted... The problem is that the current wpa_supplicant scanning code
Re: Custom Sendmail through /etc/make.conf
Dan Mahoney, System Admin wrote: Hey all... I'm building a new box and thinking I'd like to stick with the base sendmail instead of building my own as I've traditionally been doing. Here is my devtools/Site/site.config.m4 file APPENDDEF(`confENVDEF', `-DSASL -DNETINET6') APPENDDEF(`confLIBDIRS', `-L/usr/local/lib') APPENDDEF(`confINCDIRS', `-I/usr/local/include') APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER -DSTARTTLS') APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE ') APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto -lsasl') Fairly simple, turns on SASL, SSL, Milters, and inet6 What would I put in the /etc/make.conf, which expects things like: Something like: #SENDMAIL_CFLAGS+= -DMILTER -DSTARTTLS -DHASURANDOMDEV #SENDMAIL_CFLAGS+= -I/usr/local/ssl/include -I/usr/local/include #SENDMAIL_CFLAGS+= -DSASL=2 #SENDMAIL_LDFLAGS+= -L/usr/local/ssl/lib #SENDMAIL_LDADD=-lssl -lcrypto -lsasl -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ecartis command results: -- Attached file included as plaintext by Ecartis --
ALERT! Unknown command. This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner scans all outbound e-mail attachments. If a virus, worm, or other security threat is found, Road Runner cleans or deletes the infected attachments as necessary, but continues to send the original message content to the recipient. Further information on this initiative can be found at http://help.rr.com/faqs/e_mgsp.html. Unknown command. Please be advised that Road Runner does not contact the original sender of the e-mail as part of the scanning process. Road Runner recommends that if the sender is known to you, you contact them directly and advise them of their issue. If you do not know the sender, we advise you to forward this message in its entirety (including full headers) to the Road Runner Abuse Department, at [EMAIL PROTECTED] Unknown command. The original message was received at Mon, 1 Aug 2005 21:44:18 -0700 from freebsd.org [152.5.72.43] Unknown command. - The following addresses had permanent fatal errors - Unknown command. [EMAIL PROTECTED] Unknown command. file attachment: letter.zip Unknown command. This e-mail in its original form contained one or more attached files that were infected with the [EMAIL PROTECTED] virus or worm. They have been removed. Unknown command. For more information on Road Runner's virus filtering initiative, visit our Help Member Services pages at http://help.rr.com, or the virus filtering information page directly at http://help.rr.com/faqs/e_mgsp.html. Unknown command. --- Ecartis v1.0.0 - job execution complete. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: growisofs: no mkisofs options are permitted with =, aborting
On Tue, Aug 02, 2005 at 09:50:03AM +0930, Greg 'groggy' Lehey wrote: On Monday, 1 August 2005 at 22:31:45 +0200, Hanspeter Roth wrote: Hello, I'm trying to burn an iso image onto a DVD+RW. I'm trying: growisofs -Z /dev/cd0=image.iso The version of growisofs that I use doesn't have a -Z option. From a system that does: -Z /dev/dvd Burn an initial session to the selected device. A special form of this option is recognized to support burning of pre-mastered images. See EXAMPLES section for further details. Is this your intention? If so, it seems that you're not sticking to the syntax. It's valid syntax ... just not documented in the man page. You have to go out to the website to find out about it. This yields: growisofs: no mkisofs options are permitted with =, aborting... Looking through the code, this error message seems to mean that growisofs found a parameter that it doesn't recognize and assumes you mean to pass it to mkisofs. I'd double check the spelling of all the options. Maybe retype the command to make sure there aren't any invisible control characters that are somehow getting interpreted as options. If none of that works, try adding --quiet to the command line. My quick look through the code suggests this might work (Though my confidence of that is low). If it does work, I'd really like to hear it though. Finally, if none of those things work, you might try: growisofs -Z /dev/cd0=/dev/fd/0 image.iso `dmesg | grep cd0` is: acd0: CDRW HL-DT-ST DVD+RW GCA-4040N/1.15 at ata1-master PIO4 cd0 at ata1 bus 0 target 0 lun 0 cd0: HL-DT-ST DVD+RW GCA-4040N 1.15 Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed This doesn't tell me whether you have a /dev/cd0 or not. That depends on the release of FreeBSD. Use 'ls -l /dev/cd0' and check that it's a character device. You should see: crw-r- 1 root operator4, 28 Jun 25 21:11 /dev/cd0 Older systems have: brw-r- 1 root operator6, 0 Aug 26 2000 /dev/cd0a brw-r- 1 root operator6, 2 Aug 26 2000 /dev/cd0c Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wireless access points for FreeBSD 4.3?
Hi, I've been searching the web for compatible wireless access points for FreeBSD 4.3. As of yet I've been unsuccessful in finding any kind of list. However we do have the following base stations in our lab: D-Link DI-524 Netgear ME 102 MS MN-500 Is there any way I can configure my FreeBSD 4.3 server to see any one of these? The set-up is, my server and base station are connected to a wired network, and then I have a wireless client running on Red Hat Linux 9 contacting the server through the wireless access point. If the models are too new for 4.3, can you instead recommend access points that *are* compatible? Thanks in advance, Jamie __ 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: growisofs: no mkisofs options are permitted with =, aborting
Carl Delsey wrote: On Tue, Aug 02, 2005 at 09:50:03AM +0930, Greg 'groggy' Lehey wrote: [ ... ] growisofs -Z /dev/cd0=image.iso The version of growisofs that I use doesn't have a -Z option. From a system that does: -Z /dev/dvd Burn an initial session to the selected device. A special form of this option is recognized to support burning of pre-mastered images. See EXAMPLES section for further details. Is this your intention? If so, it seems that you're not sticking to the syntax. It's valid syntax ... just not documented in the man page. You have to go out to the website to find out about it. Look just before the NOTES section of the manpage: To use growisofs to write a pre-mastered ISO-image to a DVD: growisofs -dvd-compat -Z /dev/dvd=image.iso where image.iso represents an arbitrary object in the filesystem, such as file, named pipe or device entry. Nothing is growing here and com- mand name is not intuitive in this context. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless access points for FreeBSD 4.3?
Jamie Ann P. Zamodio wrote: Hi, I've been searching the web for compatible wireless access points for FreeBSD 4.3. As of yet I've been unsuccessful in finding any kind of list. However we do have the following base stations in our lab: FreeBSD 4.3 dates back to early 2001: you are strongly advised to update to 4.11 or 5.4. Not only will a lot more wireless devices work under a version released in 2005, you even can take advantage of the NDISulator (Project Evil) to run Windows XP drivers under FreeBSD. Anyway, if you are stuck using 4.3 for unimaginable reasons, I suspect the atheros or PRISM-2/2.5 chipsets are what you are looking for. Is there any way I can configure my FreeBSD 4.3 server to see any one of these? The set-up is, my server and base station are connected to a wired network, and then I have a wireless client running on Red Hat Linux 9 contacting the server through the wireless access point. Your question doesn't make it entirely clear whether you are looking for a wireless card/NIC for a FreebSD machine to talk to a base station, or whether you are having an issue sending traffic to or from a wired FreeBSD machine to some other Linux box via basestation to wireless...? It may be the case that you want to bridge or NAT a wireless subnet onto your LAN, but you should consult your basestation's docs for how to do that; FreeBSD would use nothing but normal TCP/IP routing to the basestation. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: growisofs: no mkisofs options are permitted with =, aborting
On Tue, Aug 02, 2005 at 01:25:22AM -0400, Chuck Swiger wrote: Carl Delsey wrote: It's valid syntax ... just not documented in the man page. You have to go out to the website to find out about it. Look just before the NOTES section of the manpage: To use growisofs to write a pre-mastered ISO-image to a DVD: growisofs -dvd-compat -Z /dev/dvd=image.iso You're right. My mistake. That's what I get for using my eyes to search a document instead of using the search feature. :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]