Re: fsck inadequacies
On Friday 26 November 2004 03:16 pm, Mardoc Inc wrote: > I run a FreeBSD system at a remote site. It costs me over $4000 to > visit the site (northern arctic). > It, along with some other equipment, runs off 2 x 50 kW diesel > generators which are swapped by a mechanic once per week. The > swap-over takes less than a minute. The computer runs > off a UPS, which easily holds its charge during the swap. All of the UPSes that I have used come with a warning that the battery will eventually need to be replaced. Are you sure the UPS is still good? > > But, unlike the other windows systems that run up there, the FreeBSD > system seems incredibly > prone to disk corruption. Often the system will not reboot, and hangs > while it asks for a file check. > I can't do that remotely - it has to be a person. > I frequently need to run fsck, and that does not always work. It is > hard to instruct a diesel mechanic on such matters from such a > distance. "fsck -y" > usually does not work either. > I had a power outage 4 days ago. When I got into the room, the 4 computers were still running. Since the power outage was supposed to last more than 3 hours, which was well beyond their capability, I shut them all down. They were running just fine when I shut them down and the all booted normally. I would tend to agree with the suggestion that your computer is failing. If fsck -y doesn't work, my HD has always developed bad sector(s) and the HD needs to be replaced. YMMV Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 100.chksetuid in /etc/periodic/security resets the mashine
Andrei Grudiy wrote: I have a problem. When I (or system) start the script 100.chksetuid in /etc/periodic/security my machine resets. Are you using null mounts? Or perhaps jails? I've had a combination of these features cause a kernel panic. Too many 'find' processing going at once. Setting different jails to do their security checks at slightly different times fixed it for me. Cheers, Nate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
problem with freebsd site
I am searching for the 'sane' scanner package. In my browser, i did www.freebsd.org --> ported applications --> search 'sane' 'all' 'submit' i got a page with (among others) sane-frontends, sane-backends, when i click on the Package link (for sane-backends) i get an error '550 No such directory' what is wrong? Can you help? Thank you claude zipfel ___ Win a castle for NYE with your mates and Yahoo! Messenger http://uk.messenger.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
AGP support in FreeBSD 5.2.1 (AMD64)
Hi I am using FBSD 521 for AMD64 on a AMD Athlon 64 system. I have an ATI Radeon 9250 AGP card, but when I do a dmesg, I didn't see that the Ati card is being recognised. In addition, I can't find /dev/agpgart the AGP device node. I tried editing /boot/loader.conf to includes agp_load="YES" but upon rebootinh, I can't see that the AGP kernel module is being loaded. I also can't find the AGP kernel modules file (agp something .ko) under /boot/kernel, it seems it is not installed for AMD 64 version of FBSD 521. SO I recompile my kernel to include "device agp", but still I can't see that the card was being recognised when I did a dmesg. Can anyone help or offer some sugestion? john Copyright (c) 1992-2004 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.2.1-RELEASE #2: Mon Nov 22 15:37:37 SGT 2004 root@:/usr/src/sys/amd64/compile/RELAX Preloaded elf kernel "/boot/kernel/kernel" at 0x806c5000. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 2800+ (1808.26-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xfc0 Stepping = 0 Features=0x78bfbff AMD Features=0xe050 real memory = 536805376 (511 MB) avail memory = 501805056 (478 MB) pcib0: at pcibus 0 on motherboard pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xec003000-0xec003fff irq 3 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1: mem 0xec004000-0xec004fff irq 3 at device 2.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered pci0: at device 2.2 (no driver attached) pci0: at device 5.0 (no driver attached) pci0: at device 6.0 (no driver attached) atapci0: port 0xf000-0xf00f at device 8.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] atapci1: port 0xdb00-0xdb7f,0xda00-0xda0f,0xb60-0xb63,0x960-0x967,0xbe0-0xbe3,0x9e0-0x9e7 irq 11 at device 9.0 on pci0 atapci1: [MPSAFE] ata2: at 0x9e0 on atapci1 ata2: [MPSAFE] ata3: at 0x960 on atapci1 ata3: [MPSAFE] atapci2: port 0xe100-0xe17f,0xe000-0xe00f,0xb70-0xb73,0x970-0x977,0xbf0-0xbf3,0x9f0-0x9f7 irq 10 at device 10.0 on pci0 atapci2: [MPSAFE] ata4: at 0x9f0 on atapci2 ata4: [MPSAFE] ata5: at 0x970 on atapci2 ata5: [MPSAFE] pcib1: at device 11.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) pcib2: at device 14.0 on pci0 pci2: on pcib2 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xc000-0xc07f mem 0xeb021000-0xeb02107f irq 3 at device 8.0 on pci2 xl0: Ethernet address: 00:10:4b:0c:0e:94 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fwohci0: port 0xc100-0xc17f mem 0xeb02-0xeb0207ff irq 5 at device 12.0 on pci2 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channel is 8. fwohci0: EUI64 00:10:dc:00:00:67:11:a0 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:10:dc:67:11:a0 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) orm0: at iomem 0xd4000-0xd57ff,0xd-0xd3fff,0xc-0xccfff on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter "TSC" frequency 1808256677 Hz quality 800 Timecounters tick every 10.000 msec IP Filter: v3.4.31 initialized. Default = pass all, Logging = enabled GEOM: create disk ad0 dp=0xffbe42a0 ad0: 2014MB [4092/16/63] at ata0-master UDMA33 GEOM: create disk ad1 dp=0xff001e401ea0 ad1: 2446MB [4970/16/63] at ata0-slave WDMA2 acd0: CDROM at ata1-master PIO4 GEOM: create disk ad4 dp=0xff001dfeb4a0 ad4: 76319MB [155061/16/63] at ata2-master UDMA33 Mounting root from ufs:/dev/ad4s2a ums0: Microsoft Microsoft W
Re: How to boot FreeBSD from a slave IDE disk
It appears to me that I did not have the boot manager installed on the ad0. But when I tried to "install boot manager" onto the ad0, the fdisk gave me no hint where to write the MBR. Basically what I did was: select "install boot manager" select "ad0" hit the "q" key select "install boot manager" select "ad3" hit the "q" key I seem to be having the trouble of installing a MBR as well. I am wanting to install a new hard drive in my computer. After I resize the fdisk partition, my disk is no longer bootable even though the -B flag was specified. Odd... Wondering if our issue is related. I'm also running 5.3. Regards, Peter Hoskin smime.p7s Description: S/MIME Cryptographic Signature
Re: How to boot FreeBSD from a slave IDE disk
On Sat, 27 Nov 2004 11:21, RW wrote: > On Friday 26 November 2004 04:26, rain cip wrote: > > Hello, > > > > I hope I can get some help from this list to figure out how to boot > > FreeBSD from a slave drive. My PC has two disks. The sysinstall sees > > both: ad0 and ad3. My hardware configuration is such: > > > > ad0 -- primary IDE, master (all for Win2k) > > ad3 -- secondary IDE, slave (all for FreeBSD 5.3) > > > > No more device on the primary IDE while a CD drive acts as the master on > > the secondary IDE. > > It's not in general a very good idea to mix a CD drive and a hard drive on > the same ide channel since they operate at the speed of the slower device. So, assuming you do have a cdrom drive on the secondary controller, you could move your ad3 drive to the primary IDE controller & boot from the Live CDrom to edit /etc/fstab to point to ad1 instead of ad3. That way you can run both windows & FBSD without compromising disk speed! > I've never actually used the FreeBSD Boot manager, so I can't really > comment on that. What you might do is install a standard MBR on ad3 and set > your bios to boot that device. Once you have FreeBSD running, you can > install GRUB from ports/packages, and put that on ad0. Alternately if you > have some kind of Linux live cd, you might install lilo from that. > Or as Joshua suggested, use GAG - it's the easiest bootmanager to install & configure that I've ever seen. Cheers, -- Ian GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc pgpK1Yzg53J93.pgp Description: PGP signature
Re: Restarting rc.conf
On 2004-11-26 18:59, David Jenkins <[EMAIL PROTECTED]> wrote: > > Just out of interest, does anyone think it would be useful to have > such a script? > > i.e. to restart all services in /usr/local/etc/rc.d and /etc/rc.d > (after checking rc.conf obviously) Not much. For instance, why would you want to restart *ALL* the services when all you updated was mysql? :-) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Solved: Diskgeometry - sysinstall bug?
Erik Norgaard wrote: if (d->bios_cyl > 65536 || d->bios_hd > 256 || d->bios_sect >= 64) { Sanitize_Bios_Geom(d); } It's a bug that sysinstall refuses to accept what you type. I have found that I could create working file system with both geometries editing the above code. The diskwrite error that I got when I tried to install seems to relate to cpio, ar, pax or some other program that installs onto the disks, and relates to these being built dynamically linked. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Airlink+ wireless card
stan wrote: I'm visiting myy parents in Atlanta over the holidays, and I discovered there isa Fryes there! I bought a Airlin+ wireless card for my laptop for $9.99 I pluged it into my FreebSD 4,10 machine, and got a message about 32 bit Cardbus not being supported. Seems like I remeber that I need to go to 5.x to do this, right? Can anyone tell me if this card can be made to work under FreebSD? cardbus is supported under 5.x, but I don't know about that card, Airlink+ = D-Link Airplus? If this is D-Link then it might not be worth the $10. Check with the hardware compatibility list to see if it's supported. I have a D-Link ADWL-650+, I can't get it working even with ndis, so I have bought a 3Com instead. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Looking for advice before upgrading 5.1-p17 to 5.3-p1
Hey all. I've got a machine I'm hoping to upgrad per the subject line this weekend. This machine is 6 hours from me. I'm doing a remote upgrade via ssh, and if I screw up and have to call the colo facil, it's going to cost me big $$$. Does anyone have and stories, good or bad, regarding making a jump like this? Any advice or particular gotchas to watch out for? Considering the massive jump in technology, is it even possible to boot a 5.3 kernel on a 5.1 userland? Do I need to do the entire process before rebooting, or can I upgrade just the kernel and make sure it actually boots before installing world? Keep in mind that I have to do all this via ssh, so if sshd doesn't start after a reboot, I'm in a world of hurt. Advice? -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to boot FreeBSD from a slave IDE disk
On Friday 26 November 2004 04:26, rain cip wrote: > Hello, > > I hope I can get some help from this list to figure out how to boot FreeBSD > from a slave drive. My PC has two disks. The sysinstall sees both: ad0 > and ad3. My hardware configuration is such: > > ad0 -- primary IDE, master (all for Win2k) > ad3 -- secondary IDE, slave (all for FreeBSD 5.3) > > No more device on the primary IDE while a CD drive acts as the master on > the secondary IDE. It's not in general a very good idea to mix a CD drive and a hard drive on the same ide channel since they operate at the speed of the slower device. > I used the entire space on ad3 for a FreeBSD 5.3 release installation while > the ad0 contains my old Win 2k. The problem now is that I can't boot > FreeBSD at all even though I had selected "install boot manager" during the > installation. The PC went straight to Win2k every time I booted. I tried > to reboot from the distribution CDROM and used the FDISK utility to make > sure that the FreeBSD slice is flagged as "A=" but it did nothing. In the > BIOS setting, I selected the slave drive, i.e. ad3, to be the first boot > device, and the ad0 to be second. Still, I couldn't get to FreeBSD. I think that once you have installed a boot manager on the ad3 MBR, the active partition doesn't really mean anything. > It appears to me that I did not have the boot manager installed on the ad0. > But when I tried to "install boot manager" onto the ad0, the fdisk gave me > no hint where to write the MBR. Basically what I did was: > > select "install boot manager" > select "ad0" > hit the "q" key > select "install boot manager" > select "ad3" > hit the "q" key I've never actually used the FreeBSD Boot manager, so I can't really comment on that. What you might do is install a standard MBR on ad3 and set your bios to boot that device. Once you have FreeBSD running, you can install GRUB from ports/packages, and put that on ad0. Alternately if you have some kind of Linux live cd, you might install lilo from that. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ACL and tunefs
All: I am trying to enable ACL support of my FreeBSD 5.3 box. I drop into single user mode and run the tunefs -a enable command on my partition and get the following: tuenfs: ACLs set tunefs: /dev/ad0s1a: failed to write superblock When I reboot it seems that the ACL are not set. Any ideas? A ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fsck inadequacies
Do you have soft updates enabled? If not, you may want to reenable them next time you go up there. Mardoc Inc wrote: I run a FreeBSD system at a remote site. It costs me over $4000 to visit the site (northern arctic). It, along with some other equipment, runs off 2 x 50 kW diesel generators which are swapped by a mechanic once per week. The swap-over takes less than a minute. The computer runs off a UPS, which easily holds its charge during the swap. But, unlike the other windows systems that run up there, the FreeBSD system seems incredibly prone to disk corruption. Often the system will not reboot, and hangs while it asks for a file check. I can't do that remotely - it has to be a person. I frequently need to run fsck, and that does not always work. It is hard to instruct a diesel mechanic on such matters from such a distance. "fsck -y" usually does not work either. Is there any way I can make the disk a bit less sensitive? e.g. some clever additional command when I mount it in the fstab file which says "don't be too fussy - boot up even if I don't feel that well'. It seems someone only needs to sneeeze and it goes into panic mode. I would happily live with the odd corrupt disk track or so if it means I can keep it running and at least be able to access it remotely. Please don't advise me to be more careful and get a better power supply etc - it simply is not possible. This is a very remote site, the humidity is low, static electricity is always a problem. thanks Wayne Hocking ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
acl enabling
All: I am trying to enable ACL support of my FreeBSD 5.3 box. I drop into single user mode and run the tunefs -a enable command on my partition and get the following: tuenfs: ACLs set tunefs: /dev/ad0s1a: failed to write superblock When I reboot it seems that the ACL are not set. Any ideas? A ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fsck inadequacies
it was said: >But, unlike the other windows systems that run up there, the FreeBSD >system seems incredibly >prone to disk corruption. Often the system will not reboot, and hangs >while it asks for a file check. >I can't do that remotely - it has to be a person. > I frequently need to run fsck, and that does not always work. It is >hard >to instruct a diesel mechanic on such matters from such a distance. >"fsck -y" > usually does not work either. > >It seems someone only needs to sneeeze and it goes into panic mode. I >would happily live with the odd >corrupt disk track or so if it means I can keep it running and at least >be able to access >it remotely. Please don't advise me to be more careful and get a better >power supply etc - >it simply is not possible. This is a very remote site, the humidity is >low, static electricity >is always a problem. > >thanks > >Wayne Hocking Hello, What I would do is redirect the console on the troublesome box to a serial port and cable that a reliable box. Also, this behaviour is not normal. Ship a system up there, have someone hook it up, and then transfer the data over. HTH, Stheg __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fsck inadequacies
I'm currently in the works of replacing a hdd in my server. fsck refused to mount the disk at all, due to a bad sector in the wrong spot. I can fsck it over and over again, yet it won't be marked clean. Found the force option quite useful when mounting the disk, although this is considered to be dangerous. mount has the force option with the flag -f, or you can specify 'force' under the options column in /etc/fstab Its worked a week for me, but please remember this is considered dangerous. Regards, Peter Hoskin Mardoc Inc wrote: I run a FreeBSD system at a remote site. It costs me over $4000 to visit the site (northern arctic). It, along with some other equipment, runs off 2 x 50 kW diesel generators which are swapped by a mechanic once per week. The swap-over takes less than a minute. The computer runs off a UPS, which easily holds its charge during the swap. But, unlike the other windows systems that run up there, the FreeBSD system seems incredibly prone to disk corruption. Often the system will not reboot, and hangs while it asks for a file check. I can't do that remotely - it has to be a person. I frequently need to run fsck, and that does not always work. It is hard to instruct a diesel mechanic on such matters from such a distance. "fsck -y" usually does not work either. Is there any way I can make the disk a bit less sensitive? e.g. some clever additional command when I mount it in the fstab file which says "don't be too fussy - boot up even if I don't feel that well'. It seems someone only needs to sneeeze and it goes into panic mode. I would happily live with the odd corrupt disk track or so if it means I can keep it running and at least be able to access it remotely. Please don't advise me to be more careful and get a better power supply etc - it simply is not possible. This is a very remote site, the humidity is low, static electricity is always a problem. thanks Wayne Hocking ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" smime.p7s Description: S/MIME Cryptographic Signature
Bootable Hard Drives
Hi, I'm having some difficulty with making a hard drive bootable. I'm upgrading from a 40gb to an 80gb, and I have imaged one drive to the other with dd. I've then proceeded to increase the size of the freebsd partition and my /usr slice, then used growfs. My question, however, is after my use of fdisk my hard drive is no longer bootable. I've used the option -B for both fdisk and bsdlabel, is there anything I'm missing? The drive is not damaged, the growfs operation completed properly as I've set my original drive as the booting drive in my BIOS, and had it mount my new drive instead. Regards, Peter Hoskin smime.p7s Description: S/MIME Cryptographic Signature
fsck inadequacies
I run a FreeBSD system at a remote site. It costs me over $4000 to visit the site (northern arctic). It, along with some other equipment, runs off 2 x 50 kW diesel generators which are swapped by a mechanic once per week. The swap-over takes less than a minute. The computer runs off a UPS, which easily holds its charge during the swap. But, unlike the other windows systems that run up there, the FreeBSD system seems incredibly prone to disk corruption. Often the system will not reboot, and hangs while it asks for a file check. I can't do that remotely - it has to be a person. I frequently need to run fsck, and that does not always work. It is hard to instruct a diesel mechanic on such matters from such a distance. "fsck -y" usually does not work either. Is there any way I can make the disk a bit less sensitive? e.g. some clever additional command when I mount it in the fstab file which says "don't be too fussy - boot up even if I don't feel that well'. It seems someone only needs to sneeeze and it goes into panic mode. I would happily live with the odd corrupt disk track or so if it means I can keep it running and at least be able to access it remotely. Please don't advise me to be more careful and get a better power supply etc - it simply is not possible. This is a very remote site, the humidity is low, static electricity is always a problem. thanks Wayne Hocking ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Airlink+ wireless card
I'm visiting myy parents in Atlanta over the holidays, and I discovered there isa Fryes there! I bought a Airlin+ wireless card for my laptop for $9.99 I pluged it into my FreebSD 4,10 machine, and got a message about 32 bit Cardbus not being supported. Seems like I remeber that I need to go to 5.x to do this, right? Can anyone tell me if this card can be made to work under FreebSD? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
The UFS support of Linux (was: Re: what is the bsd fs called outside the bsd sphere?)
On 2004-11-25 20:08, Matthias Buelow <[EMAIL PROTECTED]> wrote: > Richard Williamson wrote: > > Ok, I'll recreate the original flash image to ensure it is -O 1, and > > then try again. > > in order to mount ufs1 on linux, you also have to specify the > ufstype=44bsd option to mount. otherwise the mount might succeed, > but you won't see any files. Has anyone checked if the ufs support of Linux works with UFS2 too? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD/amd64 5.3-RELEASE on an Asus k8n-e
Has anyone been able to install 5.3-amd64 using an Ausus k8n-e motherboard? I have two 512 mb memory modules and two 160gb sata disks. This system runs the 32 bit version of 5.3 but hangs when trying to boot from the 64 bit install CD. I booted with verbose logging and found that the system becomes unresponsive when sysinstall is run. Thanks, Rob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is this a sign of memory going bad?
On Thu, Nov 25, 2004 at 11:45:06PM -0500, Matt Emmerton wrote: : Given the cost of memory these days, swapping it out is generally cheaper : than the cost of random downtime and recovering from crashes in a production : environment. I am *really* not a hardware guy. I just had a box built and will deal with hardware issues when I have to. But I did turn the box off overnight, and the build crashes went away. jm -- My other computer is your Windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Running commands at startup
> > > This will probobly seem like such a basic question, but where can do i put > commands i want to run at startup. > > freeBSD 4.10 > > i want to run (for example) > > alias 'ls=ls -G' > alias 'vi=vim' > alias 'shutdown=shutdown -h now' > etc... You should put alias commands in your shell startup script. That would be .cshrc for csh and tcsh and .profile for sh and bash. There are also system wide startup scripts for each of these so you can make everyone have those aliases. Some things like path commands work better in the .login startup script because you may want to add to a path rather than set from scratch each time and if you add in a shell startup, the path can get unnecessarily long. Things that you really want to execute at system startup need to go in either /etc/rc.local or better, in /usr/local/etc/rc.d/ See man pages for rc.d jerry > > Also, i am running fluxbox, but my mouse is very slow when it starts up. at > the moment i have to enter xset m 5/1 in the terminal to speed it up. How can > i get fluxbox do do this at startup? Never used fluxbox. > > > Danny Browne > > > > _ > Sign up for eircom broadband now and get a free two month trial.* > Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems with samba under FreeBSD, not under Linux
TO WHOM IT MAY CONCERN Found the solution for the problem widely described below, after the <><> symbols. Here you are the solution: I created under /root the following °°° .nsmbrc file [default] workgroup=BOH_SS # The 'FSERVER' is an NT server. [SRVS1] #charsets=koi8-r:cp866 addr=srvs1.boh_ss [SRVS1:A00BCDD] # use persistent password cache for user 'A00BCD' password=giulietta I didn't change a line in my °°°smb.conf file [global] workgroup = BOH_SS # server string is the equivalent of the NT Description field server string = VicBSD load printers = no log file = /var/log/samba/log.%m log level = 1 max log size = 50 security = user nt acl support = no encrypt passwords = yes smb passwd file = /usr/local/private/smbpasswd domain master = no # wins support = yes wins server = 10.155.1.122 10.155.1.211 # Share Definitions == [homes] # comment = Home Directories # browseable = no # writable = yes read only = No Thanks to the .nsmbrc file I was able to connect to the windows share with the following command line (adding the option -N to force samba read the password from .nsmbrc): mount_smbfs -N //[EMAIL PROTECTED]/Data /mnt/smb in so doing samba desn't ask for the password and connects to the share smoothlhy! What puzzles me (any explanation?) is that: 1) Even though I declare my username a00bcd in the .nsmbrc file I have to repeat it in the mount_smbsf line otherwise, issuing e.g mount_smbfs -N //srvs1/Data /mnt/smb it doesn't mount the share complaining about something wrong with the authorization; 2) I still don't understand why - without the -N option I'm correctly asked for a password but samba continues to be unable to connect the share. Anyway my occasional solution works fine! Thanks to ALL for the many suggestions Vittorio <><><><><><><><><><><><><><><><><><><><><> <><><><><><><><><><><><><><><><><><><><><> <><><><><><><><><><><><><><><><><><><><><> Alle 08:45, venerdì 26 novembre 2004, Vittorio ha scritto: > (Context: Office windows LAN; PC Pentium 3 with 128 MB, FreeBSD 5.3.) > > > Here you are the unanswered message I had sent to the FreeBSD mailing > list: > > \BEGIN{MESSAGE} > - >-- --- After installing and launching samba 3.0.7 daemons > under my postgresql FBSD5.3 > stable server at office, I'm having trouble in connecting to whatever > windows > share in the M$ LAN. > > Here you are what's going on: > 1) I can ping to my windows server srvs1.myco; > > 2) If I issue > smbclient -L srvs1.myco -U myuserid > pasword: > Domain=[BOH_SS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] > > Sharename Type Comment > - --- > DataDisk > ADMIN$ Disk Remote Admin > H$ Disk Default share > . > Domain=[BOH_SS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] > > Server Comment > ---- > > WorkgroupMaster My very short smb.conf > > > > ---- > > > > > 3) If I issue > smbclient //srvs1.myco/Data -U myuserid > pasword: > Domain=[BOH_SS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] > smb: \> dir > . DA0 Tue Nov 23 09:13:08 > 2004 > .. DA0 Tue Nov 23 09:13:08 > 2004 > ScambioDA0 Tue Nov 23 09:13:09 > 2004 > Utenti My very short smb.conf > > > DA0 Tue Nov 23 09:13:09 > 2004 > > > > BUT if I issue > > mount_smbfs -I srvs1.myco //[EMAIL PROTECTED]/Data /mnt/smb > password:* > mount_smbfs: unable to open connection: syserr = Connection reset by > peer > > This error pops up. > > Could you please help me, a poor samba newbie, straight things up? > > Thanks in advance > > Vittorio > - >-- -- \END{MESSAGE} > > Now, I can add that I had a go with Samba 3.08 under a linux gentoo > slice on the same box, replicating all the commands I had given under > FreBSD (with the exception of smbmount under gentoo & mount_smbfs > under freebsd, somewhat different synthax, too) and - under linux - > it works perfectly well. > > > My very short smb.conf (both under linux and FreeBSD) > > > [global] > >workgroup = BOH_SS >server string = Samba >load printers = no >log file = /var/log/samba3/log.%m >max log size = 50 >security = user > encrypt passwords = yes > > smb passwd file = /etc/samba/private/smbpasswd >domain master = no > # Share Definitions > == > [homes] >comment = Home Directories >browseable = no >writable = yes > > > From
Re: Is this a sign of memory going bad?
Not seen this exact error before, but I recently had a mobo go bad that would produce errors with compiles and ect before it would hardlock. It would go flaky under heavy I/O. I tested for it by swapping out the proc and ram. On Thu, 25 Nov 2004 20:16:23 + Jonathon McKitrick <[EMAIL PROTECTED]> wrote: > > This is what I get from make buildworld. I've gotten signal 10, 11, > and now 5. > > Is this bad memory? > > > S -DYP -c /usr/src/lib/libc/../libc/net/res_debug.c -o res_debug.o > cc -O -pipe -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include > -D__DBINTERFACE_PRIVATE -DINET6 -DPOSIX_MISTAKE > -I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DYP -c > /usr/src/lib/libc/../libc/net/res_init.c -o res_init.o > cc: Internal compiler error: program cc1 got fatal signal 5 > *** Error code 1 > > Stop in /usr/src/lib/libc. > *** Error code 1 > > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > neptune# > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: loading ndis at boot ?
On Fri, 2004-11-26 at 17:11 +0100, FreeBsdBeni wrote: > How do I load the ndis.ko driver at boot/startup ? I've followed the > instructions on how to get the ndisulator working for my Z-Com wi-fi mini pci > card and got a (working) ndis0 dev now. I can kldload the ndis.ko and > if_ndis.ko but is there a way to automate this via /boot/loader.conf > or /etc/rc.conf ? And if so, what do I need to put in those files ? Something > like "ndis_load="YES" ? Yes that is correct. The syntax is modulename_load="YES" ndis_load="YES" if_ndis_load="YES" In /boot/loader.conf will automatically load the modules at boot time. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Restarting rc.conf
On Fri, 26 November, 2004 15:00, Ruben de Groot said: > On Thu, Nov 25, 2004 at 02:54:39PM +0900, Rob typed: > >> This does not work if a service has been changed from YES to NO (or >> has >> been removed from rc.conf). Therefore I think this is better: >> >> foreach dir in /etc/rc.d /usr/local/etc/rc.d >> do >>cd $dir >>foreach file in * >>do >> $file forcestop >> $file start >>done >> done > > Have you actually tested this? I think not. (Hint: look at the scripts > that > are in /etc/rc.d and what they actually do. Then RTM rcorder(8).) Just out of interest, does anyone think it would be useful to have such a script? i.e. to restart all services in /usr/local/etc/rc.d and /etc/rc.d (after checking rc.conf obviously) David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
help about sysctl.conf
Hi all I got error message /var/log/messages my system is running amd64 freebsd 5.3 with 2G memory but don't have idea why don't have enough memory thank you # sysctl -a |grep physmem <118>Nov 26 13:41:08 snmpd[5849]: sysctl: physmem: Cannot allocate memory <118>Nov 26 13:44:53 snmpd[5901]: sysctl: physmem: Cannot allocate memory hw.physmem: 2139078656 and I also put the sysctl.conf kern.polling.enable=1 kern.polling.user_frac=10 kern.ipc.somaxconn=2048 kern.polling.poll_in_trap=1 net.inet.tcp.sendspace=65536 net.inet.tcp.recvspace=65536 net.inet.udp.recvspace=65536 __ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shell programming challenge
On Fri, 26 Nov 2004 13:57:31 +0200, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On 2004-11-25 17:30, "Conrad J. Sabatier" <[EMAIL PROTECTED]> wrote: > > > > OK, I think I've found what you're looking for: > > > > xterm -e "/usr/local/bin/bash --rcfile bash_commands -i" > > > > Substitute your program's startup script for "bash_commands" in the > > above. Using the "-i" switch to bash forces interactive mode, so > > when the script exits, you'll be returned to the shell prompt in the > > xterm. As it turns out, xterm's "-hold" switch is wholly unnecessary > > here. > > > > Note that the "--rcfile" switch, being a "double-hyphened" option, > > must precede the later "-i" switch in order to be recognized. > > Cool trick! Thanks. :-) > I was thinking something like adding the following to the local > .bashrc: > > [-- .bashrc --] > > if [ ! X"${BASHRC_LOCAL}" = X"" ] && \ > [ -r "${BASHRC_LOCAL}" ]; then > . "${BASHRC_LOCAL}" > fi > > Then running xterm with BASHRC_LOCAL set to the path of the local bash > script: > > BASHRC_LOCAL="/path/foo" xterm -e bash > > --rcfile is better though :-) Yes, it's much simpler, for sure. :-) By the way, there are some better testing constructs that eliminate the need for using the old sh trick of "X$SOMEVAR" to avoid syntax errors. The above expression could be written as: if [ -n ${BASHRC_LOCAL} -a -r ${BASHRC_LOCAL} ]; then ... Or using opposite logic: if [ ! -z ${BASHRC_LOCAL} ... Unix shells are just so damn cool, aren't they? :-) -- Conrad J. Sabatier <[EMAIL PROTECTED]> -- "In Unix veritas" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
upgrade from 4.10 to 5.2 over SSH?
can it be done? how? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is this a sign of memory going bad?
On Fri, 26 Nov 2004 03:46:20 + Jonathon McKitrick <[EMAIL PROTECTED]> wrote: > On Thu, Nov 25, 2004 at 04:05:53PM -0500, Lowell Gilbert wrote: > : Jonathon McKitrick <[EMAIL PROTECTED]> writes: > : > : > This is what I get from make buildworld. I've gotten signal 10, > 11, and now: > 5. > : > > : > Is this bad memory? > : > : That's a reasonable guess, but the only way to tell for sure is to > : test it. > > Is there a port to do this, or do I have to take it out and take it > somewhere else to get it tested? Look for memtest86. You can now even get it as a iso :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Restarting rc.conf (SOLVED-duh)
At Fri, 26 Nov 2004 it looks like Bill Schoolcraft composed: > At Fri, 26 Nov 2004 it looks like Ruben de Groot composed: > > > On Thu, Nov 25, 2004 at 02:54:39PM +0900, Rob typed: > > > > > This does not work if a service has been changed from YES to NO (or has > > > been removed from rc.conf). Therefore I think this is better: > > > > > > foreach dir in /etc/rc.d /usr/local/etc/rc.d > > > do > > >cd $dir > > >foreach file in * > > >do > > > $file forcestop > > > $file start > > >done > > > done > > > > Have you actually tested this? I think not. (Hint: look at the scripts that > > are in /etc/rc.d and what they actually do. Then RTM rcorder(8).) > > Hello Ruben, > > I'm running 5.2.1 and don't have a manpage anywhere for "recorder" > (man 8 recorder) etc... > > Is this a 4.x item or am I missing some packages on my 5.2.1 > install? Just woke up, sorry "man rcorder" works -- Bill Schoolcraft PO Box 210076 San Francisco,CA 94121 United States of America http://billschoolcraft.com "We can find no wealth above a healthy body and a happy heart." ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Restarting rc.conf
At Fri, 26 Nov 2004 it looks like Ruben de Groot composed: > On Thu, Nov 25, 2004 at 02:54:39PM +0900, Rob typed: > > > This does not work if a service has been changed from YES to NO (or has > > been removed from rc.conf). Therefore I think this is better: > > > > foreach dir in /etc/rc.d /usr/local/etc/rc.d > > do > >cd $dir > >foreach file in * > >do > > $file forcestop > > $file start > >done > > done > > Have you actually tested this? I think not. (Hint: look at the scripts that > are in /etc/rc.d and what they actually do. Then RTM rcorder(8).) Hello Ruben, I'm running 5.2.1 and don't have a manpage anywhere for "recorder" (man 8 recorder) etc... Is this a 4.x item or am I missing some packages on my 5.2.1 install? Thanks -- Bill Schoolcraft PO Box 210076 San Francisco,CA 94121 United States of America http://billschoolcraft.com "We can find no wealth above a healthy body and a happy heart." ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is this a sign of memory going bad?
Chuck Robey <[EMAIL PROTECTED]> writes: > With that in mind, sometimes, the very best memory test programs can give > you better ideas that memory you thought was failing IS failing. The > opposite, proving that memory is good, is just totally, totally useless, > you cannot take any data home at all about your memory being good. That's exactly right. The false negative rate is quite high, but the false positive rate is virtually zero. However, this makes it far from useless, because in cases like the question that started the thread, bad memory *is* extremely likely to be the cause, and a software memory tester is probably going to report that. Given the frequency with which messages on this list say "no, it can't be bad memory because it works under Windows," this is *extremely* useful. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Anti-Aliasing
I have managed to fix the resolution issue from my previous post, but now seem unable to have anti-aliased within X. I have attached a copy of my new config file, and have followed through all the instructions in the handbook at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html Thanks Jake Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice"Mouse0" "CorePointer" InputDevice"Keyboard0" "CoreKeyboard" EndSection Section "Files" FontPath "unix/:7101" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/URW/" EndSection Section "Module" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "speedo" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "CorePointer" Option "Device" "/dev/sysmouse" Option "Protocol" "auto" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" EndSection Section "Monitor" #DisplaySize 380 300 # mm Identifier "Monitor0" VendorName "IVM" ModelName"PLE481" ### Uncomment if you don't want to default to DDC: # HorizSync842216256.0 - 52.0 # HorizSync24.0 - 83.0 # VertRefresh 858928448.0 - 0.0 HorizSync 79.9 VertRefresh 75 Option "DPMS" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [] #Option "SWcursor"# [] #Option "ColorKey"# #Option "CacheLines" # #Option "Dac6Bit" # [] #Option "DRI" # [] #Option "NoDDC" # [] #Option "ShowCache" # [] #Option "XvMCSurfaces"# #Option "PageFlip"# [] Identifier "Card0" Driver "i810" VendorName "Intel Corp." BoardName "82865G Integrated Graphics Device" BusID "PCI:0:2:0" VideoRam16384 EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor"Monitor0" SubSection "Display" Viewport 0 0 Depth 16 Modes "[EMAIL PROTECTED]" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shell programming challenge
On Fri, Nov 26, 2004 at 09:15:11AM -0700, Don Wilde wrote: > > > > >If you have the option to modify it, ensure that your script exits via > >"exec sh". Alternatively a wrapper that does this is straightforward to > >build. > > > It's looking more and more that I need to make a temporary file that > packages both the init file and the program command line (eval > "blah...") before running. These will not be just shell scripts, they > will be tool programs and x applications. Didn't want to do that because > of the risk of leaving junk in /tmp. It's really socially-acceptable to leave junk in /tmp. /tmp is a volatile dumping ground with no guarantee of file suvival for any length of time, that may even be cleaned on reboot. I played with this for a while, and I have a suspicion that maybe you could use /dev/fd/3 and start bash with something like --rc-file /dev/fd/3 and not close tha standard input, but it's not possible, or I couldn't quite pull it off. (I suspect the latter.) The only other option I can think of involves a temporary file of sorts, too. You could use a FIFO, and then the contents of the "temporary file" wouldn't be left on the disk, but you'd still have the FIFO to deal with. You may also be trying to do something complex enough that it's just more trouble than it's worth to do it with shell programming. Anyway, good luck. -- Adam Fabian ([EMAIL PROTECTED]) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2004/09/19 02:40:48 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the [EMAIL PROTECTED] mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for "[EMAIL PROTECTED]"). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to Free
"The Complete FreeBSD": errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Running commands at startup
On Fri, Nov 26, 2004 at 12:04:14PM +, Danny Browne wrote: > > This will probobly seem like such a basic question, but where can do i > put commands i want to run at startup. > > freeBSD 4.10 > > i want to run (for example) > > alias 'ls=ls -G' alias 'vi=vim' alias 'shutdown=shutdown -h now' > etc... This is typically a function of your shell, unless you want to do it on a system-wide basis. (A little while ago, I was trying to figure out how to change the environment that processes inheirit from init on FreeBSD but didn't have much luck.) csh and derivatives tend to use .login and .cshrc, sh and derivatives tend to use .profile and .shrc. > Also, i am running fluxbox, but my mouse is very slow when it starts > up. at the moment i have to enter xset m 5/1 in the terminal to speed it > up. How can i get fluxbox do do this at startup? Put the command in your .xinitrc if you're using a display manager, and your .Xsession (I think) if you're not. (It will be X that executes the command, not fluxbox.) -- Adam Fabian ([EMAIL PROTECTED]) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xorg/Modes issue
Adam Fabian wrote: (II) I810(0): Not using mode "1280x1024" (no mode of this name) [EMAIL PROTECTED] looks like it might be the name of a mode. Otherwise, you could just write a modeline that does what you want. OK I have fixed this issue, it seems I missed the fact that the bios had set the video ram to 1meg, putting it up to 8med has sorted it! Thanks Jake ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: eject DAT tape via command?
-- quoting Matthias F. Brandstetter -- > is it possible to eject a DAT tape via a command from CLI? > "eject" does not seem to work :( thanks guys for all this *quick* answers! greets, Matthias -- Around the house, I never lift a finger As a husband and father I'm sub-par I'd rather drink a beer than win Father of the Year I'm happy with things the way they are -- Homer Simpson Simpsoncalifragilisticexpiala(annoyed grunt)ocious ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: eject DAT tape via command?
Matthias F. Brandstetter wrote: Hi all, is it possible to eject a DAT tape via a command from CLI? "eject" does not seem to work :( Greets and TIA, Matthias In my backup script I have # Wait 5 minutes for rewind sleep 300 if [ $EJECT -eq 1 ] then mt offline fi # mt offine does it for me :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: eject DAT tape via command?
Try: mt -f /dev/ rewoffl Regards, Matthias F. Brandstetter wrote: Hi all, is it possible to eject a DAT tape via a command from CLI? "eject" does not seem to work :( Greets and TIA, Matthias ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: eject DAT tape via command?
Matthias mt -f /dev/sa0 rewoff replace /dev/sa0 with required device... -- Martin Hepworth Snr Systems Administrator Solid State Logic Tel: +44 (0)1865 842300 Matthias F. Brandstetter wrote: Hi all, is it possible to eject a DAT tape via a command from CLI? "eject" does not seem to work :( Greets and TIA, Matthias ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote confirms that this email message has been swept for the presence of computer viruses and is believed to be clean. ** ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
eject DAT tape via command?
Hi all, is it possible to eject a DAT tape via a command from CLI? "eject" does not seem to work :( Greets and TIA, Matthias -- Oh, honey, I didn't get drunk, I just went to a strange fantasy world. -- Homer Simpson El Viaje Misterioso De Nuestro Jomer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best driver setup for GeForce2 MX
I got the driver from the NVIDIA site and it works without any problems. My system is 5.3 release and the card I use is: nvidia0: mem 0xd000-0xd7ff,0xde00-0xdeff irq 16 at device 0.0 on pci1 I excluded Module "dri" ( I dont remember why ) and I use the Xorg library. Maybe you better not use 5 stable but 5.3 release instead. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shell programming challenge
If you have the option to modify it, ensure that your script exits via "exec sh". Alternatively a wrapper that does this is straightforward to build. It's looking more and more that I need to make a temporary file that packages both the init file and the program command line (eval "blah...") before running. These will not be just shell scripts, they will be tool programs and x applications. Didn't want to do that because of the risk of leaving junk in /tmp. -- Don Wilde -> Silver Lynx <-- Raising the Trajectory of Human Development - http://www.Silver-Lynx.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
loading ndis at boot ?
Hi, How do I load the ndis.ko driver at boot/startup ? I've followed the instructions on how to get the ndisulator working for my Z-Com wi-fi mini pci card and got a (working) ndis0 dev now. I can kldload the ndis.ko and if_ndis.ko but is there a way to automate this via /boot/loader.conf or /etc/rc.conf ? And if so, what do I need to put in those files ? Something like "ndis_load="YES" ? Thanks for any info ! I'm running 5.3-REL-p1. -- Beni. pgplgfch9er6B.pgp Description: PGP signature
Re: Playing DVD movies with Xine
On Friday 26 November 2004 12:30, Graham Bentley wrote: > I had to do this before Xine would recognise my DVD's > > ln -s /dev/acd0 /dev/dvd > ln -s /dev/acd0 /dev/rdvd > You can setup this kind of thing inside xine, but you have to change your "experience level" setting, otherwise it hides a lot of options. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WRITE_DMA failures on 5.3 (but NOT on 4.10)
DanGer wrote: [...] i have the same issue on brand new 200gb ata maxtor hard drive. i had the same issue on 5.2.1, but when i upgraded to 5.3 i decided to turn on ata dma but after 9 days of uptime it froze..no logs, whatever...so i turned ata dma off for now, and i will stay and watch what will happen.. That's very helpful, thank you. The behaviour you describe - machine freezing - is exactly what I have experienced. I'm feeling vaguely optimistic now :-) but there should be some other fix, because i don't want to keep my disc in pio mode :/ Absolutely. But I guess, since I'm not going to try to produce a fix myself, I can't whinge too loudly. A workaround is what I need right now and I hope you've confirmed that this is one. Peter. -- the circle squared network systems and software http://www.circlesquared.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Playing DVD movies with Xine
I have that already. I already had /dev/dvd linked ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: WRITE_DMA failures on 5.3 (but NOT on 4.10)
Hi Peter, Friday, November 26, 2004, 2:04:33 PM, you wrote these comments: >>> >>> WARNING : WRITE_DMA UDMA ICRC ERROR >> FAILURE : WRITE_DMA status = 51... blah >>> this continues until i run out of patience. >> >> >> This is a really major problem that has affected every 5.3 and the more >> recent 5.2.1 machines I've operated with largish [1] hard drives. The >> novelty of losing several tens of gigs of data any time a drive gets >> busy wears off fairly quickly. >> >>> >>> the advice i received was : >> >> >> ... mainly about checking hardware, and this is _not_ the issue. I've >> googled extensively on this and, as you did, replaced every hardware >> component in the IDE lines, including the disk drives, without affecting >> the problem. >> >> So far as I can make out, there was a change to default settings at some >> point (I haven't scoured the CVS repository to find out exactly when) to >> enable DMA because some newer drives require this[2]. >> > No - apologies for wasting bandwidth. I got to this stage of research > very late a couple of nights ago and see I should have stopped a few > hours earlier. Looking again, this: > hw.ata.atapi_dma: 0 > in loader.conf might fix the problem with atapi drives but the > hw.ata.ata_dma: 1 > sysctl setting seems to have been the default in 4.10 too, so that can't > be it. > I think I might try turning off ata dma in a 5.3 system anyway, and > putting a big drive under load to see what happens, but I fear I'm > probably back to square one. > Peter. i have the same issue on brand new 200gb ata maxtor hard drive. i had the same issue on 5.2.1, but when i upgraded to 5.3 i decided to turn on ata dma but after 9 days of uptime it froze..no logs, whatever...so i turned ata dma off for now, and i will stay and watch what will happen.. but there should be some other fix, because i don't want to keep my disc in pio mode :/ -- Best Regards, +--==/\/\==--+ (__) FreeBSD | DanGer <[EMAIL PROTECTED]> |\\\'',) The | [EMAIL PROTECTED] ICQ261701668 | \/ \ ^Power | http://danger.homeunix.org | .\._/_)To +--==\/\/==--+ Serve [ "Sometimes out big splashes are just ripples in the pool" ] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Updating packages list (using cvsup?)
On Friday 26 November 2004 14:22, Olaf Greve wrote: > Hi Thomas (and others), > > First off: thanks a lot for your answer, this is indeed what I was > > looking for... I should also install portupgrade if I were you, it make managing ports a lot easier. It also has the -P and -PP options (and corresponding per port settings in /usr/local/etc/pkgtools.conf) which are useful for combining ports and packages. For example a full KDE upgrade from ports takes me 3 days, but by allowing portupgrade to install some of the less-important kde components from fully up-to-date packages, I cut that down to one day. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kernel compile error
* Brian Bobowski <[EMAIL PROTECTED]> [1134 14:34]: > Joshua Lokken wrote: > > >>On Fri, Nov 26, 2004 at 04:03:52PM +0900, Rob wrote: > >> > >> > >>>Matt Emmerton wrote: > >>> > >>> > >>>Having such a mechanism, would prevent lots of beginners in the > >>>kernel compiling stuff, to get frustrated with errors like above. > >>> > >>> > >Also, as you see, it's well-documented in the kernel config file ;) > > > > > While this is true, it's also easy enough for someone to snip the > directions when slicing things out of the config file. Assuming that the > user won't do things the wrong way is a sure way to succumb to Murphy's > Law(the real one). Yeah, but assuming a user who can't read a comment is happy enough to go editing a kernel config file, that's their funeral. "we'll err on the side of handing out rope and guns to all interested parties while hoping you have enough smarts to keep from hanging yourself or shooting yourself in the foot." - html, the definitive guide > The main barrier I can see to this is getting whatever parses the config > file to recognise such dependencies I agree it should be fixed in config if anywhere, but it's worth bearing in mind that kernel compiles on any platform are still non-trivial. I did a kernel build on Debian yesterday and it took half a dozen goes to get a USB mouse working because usbhid wasn't there. No warnings, just shedloads of insmod failures on reboot. Nice. At least our compiler craps out :) -- What have you done to the cat? It looks half-dead. - Schroedinger's wife Rasputin :: Jack of All Trades - Master of Nuns ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Restarting rc.conf
On Thu, Nov 25, 2004 at 02:54:39PM +0900, Rob typed: > This does not work if a service has been changed from YES to NO (or has > been removed from rc.conf). Therefore I think this is better: > > foreach dir in /etc/rc.d /usr/local/etc/rc.d > do >cd $dir >foreach file in * >do > $file forcestop > $file start >done > done Have you actually tested this? I think not. (Hint: look at the scripts that are in /etc/rc.d and what they actually do. Then RTM rcorder(8).) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Best driver setup for GeForce2 MX
Hi All, I've got a 5-STABLE box with a GeForce2 MX 32M card (dual-head and SVideo out). My last card was a 4M Rage Pro (Nethack was AWESOME on this card!), so I don't have any experience with any of these fancy new-fangled graphics accelerators. Anyways, I'm having trouble figuring out the driver setup for this guy. I'm running xorg-server-6.7.0_9. I have the card working using the built-in NV driver, but no GL. I tried the FreeBSD drivers from NVidia, but they caused X to crash in various spectacular ways. My understanding is that these drivers are for XFree, and not Xorg? In any case, I'd like to know what combination of drivers, X, and animal sacrifices to use to get the most out of this card. Now that my graphics hardware is in the 21st century, I'd really like to see some graphics-accelerated love under FreeBSD. Regards, Adam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kernel compile error
On Fri, 26 Nov 2004 09:32:08 -0500, Brian Bobowski <[EMAIL PROTECTED]> wrote: > Joshua Lokken wrote: > > >>On Fri, Nov 26, 2004 at 04:03:52PM +0900, Rob wrote: > >> > >> > >>>Matt Emmerton wrote: > >>> > >>> > >>>Having such a mechanism, would prevent lots of beginners in the > >>>kernel compiling stuff, to get frustrated with errors like above. > >>> > >>> > >Also, as you see, it's well-documented in the kernel config file ;) > > > > > While this is true, it's also easy enough for someone to snip the > directions when slicing things out of the config file. Assuming that the > user won't do things the wrong way is a sure way to succumb to Murphy's > Law(the real one). > > The main barrier I can see to this is getting whatever parses the config > file to recognise such dependencies; as it is, it's the compiler that > runs into the problem, not the program that calls the compiler. The > compiler doesn't know where the relevant source is if not told to > include it, after all. > > -BB > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > this is how a teletubie config file look like , teletubies dont like big files the prefer small ones. machine amd64 cpu HAMMER ident GERT options SCHED_4BSD # ? options INET# InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT# NFS usable as /, requires NFSCLIENT options NTFS# NT File System options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_GPT# GUID Partition Tables. options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SCSI_DELAY=15000# Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT# Print register bitfields in debug output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT# Print register bitfields in debug output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. options NO_MIXED_MODE # SK8N options ATA_STATIC_ID # Static device numbering options UDF # DJO device atpic # 8259A compatability device acpi# Bus support device isa # Bus support device pci # Bus support device fdc # Floppy drives device ata # ATA and ATAPI devices device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass# Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support device sc # syscons is the default console driver, resembling an SCO console device cbb # cardbus (yenta) bridge device pccard
Re: Error in ghostscript
Tried that and it didn't work. > On Thu, 25 Nov 2004 10:23:39 -0600, Adam Fabian <[EMAIL PROTECTED]> wrote: > > I had an error building afl ghostscript a while ago. It required > > svgalib, which wasn't pulled in as a dependency. (Kind of snuck at it > > the back way by having drivers that required it.) Anyway, try > > installing the svgalib port and picking up the compile. > > -- > > Adam Fabian ([EMAIL PROTECTED]) > > > > > > > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Updating packages list (using cvsup?)
Thomas S. Crum - AAA Web Solution, Inc. wrote: Packages are pre-compiled so there is little ability to configure them, should you need to. Although I still know many people who prefer using packages. Do not use sysinstall to accomplish this. Also, there is no need to 'download or update' your 'packages'. Simply follow the below command to install the current package. # pkg_add -r some_package I would recommend ports and cvs to anyone. Below is a config to install cvsup and run it to update your ports collection. Remember though, ports are not precompiled and you will actually need to move into the /usr/ports/whatever_port/whatever_program dir to install them. # pkg_add -r cvsup-without-gui # cp /usr/share/examples/cvsup/ports-supfile /root/ports-supfile Or forget about making a copy, and do directly: # cvsup -g -L2 -h cvsup.foo.bar /usr/share/examples/cvsup/ports-supfile Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kernel compile error
Joshua Lokken wrote: On Fri, Nov 26, 2004 at 04:03:52PM +0900, Rob wrote: Matt Emmerton wrote: Having such a mechanism, would prevent lots of beginners in the kernel compiling stuff, to get frustrated with errors like above. Also, as you see, it's well-documented in the kernel config file ;) While this is true, it's also easy enough for someone to snip the directions when slicing things out of the config file. Assuming that the user won't do things the wrong way is a sure way to succumb to Murphy's Law(the real one). The main barrier I can see to this is getting whatever parses the config file to recognise such dependencies; as it is, it's the compiler that runs into the problem, not the program that calls the compiler. The compiler doesn't know where the relevant source is if not told to include it, after all. -BB ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kernel compile error
> On Fri, Nov 26, 2004 at 04:03:52PM +0900, Rob wrote: > > Matt Emmerton wrote: > > >>/usr/src/sys/pci/if_rl.c:122:23: miibus_if.h: No such file or directory > > >>mkdep: compile failed > > > > > > > > >You need "device miibus" in your kernel config if you want to use "device > > >rl". > > Having such a mechanism, would prevent lots of beginners in the > > kernel compiling stuff, to get frustrated with errors like above. Also, as you see, it's well-documented in the kernel config file ;) -- Joshua Lokken Open Source Advocate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Updating packages list (using cvsup?)
Hi Thomas (and others), First off: thanks a lot for your answer, this is indeed what I was looking for... Then some specifics: > Packages are pre-compiled so there is little ability to configure them, > should you need to. Although I still know many people who prefer using > packages. I find them handy at times, but indeed some of them are hopelessly outdated (like Clamd)...:) > Do not use sysinstall to accomplish this. Also, there is no need to 'download or > update' your 'packages'. Simply follow the below command to install the current package. I know. I didn't express myself correctly: what I meant to say was to update the tree of 'packages', but then, as you stated, what I actually should have been referring to is the tree of 'ports'. :P > Below is a config to install cvsup and run it to update your ports > collection. Remember though, ports are not precompiled and you will > actually need to move into the /usr/ports/whatever_port/whatever_program dir > to install them. Yes, that's fine thanks! So the below should do the trick. > # pkg_add -r cvsup-without-gui > # cp /usr/share/examples/cvsup/ports-supfile /root/ports-supfile > // change 'changethis' to cvsup2, cvsup3, etc. > # ee /root/ports-supfile > // REBOOT SERVER > # shutdown -r now > // Run CVsup to make ports current. (will take approx. 1 hour over > broadband) > # cvsup -g -L 2 /root/ports-supfile Cool. Sounds easy enough. So I guess if I were to schedule the 'cvsup -g -L 2 /root/ports-supfile' command using cron, a weekly task should do. > Also there is a wealth of information in the FreeBSD handbook and I would > consider giving that a read. Thanks, indeed I have printed that (for the 5.1 version, but that should be o.k.) and I shall check that out as well... Cheers! Olafo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Updating packages list (using cvsup?)
Packages are pre-compiled so there is little ability to configure them, should you need to. Although I still know many people who prefer using packages. Do not use sysinstall to accomplish this. Also, there is no need to 'download or update' your 'packages'. Simply follow the below command to install the current package. # pkg_add -r some_package I would recommend ports and cvs to anyone. Below is a config to install cvsup and run it to update your ports collection. Remember though, ports are not precompiled and you will actually need to move into the /usr/ports/whatever_port/whatever_program dir to install them. # pkg_add -r cvsup-without-gui # cp /usr/share/examples/cvsup/ports-supfile /root/ports-supfile // change 'changethis' to cvsup2, cvsup3, etc. # ee /root/ports-supfile // REBOOT SERVER # shutdown -r now // Run CVsup to make ports current. (will take approx. 1 hour over broadband) # cvsup -g -L 2 /root/ports-supfile Also there is a wealth of information in the FreeBSD handbook and I would consider giving that a read. Best, Thomas S. Crum -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Olaf Greve Sent: Friday, November 26, 2004 8:45 AM To: [EMAIL PROTECTED] Subject: Updating packages list (using cvsup?) Hi all, I was wondering about a thingy. Whenever I use sysinstall to add a package, the list seems to be constantly the same (i.e. often outdated), whereas more recent versions should be available of several of the packages. Of course I can manually d/l the packages and if necessary compile them and install them, but I have also heard of the possibility of using cvsup to automatically update the packages tree. Now, I have installed cvsup, and I quickly browsed over the man pages (I have to admit that I have not yet been able to spend much time on this), but I was wondering if this is really the best way to go. Sure, it does automatically update collections, etc., but is this really the handiest tool out there for this particular task? If not, can anyone please name me an alternative (approach)? If it is, OTOH, can anyone please give me some quick pointers for setting this up correctly, and/or point me to a page where this process is explained. Thanks in advance, and cheers! Olafo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to boot FreeBSD from a slave IDE disk
On Thu, 25 Nov 2004 20:26:38 -0800 (PST), rain cip <[EMAIL PROTECTED]> wrote: > Hello, > > I hope I can get some help from this list to figure out how to boot FreeBSD > from a slave drive. My PC has two disks. The sysinstall sees both: ad0 and > ad3. My hardware configuration is such: > > ad0 -- primary IDE, master (all for Win2k) > ad3 -- secondary IDE, slave (all for FreeBSD 5.3) > > > > > I know I must have done something wrong. But what did I do wrong? I'm not sure. I know that I use a tool called GAG to boot mutliple OSes from assorted locations, and it has always worked very well for me. http://gag.sourceforge.net/ HTH, -- Joshua Lokken Open Source Advocate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Updating packages list (using cvsup?)
Hi all, I was wondering about a thingy. Whenever I use sysinstall to add a package, the list seems to be constantly the same (i.e. often outdated), whereas more recent versions should be available of several of the packages. Of course I can manually d/l the packages and if necessary compile them and install them, but I have also heard of the possibility of using cvsup to automatically update the packages tree. Now, I have installed cvsup, and I quickly browsed over the man pages (I have to admit that I have not yet been able to spend much time on this), but I was wondering if this is really the best way to go. Sure, it does automatically update collections, etc., but is this really the handiest tool out there for this particular task? If not, can anyone please name me an alternative (approach)? If it is, OTOH, can anyone please give me some quick pointers for setting this up correctly, and/or point me to a page where this process is explained. Thanks in advance, and cheers! Olafo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: squid-downloads
metallarch wrote: >-- >How can i deny downloads from squid? Here's a novel idea, how about reading the documentation? http://www.squid-cache.org/Doc/FAQ/FAQ-10.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Running commands at startup
On Fri, 26 Nov 2004 12:04:14 + "Danny Browne" <[EMAIL PROTECTED]> wrote: > > This will probobly seem like such a basic question, but where can do i > put commands i want to run at startup. for example cron, see @reboot > freeBSD 4.10 > > i want to run (for example) > > alias 'ls=ls -G' > alias 'vi=vim' > alias 'shutdown=shutdown -h now' > etc... This are a different problem see: /etc/csh.* ~/.cshrc ~/.login -- IOnut Unregistered ;) FreeBSD "user" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WRITE_DMA failures on 5.3 (but NOT on 4.10)
Peter Risdon wrote: craig wrote: hi, i wrote about this issue some weeks back, but have still not yet adequately resolved it. (http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-November/0638 07.html) [...] to repeat the original problem, when installing 5.3R it fails about 12% into extracting base into \ on the emergency terminal, there is a stream of warnings and failures reading: WARNING : WRITE_DMA UDMA ICRC ERROR FAILURE : WRITE_DMA status = 51... blah this continues until i run out of patience. This is a really major problem that has affected every 5.3 and the more recent 5.2.1 machines I've operated with largish [1] hard drives. The novelty of losing several tens of gigs of data any time a drive gets busy wears off fairly quickly. the advice i received was : ... mainly about checking hardware, and this is _not_ the issue. I've googled extensively on this and, as you did, replaced every hardware component in the IDE lines, including the disk drives, without affecting the problem. So far as I can make out, there was a change to default settings at some point (I haven't scoured the CVS repository to find out exactly when) to enable DMA because some newer drives require this[2]. No - apologies for wasting bandwidth. I got to this stage of research very late a couple of nights ago and see I should have stopped a few hours earlier. Looking again, this: hw.ata.atapi_dma: 0 in loader.conf might fix the problem with atapi drives but the hw.ata.ata_dma: 1 sysctl setting seems to have been the default in 4.10 too, so that can't be it. I think I might try turning off ata dma in a 5.3 system anyway, and putting a big drive under load to see what happens, but I fear I'm probably back to square one. Peter. -- the circle squared network systems and software http://www.circlesquared.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WRITE_DMA failures on 5.3 (but NOT on 4.10)
craig wrote: hi, i wrote about this issue some weeks back, but have still not yet adequately resolved it. (http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-November/0638 07.html) [...] to repeat the original problem, when installing 5.3R it fails about 12% into extracting base into \ on the emergency terminal, there is a stream of warnings and failures reading: WARNING : WRITE_DMA UDMA ICRC ERROR FAILURE : WRITE_DMA status = 51... blah this continues until i run out of patience. This is a really major problem that has affected every 5.3 and the more recent 5.2.1 machines I've operated with largish [1] hard drives. The novelty of losing several tens of gigs of data any time a drive gets busy wears off fairly quickly. the advice i received was : ... mainly about checking hardware, and this is _not_ the issue. I've googled extensively on this and, as you did, replaced every hardware component in the IDE lines, including the disk drives, without affecting the problem. So far as I can make out, there was a change to default settings at some point (I haven't scoured the CVS repository to find out exactly when) to enable DMA because some newer drives require this[2]. This also affects some attempts to install from CD using CDRW/DVD drives[3]. The only answer seems to be to disable DMA and I hope to put together a test machine in the next week to experiment with this. So far as I can see, there's a chance that adding: hw.ata.ata_dma="0" to /boot/loader.conf might help but I haven't yet tried this. Peter. [1] - at least >80G but I'm not sure where it kicks in. [2] - http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2004-11/0078.html [3] - http://adam.kungfoohampster.com/lists/freebsd-stable/msg09493.shtml -- the circle squared network systems and software http://www.circlesquared.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Playing DVD movies with Xine
I had to do this before Xine would recognise my DVD's ln -s /dev/acd0 /dev/dvd ln -s /dev/acd0 /dev/rdvd Check these :- http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/video-playback.html http://www.onlamp.com/pub/a/bsd/2002/10/03/FreeBSD_Basics.html Custom PC North West Open Source Solutions http://www.cpcnw.co.uk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Diskgeometry - sysinstall bug?
Hi, I have problems making sysinstall behave, interactive or scripted. The disk is 60GB Hitachi Travelstar, on boot the kernel FreeBSD 5.3-STABLE identifies the geometry as: 116280/16/63, but sysinstall refuses these values as insane, and tries to rewrite the disk geometry to 7296/255/63. Using all disk for slice 1 sysinstall writes the disklabel, but it fails to initialize the swap partition claming no such device /dev/ad0s1b, or I get write errors when I try to install. On reboot (pxe), even though the new partition table and geometry was written, the kernel identifies the disk with the original geometry. It appears that I should go with the geometry the kernel thinks. How do I get my disk sliced up from here? Thanks, Erik I have found the following code in disks.c which seems to be responsible: if (d->bios_cyl > 65536 || d->bios_hd > 256 || d->bios_sect >= 64) { Sanitize_Bios_Geom(d); } I have previously had FreeBSD 4.10 on the disk, installed from CD with no problems. On my laptop (40GB), the disk geometry is 77520/16/63 which should also fail in the above check I have 6.0-CURRENT, installed originally as 5.2.1 but upgraded with cvsup. Running fdisk manually, I get the following output: parameters extracted from in-core disklabel are: cylinders=116280 heads=16 sectors/tracks=63 (1008 blks/cyl) Figures below won't work with BIOS for partions not in cyl 1 parameters to be used for BIOS calculations are cylinders=116280 heads=16 sectors/tracks=63 (1008 blks/cyl) Information from DOS bootblock is: 1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 117210177 (57231 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 567/ head 15/ sector 63 2: 3: 4: Confirming to write disk, fdisk prints the following summary: /dev/ad0: 116280 cyl 16 hd 63 sec PartStartSize Type Flags 1 63 117210177 0xa5 0x80 This all looks OK, just like the kernel likes it... -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Running commands at startup
This will probobly seem like such a basic question, but where can do i put commands i want to run at startup. freeBSD 4.10 i want to run (for example) alias 'ls=ls -G' alias 'vi=vim' alias 'shutdown=shutdown -h now' etc... Also, i am running fluxbox, but my mouse is very slow when it starts up. at the moment i have to enter xset m 5/1 in the terminal to speed it up. How can i get fluxbox do do this at startup? Danny Browne _ Sign up for eircom broadband now and get a free two month trial.* Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shell programming challenge
On 2004-11-25 17:30, "Conrad J. Sabatier" <[EMAIL PROTECTED]> wrote: > > OK, I think I've found what you're looking for: > > xterm -e "/usr/local/bin/bash --rcfile bash_commands -i" > > Substitute your program's startup script for "bash_commands" in the > above. Using the "-i" switch to bash forces interactive mode, so when > the script exits, you'll be returned to the shell prompt in the xterm. > As it turns out, xterm's "-hold" switch is wholly unnecessary here. > > Note that the "--rcfile" switch, being a "double-hyphened" option, must > precede the later "-i" switch in order to be recognized. Cool trick! I was thinking something like adding the following to the local .bashrc: [-- .bashrc --] if [ ! X"${BASHRC_LOCAL}" = X"" ] && \ [ -r "${BASHRC_LOCAL}" ]; then . "${BASHRC_LOCAL}" fi Then running xterm with BASHRC_LOCAL set to the path of the local bash script: BASHRC_LOCAL="/path/foo" xterm -e bash --rcfile is better though :-) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
WRITE_DMA failures on 5.3 (but NOT on 4.10)
hi, i wrote about this issue some weeks back, but have still not yet adequately resolved it. (http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-November/0638 07.html) i have, however, done more testing and found some interesting results. first off, i am working off the following: Asrock PE-Pro-HT motherboard with Intel P4 2.6Gh onboard IDE controller on IDE band 1 (80pin) is a Hitachi 80GB drive and a brandX cd/dvd player on IDE band 2 (80pin) is a ??? 120GB drive and a brandX cd/dvd burner also nvidia AGP graphics card, and one or two other cards. (full dmesg from 4.10 at the bottom) to repeat the original problem, when installing 5.3R it fails about 12% into extracting base into \ on the emergency terminal, there is a stream of warnings and failures reading: WARNING : WRITE_DMA UDMA ICRC ERROR ... blah this continues until i run out of patience. the advice i received was : * that there may be drive errors i downloaded a low level disk checking utility from hitachi which confirmed no errors with disk. also, it is a fairly new disk so it shouldn't be failing now. further, it had not giving any indications of problems under 4.10 * that the IDE cables, pins, power, jumpers, may be gammy. i went out and purchased new IDE bands, double checked the rest - no visible problem. * that the media (cd) from which i was installing may be corrupt i have checked the md5 sums of the iso and disk, and all is fine. i have also burnt to two different types of cds, with two different applications. no change. getting desperate for other options, i installed ubuntu linux with absolutely no problem. looking in ubutu's dmesg indicated no troubles with the disk. ditto with windows xp. i then reinstalled freebsd 4.10 with absolutely no problems. i need to make this point very clear - on *exactly* the same hardware, under *exactly* the same circumstances 4.10 installs without *any* problems, while 5.3 *fails*!! (dmesg is included below) finally, in one of the many permutations of my hardware configurations, i got 5.3 to install. this i managed to do by disconnecting the cd/dvd player on the first IDE band (ie. shared with boot drive) even so, the emergency terminal still gives many of the WRITE_DMA warnings, but fewer failures. and once installed, any significant amount of disk activity causes more warnings and occasional failures to pop up. disk performance has also been *severely* hit! a port install which takes no more than a few minutes on 4.10, ran for hours before i killed it. this is not an issue with my hardware. this is an issue with 5.3 i have seen several other mentions of this, but with no solutions that helped me. any help would be greatly appreciated. much thanks, --- dmesg from freebsd 4.10 --- Copyright (c) 1992-2004 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 4.10-RELEASE #0: Tue May 25 22:52:21 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BOOTMFS Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 2404107844 Hz CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2404.11-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff real memory = 1073676288 (1048512K bytes) config> intro \^[[m\^[[H\^[[J\^[[3;26H\^[[m\^[[1m\^[[m\^[[6;11H\^[[m\^[[7m\^[[m\^[[7;11H\^ [[m\^[[8;11H\^[[m\^[[11;3H\^[[m\^[[12;3H\^[[m\^[[13;3H\^[[m\^[[15;3H\^[[m\^[ [16;3H\^[[m\^[[18;3H\^[[m\^[[19;3H\^[[m\^[[21;3H\^[[m\^[[7m\^[[m\^[[22;3H\^[ [m\^[[1;1H\^[[6;11H\^[[m\^[[7;11H\^[[m\^[[7m\^[[m\^[[8;11H\^[[m\^[[1;1H\^[[6 ;11H\^[[m\^[[7m\^[[m\^[[7;11H\^[[m\^[[8;11H\^[[m\^[[1;1H\^[[m\^[[H\^[[Javail memory = 1037377536 (1013064K bytes) Preloaded elf kernel "kernel" at 0xc0829000. Preloaded mfs_root "/mfsroot" at 0xc0829084. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled md0: Preloaded image 4423680 bytes at 0xc03ef3d4 md1: Malloc disk Using $PIR table, 10 entries at 0xc00f7b10 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 2.0 on pci0 isa0: on isab0 atapci0: port 0xff00-0xff0f at device 2.5 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x1039, dev=0x7012) at 2.7 irq 10 ohci0: mem 0xdfffd000-0xdfffdfff irq 10 at device 3.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2 uhub1: 4 ports with 4 removable, bus powered ohci1: mem 0xdfffe000-0xdfffefff irq 11 at device 3.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1:
Re: sysinstall flakey after PXE booting 5.3 / AMD64
[EMAIL PROTECTED] wrote: I wasn't able to discover much in the "holographic console". That console has rm but not ls. It has ifconfig but not netstat. I can cd into /stand but hardly any other directory listed in the PATH variable. Next time I'll try typing xyzzy to see if more commands materialize. What seems clear is that sysinstall starts sick and becomes sicker. I've repeated this drill several times with consistently depressing results. Where I'm at now is wondering if I should give up, dig the server out of the network closet, and hang a CDROM off the side (hangs head in shame). Is sysinstall not yet quite up to the job, or have I missed a few specs of magic pixie dust in my loader.conf configuration? I have been messing with pxeboot lately on i386 though. I don't know what's on the bootonly iso, but usually there is a memory file system that is mounted as root containing the binaries. OpenBSD (AFAIK) does not support (FBSD) memory disks, so if you want to pook around you better fire up a FBSD. Some tricks I have learned along the way: It's neat to have init with your memory disk image also. You can toggle wether init or sysinstall is started setting init_path in loader.conf. If /etc/rc is not present for init you will be offered to start a shell, then you can manually try and debug the system if hardware is causing trouble. The best documentation for sysinstall is ... the source ... many variables are not documented, I found some of the variables from the configuration menu by grepping for the menu items in the source. sysinstall can read an installation script if it's called install.cfg and is in / or /stand. It should(?) be posible to set any variable set in the interactive menu. The PATH environment variable appears to be hardcoded (install.c): setenv("PATH", "/bin:/sbin:/usr/bin:/usr/sbin:/stand:" "/mnt2/stand:/mnt2/bin:/mnt2/sbin:/mnt2/usr/bin:/mnt2/usr/sbin", 1); But, I must admit that sysinstall would not find ifconfig if not in the same directory as sysinstall itself. Well, if you need to get work done now, it is probably faster just to install from CD as usual, but pxeboot is too cool to give up just because sysinstall is causing troubles :-) BTW, I have messed arround so much that I eventually decided to docuement my yet unsuccesfull attempts to install (at least so I can repeat the process to the same state of lack of success :-). I don't know if my document is any better than the others you can find on the net: www.daemonsecurity.com/pxe/ Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
squid-downloads
-- How can i deny downloads from squid? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Playing DVD movies with Xine
On Thursday 25 November 2004 10:39 pm, RL wrote: > I just installed Xine from ports because I have been having very odd > issues with ogle. However, it says "there is no demuxer plugin to > handle /dev/acd0 Usually this means that the file format was not > recognized" when I attempt to play DVD movies. Similarily, "xine -p > dvd:/" produces that same message, except it says there is no plugin > available to handle dvd:/ > > I'm lost :( > Is there some plugin I'm missing? Where do I get it? I don't know anything about xine; but the port of mplayer has worked well for me. Best of luck, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sysinstall flakey after PXE booting 5.3 / AMD64
Hello, This message is directed toward PXE masochists. I'm heading straight to the gory details. I loopback mounted 5.3-RELEASE-amd64-bootonly.iso and copied the entire boot directory onto my OpenBSD DHCP server. I tweaked this by adding the directive boot_askname="" to loader.conf. Then I PXE booted by Tyan S2882 to that weird askname loader prompt where it asks for a boot device. I entered by hand ufs:/dev/md0 and bingo I had sysinstall running. Under sysinstall I was able to run fdisk and disklabel successfully, configure bge0 via DHCP, and select ftp4.freebsd.org as my FTP server. I watched network traffic on the OpenBSD firewall and I see my server exchanging TCP/IP packets with freebsd.isc.org (an alias for ftp4). Then sysinstall complains that it can't talk to my FTP server and returns me to the screen to select a new FTP server. I select any server and then it asks me if I want to skip network config. No matter which path I choose, on the second pass it gets even more sick than the first pass. I end up answering "no" to about 50 dialogs before it returns me to a sysinstall menu screen. On the DEBUG console I see evidence that bge0 was switched to "down" status when I started the second attempt to connect to an FTP server, despite skipping (or not skipping) "network reconfig". I wasn't able to discover much in the "holographic console". That console has rm but not ls. It has ifconfig but not netstat. I can cd into /stand but hardly any other directory listed in the PATH variable. Next time I'll try typing xyzzy to see if more commands materialize. What seems clear is that sysinstall starts sick and becomes sicker. I've repeated this drill several times with consistently depressing results. Where I'm at now is wondering if I should give up, dig the server out of the network closet, and hang a CDROM off the side (hangs head in shame). Is sysinstall not yet quite up to the job, or have I missed a few specs of magic pixie dust in my loader.conf configuration? Allan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shell programming challenge
On Thu, 25 Nov 2004, Don Wilde wrote: > J65nko BSD wrote: > > On Thu, 25 Nov 2004 10:26:38 -0700, Don Wilde <[EMAIL PROTECTED]> wrote: > > > > > Hey, folks - > > > > > > I need to find a way to kick off an xterm running BASH and then execute > > > a program within that xterm, but NOT close the new xterm after the > > > program finishes. > > [snip] > > > > > xterm -hold -e sh -c ./ticktock & > > > > "-hold" is explained in the xterm man page ;) > > > Yes and no. I don't get as command prompt back in the new xterm, either with > sh or bash. ALso, the --rcfile arcument does not appear to work in conjunction > with -c. > > This is what the man for hold specifies, but I need the prompt. If you have the option to modify it, ensure that your script exits via "exec sh". Alternatively a wrapper that does this is straightforward to build. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287864 or +44 (0)117 9287088 http://ioctl.org/jan/ Political talk? / What is said can be unsaid / with good old BS -- ASCII haiku ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re:29 Problems with samba
> V> Dear All, > > > > > V> From the win 2000 box I can see my freebsd box fqdn but can't connect > V> any share. Win 2000 keeps V> connect to the share, ask the Administrator" (sorry, translating from > V> Italian) > > V> PLEASE HELP > > V> Ciao > V> Vittorio > > > - > > Are all the nessecary user created ? (meaning on the BSD box is a > samba user and a system user with the same name as your Windows 2000 > login account ?) > > >> >>[homes] >> comment = Home Directories >> browseable = no >> writable = yes > > I miss a path directive in your home dir configuration. Asfar as I > understand somethin like: > > [Kopfkissen] > path = /mnt/hdd1 > > Is the minimum share definition. > > HExren With windows 2000 and xp you don't have to have matching users you will get the chance to enter a user name and pass on accessing the share The home dir share doe not require the path A simple [homes] read only = No Will work fine have. You do need to add the user to samba with smbpasswd -a user or pdbedit -a -u username depending on your version of samba and password back end. I've stuck with smbpasswd -a user because it works fine Also make sure your windows 2000 machine is just playing up for what ever reason -- Regards Terry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-questions Digest, Vol 81, Issue 18
> V> Dear All, > > > > > V> From the win 2000 box I can see my freebsd box fqdn but can't connect > V> any share. Win 2000 keeps V> connect to the share, ask the Administrator" (sorry, translating from > V> Italian) > > V> PLEASE HELP > > V> Ciao > V> Vittorio > > > - > > Are all the nessecary user created ? (meaning on the BSD box is a > samba user and a system user with the same name as your Windows 2000 > login account ?) > > >> >>[homes] >> comment = Home Directories >> browseable = no >> writable = yes > > I miss a path directive in your home dir configuration. Asfar as I > understand somethin like: > > [Kopfkissen] > path = /mnt/hdd1 > > Is the minimum share definition. > > HExren With windows 2000 and xp you don't have to have matching users you will get the chance to enter a user name and pass on accessing the share The home dir share doe not require the path A simple [homes] read only = No Will work fine have. You do need to add the user to samba with smbpasswd -a user or pdbedit -a -u username depending on your version of samba and password back end. I've stuck with smbpasswd -a user because it works fine Also make sure your windows 2000 machine is just playing up for what ever reason -- Regards Terry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xorg/Modes issue
Adam Fabian wrote: (II) I810(0): Not using mode "1280x1024" (no mode of this name) [EMAIL PROTECTED] looks like it might be the name of a mode. Otherwise, you could just write a modeline that does what you want. It still does not seem to work, I have put a modeline in the config file and attached the log again. Thanks for all your help so far Jake Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice"Mouse0" "CorePointer" InputDevice"Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "speedo" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" EndSection Section "Monitor" #DisplaySize 380 300 # mm Identifier "Monitor0" VendorName "IVM" ModelName"PLE481" ### Uncomment if you don't want to default to DDC: # HorizSync842216256.0 - 52.0 # HorizSync24.0 - 83.0 # VertRefresh 858928448.0 - 0.0 HorizSync31.469-79.976 VertRefresh 59.940-75.025 Option "DPMS" ModeLine "1280x1024" 135.22 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [] #Option "SWcursor" # [] #Option "ColorKey" # #Option "CacheLines" # #Option "Dac6Bit" # [] #Option "DRI" # [] #Option "NoDDC"# [] #Option "ShowCache"# [] #Option "XvMCSurfaces" # #Option "PageFlip" # [] Identifier "Card0" Driver "i810" VendorName "Intel Corp." BoardName "82865G Integrated Graphics Device" BusID "PCI:0:2:0" VideoRam 65536 EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor"Monitor0" DefaultDepth 8 SubSection "Display" #Viewport 0 0 Depth8 Modes "1280x1024" "[EMAIL PROTECTED]" EndSubSection EndSection Section "DRI" Mode 0666 EndSection Release Date: 18 December 2003 X Protocol Version 11, Revision 0, Release 6.7 Build Operating System: FreeBSD 5.3 i386 [ELF] Current Operating System: FreeBSD lancelot.corp.senokian.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 16 October 2004 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Nov 26 09:52:51 2004 (++) Using config file: "xorg.conf.new" (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (==) Keyboard: CustomKeycode disabled (WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/Speedo/". Entry deleted from font path. (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/Speedo/"). (WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/Type1/". Entry deleted from font path. (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/Type1/"). (WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/CID/". Entry deleted from font path. (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/CID/"). (**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/" (**) RgbPath set to "/usr/X11R6/lib/X11/rgb" (**) ModulePath set to "/usr/X11R6/lib/modules" (II) Module A
Re: Problems with samba under FreeBSD, not under Linux
Hexren wrote: V> Dear All, V> From the win 2000 box I can see my freebsd box fqdn but can't connect V> any share. Win 2000 keeps connect to the share, ask the Administrator" (sorry, translating from V> Italian) V> PLEASE HELP V> Ciao V> Vittorio - Are all the nessecary user created ? (meaning on the BSD box is a samba user and a system user with the same name as your Windows 2000 login account ?) I don't think this matters. Credentials, username and password, are being passed explicitly to the Windows (R)(Tm)(c) machine when smbclient and mount_smbfs are invoked. [homes] comment = Home Directories browseable = no writable = yes I miss a path directive in your home dir configuration. Asfar as I understand somethin like: [Kopfkissen] path = /mnt/hdd1 Is the minimum share definition. No: [homes] is a special case - it maps home directories to users. No path here. Check the default smb.conf for reference. So far as the OP is concerned, is anything showing up in the pathetic excuse for logging that ships with Windows? Event Log entries might show why the connection is being refused. Peter. -- the circle squared network systems and software http://www.circlesquared.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kernel compile error
On Fri, Nov 26, 2004 at 04:03:52PM +0900, Rob wrote: > Matt Emmerton wrote: > > > >>/usr/src/sys/dev/usb/if_rue.c:104:23: miibus_if.h: No such file or > > > >directory > > > >>/usr/src/sys/pci/if_rl.c:122:23: miibus_if.h: No such file or directory > >>mkdep: compile failed > > > > > >You need "device miibus" in your kernel config if you want to use "device > >rl". > > I always wonder why there has not yet been constructed a mechanism that > automatically pulls in devices that are needed to prevent compile failure. > > It wouldn't be too difficult, I assume, to have "device miibus" pulled > in, when needed for certain devices. > > Or is there a good reason to allow people to compile, for example > "device rl", without the miibus device? > > Having such a mechanism, would prevent lots of beginners in the > kernel compiling stuff, to get frustrated with errors like above. Let us know when it's ready :) Kris pgp8ZKBHio2NU.pgp Description: PGP signature
Re: assus sk8n onboard sound
On Fri, 26 Nov 2004 09:18:56 +0100, Gert Cuykens <[EMAIL PROTECTED]> wrote: > On Fri, 26 Nov 2004 08:57:10 +0100, Gert Cuykens <[EMAIL PROTECTED]> wrote: > > > > > 7rxI# kldstat > > > Id Refs AddressSize Name > > > 1 55 0x8010 5cea80 kernel > > > 21 0x806cf000 31e0 snd_driver.ko > > > 32 0x806d3000 5c70 snd_vibes.ko > > > 42 0x806d9000 4728 snd_via82c686.ko > > > 52 0x806de000 6038 snd_via8233.ko > > > 62 0x806e5000 5990 snd_t4dwave.ko > > > 72 0x806eb000 5d80 snd_solo.ko > > > 85 0x806f1000 4eb8 snd_sbc.ko > > > 92 0x806f6000 5218 snd_sb16.ko > > > 102 0x806fc000 4f30 snd_sb8.ko > > > 112 0x80701000 11778snd_neomagic.ko > > > 123 0x80713000 10750snd_mss.ko > > > 132 0x80724000 9ce0 snd_maestro3.ko > > > 142 0x8072e000 8010 snd_maestro.ko > > > 152 0x80737000 5ea0 snd_ich.ko > > > 162 0x8073d000 4b38 snd_fm801.ko > > > 173 0x80742000 6ec8 snd_ess.ko > > > 182 0x80749000 70a0 snd_es137x.ko > > > 192 0x80751000 8b68 snd_emu10k1.ko > > > 202 0x8075a000 cac8 snd_ds1.ko > > > 214 0x80767000 96a0 snd_csa.ko > > > 222 0x80771000 5798 snd_cs4281.ko > > > 232 0x80777000 5878 snd_cmi.ko > > > 242 0x8077d000 51d8 snd_als4000.ko > > > 252 0x80783000 5348 snd_ad1816.ko > > > 261 0xa7833000 1cd blank_saver.ko > > > 7rxI# > > > > when i do cat test.wav > /dev/audio i hear sound but it is all distorted ? > > > > also how do i know which driver is actualy doing something ? > > > > i know i know read the manual > > 7rxI# cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0xe800, 0xe400 irq 11 bufsz 16384 kld > snd_ich (1p/1r/0v channels duplex default) > 7rxI# > > so how do i play sound :) and how do i make the 5.1 work :) > when i do cat /root/ohyeah.wav > /dev/dsp it is also all distorted sound ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: assus sk8n onboard sound
On Fri, 26 Nov 2004 08:57:10 +0100, Gert Cuykens <[EMAIL PROTECTED]> wrote: > > 7rxI# kldstat > > Id Refs AddressSize Name > > 1 55 0x8010 5cea80 kernel > > 21 0x806cf000 31e0 snd_driver.ko > > 32 0x806d3000 5c70 snd_vibes.ko > > 42 0x806d9000 4728 snd_via82c686.ko > > 52 0x806de000 6038 snd_via8233.ko > > 62 0x806e5000 5990 snd_t4dwave.ko > > 72 0x806eb000 5d80 snd_solo.ko > > 85 0x806f1000 4eb8 snd_sbc.ko > > 92 0x806f6000 5218 snd_sb16.ko > > 102 0x806fc000 4f30 snd_sb8.ko > > 112 0x80701000 11778snd_neomagic.ko > > 123 0x80713000 10750snd_mss.ko > > 132 0x80724000 9ce0 snd_maestro3.ko > > 142 0x8072e000 8010 snd_maestro.ko > > 152 0x80737000 5ea0 snd_ich.ko > > 162 0x8073d000 4b38 snd_fm801.ko > > 173 0x80742000 6ec8 snd_ess.ko > > 182 0x80749000 70a0 snd_es137x.ko > > 192 0x80751000 8b68 snd_emu10k1.ko > > 202 0x8075a000 cac8 snd_ds1.ko > > 214 0x80767000 96a0 snd_csa.ko > > 222 0x80771000 5798 snd_cs4281.ko > > 232 0x80777000 5878 snd_cmi.ko > > 242 0x8077d000 51d8 snd_als4000.ko > > 252 0x80783000 5348 snd_ad1816.ko > > 261 0xa7833000 1cd blank_saver.ko > > 7rxI# > > when i do cat test.wav > /dev/audio i hear sound but it is all distorted ? > > also how do i know which driver is actualy doing something ? > i know i know read the manual 7rxI# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xe800, 0xe400 irq 11 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default) 7rxI# so how do i play sound :) and how do i make the 5.1 work :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"