Ports system broken
Hi, I've managed to completely screw up my ports collection, to the extent that I can't install anything now (don't want to get into how I achieved this, too painful/embarassing :-)) So, what I would like to know is: can I get my system back to a state as if it had never had any ports installed on it at all, so I can then put a fresh copy of the ports tree on it and start over again? I'm thinking the procedure may go something like - remove /usr/local - make installworld to replace anything in /usr/local that wasn't put there by ports - remove /usr/X11R6 (since X is part of the ports?) - remove the package database under /var/db Does this sound like it may work, or have I overlooked some glaringly obvious flaw in my plan? It would be really good to find a solution other than a complete reinstall, as the base system (cvsup'd to 4.7 a couple of days ago) is working really well... Regards, Dave To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Mouting DOS FS hangs system
Hi All, I'm running 4.6.2-RELEASE and have a dos fs I'm trying to mount. However each time I run mount -t msdos /dev/ad2s1 /mnt the system locks hard. What can I do to trouble shoot this and file a bug report if necessary? Rus -- http://www.fsck.me.uk - My blog http://shells.fsck.me.uk - Hosting how you want it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Slightly OT: How to remove an odd file...
I've got an interesting question for you all. I've got a file who's name is...3 blank spaces. It shows up when I do an ls -la, and I can get it's inode # (it's in RedHat...a box I'm going to convert to FreeBSD real soon)...does anyone know how to remove a file based off of an inode #? --Brian McCann To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Slightly OT: How to remove an odd file...
On Sun, 13 Oct 2002, Brian McCann wrote: I've got an interesting question for you all. I've got a file who's name is...3 blank spaces. It shows up when I do an ls -la, and I can get it's inode # (it's in RedHat...a box I'm going to convert to FreeBSD real soon)...does anyone know how to remove a file based off of an inode #? --Brian McCann Have you tried rm ? I've just tried it on my box bash-2.05# touch bash-2.05# ls -ld -rw-r--r-- 1 root wheel 0 Oct 13 13:13 bash-2.05# rm bash-2.05# ls -ld ls:: No such file or directory Rus -- http://www.fsck.me.uk - My blog http://shells.fsck.me.uk - Hosting how you want it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: failed making a new kernel
I already answered this once, and I believe it's in the archives. Just do a search form umass and you should come up with it. Look before you ask! -Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kai Plügge Sent: Sunday, October 13, 2002 9:35 AM To: [EMAIL PROTECTED] Subject: failed making a new kernel Hi, i got this error when i make my kernel. config runs without errors. snap from the output: [...] umass.o: in function `umass_cam_sense_cb': umass.o(.text+0x1ad8): undefined reference to `xpt_done' umass.o(.test+0x1ae9): undefined reference to `xpt_done' umass.o(.text+0x1b03): more undefined references to `xpt_done' follow *** Error code 1 can you someone say what's wrong with it? i'm using freebsd 4.7-RELEASE attachment: kernel config file greetz kai Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Because of NAT?
Hi. My network is like this: Name: Cisco 677i-DIR (ADSL-router/modem) IP: 217.13.29.51 | v Name: Ninja (FreeBSD) IP: 192.168.187.1 | v Name: Aegis (FreeBSD) IP: 192.168.187.2 The Cisco router runs CBOS and apparently NAT. I have forwarded these ports to Ninja. The address 10.0.0.2 (somehow it has to be that address) goes to Ninja's lnc0. set nat entry add 10.0.0.2 22 0.0.0.0 22 tcp set nat entry add 10.0.0.2 25 0.0.0.0 25 tcp set nat entry add 10.0.0.2 80 0.0.0.0 80 tcp set nat entry add 10.0.0.2 53 0.0.0.0 53 tcp set nat entry add 10.0.0.2 113 0.0.0.0 113 tcp set nat entry add 10.0.0.2 1024-5000 0.0.0.0 1024-5000 tcp set nat entry add 10.0.0.2 31337 0.0.0.0 31337 tcp This should cover most things, shouldn't it? However I'm concerned the use of NAT on my router and boxes has stirred shit up. For instance, I can only connect to my OpenFTPD (on 31337) site locally. Connecting remotely gives me: lftp [EMAIL PROTECTED]:~ ls Connecting to ninja.terrabionic.com (217.13.29.51) port 31337 Socket error (Connection timed out) - reconnecting Also I've been hearing people not getting ident requests from me. This can not be a BIND issue can it? I find it odd why my hostname sometimes doesn't resolve on EFNet, but on all the other networks I'm on. NAT, it seems, has really made networking a lot harder for me than what I deserve. I hope somebody understands my situation and are able to give useful replies. Thanks! --janine To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ask about time
Dear Sir, I want to ask about how we change UTC time in FreeBSD to some kind date that we can read more clearly. I hope you can give me some information about that. sincerely agus __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Ports system broken
please keep the line length below 75 chars. # [EMAIL PROTECTED] / 2002-10-13 15:02:07 +0100: I've managed to completely screw up my ports collection So, what I would like to know is: can I get my system back to a state as if it had never had any ports installed on it at all, so I can then put a fresh copy of the ports tree on it and start over again? probably by: # rm -rf /usr/local/* # rm -rf /usr/X11R6/* # rm -rf /var/db/pkg/* just as you say below. but it's not necessary. I'm thinking the procedure may go something like - remove /usr/local if the stuff you have installed works (iow, the whole problem is that you can't install anything new), this is not needed - make installworld to replace anything in /usr/local that wasn't put there by ports there's no such thing. - remove /usr/X11R6 (since X is part of the ports?) - remove the package database under /var/db Does this sound like it may work, seems so. or have I overlooked some glaringly obvious flaw in my plan? it's an overkill. It would be really good to find a solution other than a complete reinstall, as the base system (cvsup'd to 4.7 a couple of days ago) is working really well... # rm -r /usr/ports/* # cd /usr/src # make update (replace the last two lines with manual cvsup if you don't have it [cvsup] configured in /etc/make.conf) -- begin 666 nonexistent.vbs FreeBSD 4.7-STABLE 4:24PM up 18:54, 9 users, load averages: 0.01, 0.05, 0.01 end To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Avoiding fsck at boot time
Hi, I've got some unstable hardware ATM and whilst I'm trying to track it down I would like to minimize downtime. I've enabled soft updates on all but the rootfs as I thought this would do it. Can anyone point me in the right direction? Rus -- http://www.fsck.me.uk - My blog http://shells.fsck.me.uk - Hosting how you want it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: NIS/YP -NFS -DISKLESS problem, weird
In message [EMAIL PROTECTED], Hartmann, O. writes: I can see the X-Terminals and other diskless systems booting but when mounting / via NFS from the boot host, they get stuck. It seems that they can not mount the NFS file system, but that is not the problem. I exported then the root tree of the diskless systems to another system and I saw that they can mount it without any problem. But now the weird thing comes into play: I can travers via cd and ls __all__ directories and can list all dir entries execept those of etc! Hi, Could you collect a tcpdump trace of the client as it becomes stuck? Something like tcpdump -nepX -s 1600 host your_client_ip and udp port 2049 run from the server should do the trick. I just need to see a few retransmits of the failing request. Ian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
CD-ROM install problems (like 4.6-RELEASE problem)
(NOTE--I am not subscribed, so please reply to me as well as the list) I'm having a problem installing 4.6.2-RELEASE and 4.7-RELEASE (haven't tried any others yet) when installing from CD-ROM using a Hitachi GD-3000. The drive is the master on the secondary on-board controller. The machine boots up fine off of the CD, then when attempting to extract the distributions I select, it hangs. Error messages on VTY2? (alt-F2): acd0: READ_BIG command timeout - resetting ata1: resetting devices .. done acd0: read data overrun 2048/0 The final message (read data overrun) repeats 8-12 times, then the group starts over. The main installer screen hangs saying it's extracting /bin. Any help would be appreciated. I can provide more details if necessary. P.S. If a duplicate of this message shows up in a few days, i'm sorry. one of my hosting providers doesn't maintain dns very well --cameron To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems getting an ICH soundcard working under 4.7
On Fri, 2002-10-11 at 20:00, D J Hawkey Jr wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] writes: I have a friend installing FreeBSD for the first time on his HP Pavilion 7800 with integrated ICH soundcard. The card is supported by the snd_ich module, however, it fails to detect the card at boot. dmesg reports the card as: chip1: Intel 82801AA (ICH) AC'97 Audio Controller port 0x1300-0x133f,0x1200-0x12ff irq 0 at device 31.5 on pci0 Note the irq 0. I've done everything I can to enable the soundcard and disable plug'n'play in the BIOS. Nothing works. I have a feeling that's why the card isn't detected. Here is the pciconf info: chip1@pci0:31:5:class=0x040100 card=0x56438086 chip=0x24158086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801AA 8xx Chipset AC'97 Audio Controller' class= multimedia subclass = audio Anyone have any ideas? Thanks. I've got an HP Pavilion 7840. I'v had devices agp, smbus, ichsmb, smb, and pcm enabled in my kernel since 4.2 (patched), and ICH sound has worked fine: Worked like a champ, pcm now attaches to the soundcard. Thanks for the tip. I tend to forget about the smb related options as I have never really had a need to use them. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
NIC problem?
Dear all, I have a DE-220 10M NIC connect to a server with realtek 8139 NIC using cross over cable. The transfer speed usually over 500K bytes. Recently, the server crashed and I have to connect this DE-220 NIC to another server with Intel 82559 NIC using the same cross over cable. After that, the transfer is terrible. Usually below 10K bytes.I see a lot of collision in 'netstat -in' command on intel side but nothing unusual on DE-220 side. Is there any thing I can do to solve this problem? Thanks, Vincent Chen __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: CD-ROM install problems (like 4.6-RELEASE problem)
# [EMAIL PROTECTED] / 2002-10-13 08:18:45 -0700: I'm having a problem installing 4.6.2-RELEASE and 4.7-RELEASE (haven't tried any others yet) when installing from CD-ROM using a Hitachi GD-3000. The drive is the master on the secondary on-board controller. The machine boots up fine off of the CD, then when attempting to extract the distributions I select, it hangs. Error messages on VTY2? (alt-F2): acd0: READ_BIG command timeout - resetting ata1: resetting devices .. done acd0: read data overrun 2048/0 is this the same thing? http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/41651 -- begin 666 nonexistent.vbs FreeBSD 4.7-STABLE 5:32PM up 20:03, 9 users, load averages: 0.09, 0.15, 0.09 end To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [getting FreeBSD on CD]
On Sun, Oct 13, 2002 at 12:56:46PM +0300, ÐгоÑÑ Ðиджиев wrote: Hi. Tell me please, how can i get newest freebsd version on cd? Best gerards, Igor Lidzhiyev. See this web page: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Slightly OT: How to remove an odd file...
No go...here's the listing for the file...here's what happens... -rwsr-sr-x1 root root64924 Sep 2 15:24 rm rm: remove write-protected file ` '? y rm: cannot unlink ` ': Operation not permitted Any other ideas? --Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Rus Foster Sent: Sunday, October 13, 2002 10:17 AM To: Brian McCann Cc: [EMAIL PROTECTED] Subject: Re: Slightly OT: How to remove an odd file... On Sun, 13 Oct 2002, Brian McCann wrote: I've got an interesting question for you all. I've got a file who's name is...3 blank spaces. It shows up when I do an ls -la, and I can get it's inode # (it's in RedHat...a box I'm going to convert to FreeBSD real soon)...does anyone know how to remove a file based off of an inode #? --Brian McCann Have you tried rm ? I've just tried it on my box bash-2.05# touch bash-2.05# ls -ld -rw-r--r-- 1 root wheel 0 Oct 13 13:13 bash-2.05# rm bash-2.05# ls -ld ls:: No such file or directory Rus -- http://www.fsck.me.uk - My blog http://shells.fsck.me.uk - Hosting how you want it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Slightly OT: How to remove an odd file...
Brian McCann wrote: No go...here's the listing for the file...here's what happens... -rwsr-sr-x1 root root64924 Sep 2 15:24 rm rm: remove write-protected file ` '? y rm: cannot unlink ` ': Operation not permitted Any other ideas? I assume you did this as root/sudo? Strange that it's setuid . . . . -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ http://paulbeard.no-ip.org/movabletype/ With a rubber duck, one's never alone. -- The Hitchhiker's Guide to the Galaxy To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Slightly OT: How to remove an odd file...
On Sun, Oct 13, 2002 at 09:00:19AM -0700, paul wrote: Brian McCann wrote: No go...here's the listing for the file...here's what happens... -rwsr-sr-x1 root root64924 Sep 2 15:24 rm rm: remove write-protected file ` '? y rm: cannot unlink ` ': Operation not permitted Any other ideas? I assume you did this as root/sudo? Strange that it's setuid . . . . Yes, I would be extremely suspicious of where that setuid/setgid nearly invisible file came from if I were you. Ceri -- you can't see when light's so strong you can't see when light is gone To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Slightly OT: How to remove an odd file...
On October 13, 2002 09:00 am, paul wrote: Brian McCann wrote: No go...here's the listing for the file...here's what happens... -rwsr-sr-x1 root root64924 Sep 2 15:24 rm rm: remove write-protected file ` '? y rm: cannot unlink ` ': Operation not permitted Any other ideas? I assume you did this as root/sudo? Strange that it's setuid . . . . http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-trouble.html Is the immutable flag set as root, try chflags noschg then delete -- Joe - We have been silent witnesses of evil deeds... Will our inward power of resistance be strong enough for us to find our way back? - Dietrich Bonhoeffer To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Slightly OT: How to remove an odd file...
Yea...did it logged on directly as root. I think what happened is someone hacked the box via anon. FTP and made this program as a back door of some kind. :-/ I was able to 'chmod +w ' it, no errors there...but it yells when I try to rm it. --Brian McCann -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of paul Sent: Sunday, October 13, 2002 12:00 PM To: [EMAIL PROTECTED] Subject: Re: Slightly OT: How to remove an odd file... Brian McCann wrote: No go...here's the listing for the file...here's what happens... -rwsr-sr-x1 root root64924 Sep 2 15:24 rm rm: remove write-protected file ` '? y rm: cannot unlink ` ': Operation not permitted Any other ideas? I assume you did this as root/sudo? Strange that it's setuid . . . . -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ http://paulbeard.no-ip.org/movabletype/ With a rubber duck, one's never alone. -- The Hitchhiker's Guide to the Galaxy To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: NIC problem?
Vincent Chen [EMAIL PROTECTED] writes: I have a DE-220 10M NIC connect to a server with realtek 8139 NIC using cross over cable. The transfer speed usually over 500K bytes. Recently, the server crashed and I have to connect this DE-220 NIC to another server with Intel 82559 NIC using the same cross over cable. After that, the transfer is terrible. Usually below 10K bytes.I see a lot of collision in 'netstat -in' command on intel side but nothing unusual on DE-220 side. Is there any thing I can do to solve this problem? You almost certainly have a duplex mismatch. Get the two sides to agree on the duplex setting, and they should run up close to wire speed. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Because of NAT?
On Sun, Oct 13, 2002 at 04:23:59PM +0200, Janine C.Buorditez wrote: Hi. My network is like this: Name: Cisco 677i-DIR (ADSL-router/modem) IP: 217.13.29.51 | v Name: Ninja (FreeBSD) IP: 192.168.187.1 | v Name: Aegis (FreeBSD) IP: 192.168.187.2 The Cisco router runs CBOS and apparently NAT. I have forwarded these ports to Ninja. The address 10.0.0.2 (somehow it has to be that address) goes to Ninja's lnc0. no, the address does not have to be 10.0.0.2, it should be the address of whichever machine on this inside you want the packets forwarded to. what is the inside-address on your 677? possibly the router will not let you forward to a address on a different network than one of it's inside addresses? set nat entry add 10.0.0.2 22 0.0.0.0 22 tcp set nat entry add 10.0.0.2 25 0.0.0.0 25 tcp set nat entry add 10.0.0.2 80 0.0.0.0 80 tcp set nat entry add 10.0.0.2 53 0.0.0.0 53 tcp set nat entry add 10.0.0.2 113 0.0.0.0 113 tcp set nat entry add 10.0.0.2 1024-5000 0.0.0.0 1024-5000 tcp set nat entry add 10.0.0.2 31337 0.0.0.0 31337 tcp why are you opening up ports 53 and 1024-5000? unless you have specific processes listening on port within those ranges you probably shouldn't open them. This should cover most things, shouldn't it? However I'm concerned the use of NAT on my router and boxes has stirred shit up. For instance, I can only connect to my OpenFTPD (on 31337) site locally. Connecting remotely gives me: right, your NAT entry is pointing to some non-existant host at 10.0.0.2. it should be pointing to one of the boxes with a 192.168.187.x address - the one with FTPD running. which, by the way, bring up the issue that are not forwarding FTP - port 21 - anywhere. certainly nothing will get through with this setup. lftp [EMAIL PROTECTED]:~ ls Connecting to ninja.terrabionic.com (217.13.29.51) port 31337 Socket error (Connection timed out) - reconnecting Also I've been hearing people not getting ident requests from me. This can not be a BIND issue can it? I find it odd why my hostname sometimes doesn't resolve on EFNet, but on all the other networks I'm on. NAT, it seems, has really made networking a lot harder for me than what I deserve. I hope somebody understands my situation and are able to give useful replies. no, NAT(or PAT in this case) is your friend. it saves you money, and it adds a certain level of security. sounds like you need to read up more on CBOS and NAT/PAT. This guy has some useful instructions on setting up your Cisco. I think he's talking about a 675 or 678, but it will probably still apply to you case: http://www.users.qwest.net/~rlutton/ADSL/ Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Avoiding fsck at boot time
On Sun, 13 Oct 2002, Rus Foster wrote: Hi, I've got some unstable hardware ATM and whilst I'm trying to track it down I would like to minimize downtime. I've enabled soft updates on all but the rootfs as I thought this would do it. Can anyone point me in the right direction? Try setting fsck_y_enable=YES in your /etc/rc.conf Hope this helps. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
kernel panic after updating to 4.7-stable
Hello list Today I cvsupped my source tree and made the upgrade procedure. cd /usr/src make buildworld make buildkernel make installkernel make installworld mergemaster reboot I was not able to boot with the new kernel due to kernel panic, so I booted with the old kernel. Attached is the output of dmesg for the new kernel. Please help as this is my gateway/firewall. Thanks in advance. Copyright (c) 1992-2002 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.7-STABLE #0: Sun Oct 13 17:21:33 EEST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CYBERZONE Timecounter i8254 frequency 1193182 Hz CPU: Pentium/P55C (166.19-MHz 586-class CPU) Origin = GenuineIntel Id = 0x544 Stepping = 4 Features=0x8001bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX real memory = 33554432 (32768K bytes) config di sn0 config di lnc0 config di ie0 config di fe0 config di cs0 config di bt0 config di aic0 config di aha0 config di adv0 config q avail memory = 27926528 (27272K bytes) Preloaded elf kernel kernel at 0xc04c1000. Preloaded userconfig_script /boot/kernel.conf at 0xc04c109c. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 isab0: Intel 82371SB PCI to ISA bridge at device 1.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel PIIX3 ATA controller port 0xffa0-0xffaf at device 1.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: Intel 82371SB (PIIX3) USB controller port 0x4020-0x403f irq 15 at devic e 1.2 on pci0 usb0: Intel 82371SB (PIIX3) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ed0: NE2000 PCI Ethernet (RealTek 8029) port 0x4000-0x401f irq 11 at device 6. 0 on pci0 ed0: address 00:00:21:ca:a1:66, type NE2000 (16 bit) pci0: S3 Trio graphics accelerator at 8.0 orm0: Option ROM at iomem 0xc-0xc7fff on isa0 ep0: 3Com 3C509-TP EtherLink III at port 0x300-0x30f irq 10 on isa0 ep0: Ethernet address 00:a0:24:c4:b2:7b fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console 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 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: cannot reserve I/O port range DUMMYNET initialized (011031) IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default ad0: 2441MB IBM-DAQA-32700 [4960/16/63] at ata0-master WDMA2 Mounting root from ufs:/dev/ad0s1a panic: relpbuf(): b_vp was probably reassignbuf()d 0xc17f6098 4100200 syncing disks... done Uptime: 0s Automatic reboot in 15 seconds - press a key on the console to abort
Re: 4.7 pcibus.c compile error
On 2002-10-10 18:49, Mega Tr0n [EMAIL PROTECTED] wrote: I cvsuped this morning when i heard that 4.7 went gold, but had a compile error in the pcibus.c i386/isa/pcibus.c /usr/src/sys/i386/isa/pcibus.c: In function `nexus_pcib_is_host_bridge': /usr/src/sys/i386/isa/pcibus.c:218: syntax error before `case' *** Error code 1 As others have pointed out, you'll get the fixed version by CVSup'ing again. I just wanted to add that the safest way to get the source tree version as an exact copy of the X.Y-RELEASE tree you can always use the RELENG_X_Y_0_RELEASE tag in your supfiles. For this instance, the tree of 4.7-RELEASE can be downloaded by using the tag: RELENG_4_7_0_RELEASE The kernel that goes to the release CD-ROMs has been tested and verified to be working, and you will find that it's certainly worth the time to do a buildworld/buildkernel cycle with the proper release tag. Then, you can cvsup and build later -STABLE versions, but you will at least have a nice and working kernel and userland from a well-known and working version of the sources. -- [EMAIL PROTECTED] FreeBSD: The Power to Serve FreeBSD 5.0-CURRENT #12: Thu Oct 10 21:08:38 EEST 2002 msg04936/pgp0.pgp Description: PGP signature
Re: Is there any way that i can listening ,accepting and handeling two or more sockets at the same time?
On 2002-10-10 22:49, alireza mahini [EMAIL PROTECTED] wrote: I want to accepting and handle (sending to and receiving from) two sockets (STREAM socket) at the same time please guide me and send me a sample code written in c++ about this title for me. Thanks for your attention. If you can get your hands on a copy of UNIX Network Programming by Richard W. Stevens, you will certainly find many examples of source code that will help. Borrow it, buy it, get to read it in one way or another. It's not the only book you can read about networking with UNIX, and it contains examples in C (not C++), but it will help a lot. -- [EMAIL PROTECTED] FreeBSD: The Power to Serve FreeBSD 5.0-CURRENT #12: Thu Oct 10 21:08:38 EEST 2002 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ask about time
On Sun, Oct 13, 2002 at 03:27:51PM +0100, agustian daili wrote: Dear Sir, I want to ask about how we change UTC time in FreeBSD to some kind date that we can read more clearly. I hope you can give me some information about that. sincerely Run tzsetup(8) and choose a timezone that suits where you're living. -- Jonathan Chen [EMAIL PROTECTED] -- If you wish your merit to be known, acknowledge that of other people To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
HEADS UP: Re: Ifconfig config of gif tunnels
Hi, On Sun, 13 Oct 2002 16:36:16 +0100 chris scott [EMAIL PROTECTED] said: c.scott I've just cvsed up and made world to freebsd 4.7 stable, without a hitch. c.scott However when I rebooted my machine the vpn tunnel which it was running c.scott wouldnt come back up. After a while of checking configs and poking around I c.scott found it was because the gif interfaces were cinfigured and not up. A simple c.scott ifconfig gif0 up fixed this. I have never had to do this before as when I c.scott have created gif interfaces the device was automatically up, this doesnt c.scott seem to be the case anymore. Is this a new feature or a bug? Doing up gif device automatically was a bug, and it was corrected. /etc/rc.network was changed to do up gif tunnel during setup. Please don't forget to do mergemaster. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan [EMAIL PROTECTED] [EMAIL PROTECTED] ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I and where to learn how?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (10.13.2002 @ 1052 PST): bowen said, in 1.4K: 1_) I'd like to use my FreeBSD 4.7 to act as the home to 3 windows machines my documents folder. /usr/ports/net/samba 2_) I'd like to use it for my WWW server /usr/ports/www/apache13 3_) I'd like to use it for my FTP server lukemftpd comes with freebsd. it's great. you can enable it through inetd. 4_) I have 1 fat32 drive that I want to use for the windows machines my documents folders? So how do I mount them in say /home dir? And then use Samba to share those? And can I set permissions and ownership of each sub directory within the /home/backup mount?? mount_msdos -l /dev/ad2s1 /home, or whatever drive it is. 5_) I have one UFS? Default Freebsd drive mounted in /home/www for the web server. Just wondering if that's a good place to have it or should I mount it somewhere else? yes, UFS. that place is perfectly find for your web root. - -Adam - -- Oh good, my dog found the chainsaw. -Lilo, Lilo Stitch Adam Weinberger [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9qdXwo8KM2ULHQ/0RAuUqAKC+r1Ipj8scXdXaRvWSXWypDlv5dQCdF3pm 3NZ+qnJdAD3CsdyUXui4Fw4= =IuQQ -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kernel panic after updating to 4.7-stable
Martin Tsanov wrote: Martin Tsanov wrote: Hello list Today I cvsupped my source tree and made the upgrade procedure. cd /usr/src make buildworld make buildkernel make installkernel make installworld mergemaster reboot I was not able to boot with the new kernel due to kernel panic, so I booted with the old kernel. Attached is the output of dmesg for the new kernel. Please help as this is my gateway/firewall. There was a patch to .../src/sys/kern/vfs_subr.c that fixed a panic. If you are following 4.x-stable, you should be following freebsd-stable. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html Where can I find this patch? And how to apply it? I still consider myself a newbie. Till now, I was very happy with my FreeBSD box. I began using it at 4.5-Release and updated several times without any problems. I do follow stable, but suddenly, without no apparent reason I stopped receiving the messages at 30 september. You can see what they changed at http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/vfs_subr.c.diff?r1=1.249.2.28r2=1.249.2.29f=h It is pretty simple and gives you the full path into your local /usr/src/ directory. If you only change the line with the problem, you can rebuild and install your kernel. Technically, if you recvsup, you are supposed to rebuild everything. As to your subscription, send which to the majordomo. It will tell you if you are still subscribed. If you aren't currently subscribed, you need to re-subscribe. There were a number of people that were causing email bounces because of problems with their mail-boxes. Their subscriptions get deleted fairly quickly when this happens. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [getting FreeBSD on CD]
In an older episode (Sunday 13 October 2002 17:54), Nathan Kinkade wrote: Tell me please, how can i get newest freebsd version on cd? at www.bsdcentral.com BSD Central CD-ROMs BSD Distributions you will find 1 CD releases for $ 2.95, right now they only have 4.6 there now tho, so apparently you have to wait a little ... regards, wolfgang To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: booteasy mbr
On 2002-10-11 23:41, Hillery [EMAIL PROTECTED] wrote: Somewhere on the site or in those books I found a blurb on how to modify the text that spits out F1 DOS F2 BSD lines in pre-boot (before BTX takes over -- so boot) or boot1?) That's boot0. You can modify the labels that are printed by editing the source code of /boot/boot0 in /usr/src/sys/boot/i386/boot0/boot0.s and adding your own labels. This is not a trivial thing to do though, and you should definitely get acquainted with booting from another medium (like, an installation CDROM) and save backup copies of your partition tables, before messing around with boot0. Look near lines 359-400 in /usr/src/sys/boot/i386/boot0/boot0.s for the place where the valid partition types and their labels are defined: 359 tables: 360 # 361 # These entries identify invalid or NON BOOT types and partitions. 362 # ... 386 # 387 # And here are the strings themselves. 0x80 or'd into a byte indicates 388 # the end of the string. (not so great for Russians but...) 389 # 390 os_misc:.ascii ?;.byte '?'|0x80 391 os_dos: .ascii DO; .byte 'S'|0x80 392 os_unix:.ascii UNI; .byte 'X'|0x80 393 os_linux: .ascii Linu; .byte 'x'|0x80 394 os_freebsd: .ascii Free 395 os_bsd: .ascii BS; .byte 'D'|0x80 -- [EMAIL PROTECTED] FreeBSD: The Power to Serve FreeBSD 5.0-CURRENT #12: Thu Oct 10 21:08:38 EEST 2002 msg04947/pgp0.pgp Description: PGP signature
RE: what's wrong with PAM ?
I had a problem similar to this when I upgrade to 4.7. I fixed it by running mergemaster and overwriting the pam.conf file in /etc, as there were variations between the new file and the old file. Hope this helps. -Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Èëüÿ Øèïèöèí Sent: Sunday, October 13, 2002 6:30 AM To: [EMAIL PROTECTED] Subject: what's wrong with PAM ? Dear Sirs, I used to use pam_kerberosIV, but after I upgraded to 4.7RC it stopped working. I tried to install security/pam_krb5, it's not working either! Oct 13 16:27:48 apollo sshd[24967]: unable to dlopen(/usr/lib/pam_krb5) Oct 13 16:27:48 apollo sshd[24967]: [dlerror: Cannot open /usr/lib/pam_krb5] Oct 13 16:27:48 apollo sshd[24967]: adding faulty module: /usr/lib/pam_krb5 how can I get pam working again ??? Regards, (Наилучшие пожелания) Ilia Chipitsine (Илья Шипицин) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I and where to learn how?
On Sun, 13 Oct 2002, DaleCo, S.P.---'the solutions people' wrote: Good question. FBSD can read NTFS, I think, but I don't think it speaks FAT. (I could be wrong here.) I've never tried mounting a Windoze HDD in a FBSD box, can't think of why I'd want to See: man mount_msdos Useful for dual-boot situations where you want to read data files on other partitions. And other things too, of course. I can't see why the OP would use it in that situation, and can think of good reasons *not* to use it. FFS is native to FreeBSD and is less likely to get screwed up than FAT even if FAT were native. I've not benchmarked it, but I'll bet FFS is faster as well. Through Samba or FTP, the clients won't know the difference. -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: problems with make
On 2002-10-12 18:15, [EMAIL PROTECTED] wrote: On 12-Oct-2002 Cliff Sarginson wrote: Just out of curiosity why are you trying to install a port then immediately de-install it ? Hi, no, no, what I mean is that when I pass any of these option to 'make' my FreeBSD answer with 'Missing }.' What is the output of this? # which make -- [EMAIL PROTECTED] FreeBSD: The Power to Serve FreeBSD 5.0-CURRENT #12: Thu Oct 10 21:08:38 EEST 2002 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Slightly OT: How to remove an odd file...
On Sun, Oct 13, 2002 at 12:08:29PM -0400, Brian McCann wrote: Yea...did it logged on directly as root. I think what happened is someone hacked the box via anon. FTP and made this program as a back door of some kind. :-/ I was able to 'chmod +w ' it, no errors there...but it yells when I try to rm it. If you know the inode number (which I seem to recall you do, from the start of this thread), and if the version of find on RedHat supports the same sort of options as FreeBSD's find, you might try this: # find . -inum inode -ok rm -f {} \; You may need to tweak it, I haven't been near RedHat for well over two years, so don't remember the niceties of any of its tools. HTH, Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Multiboot questions
10/13/2002 6:03:55 AM, wolfgang [EMAIL PROTECTED] wrote: i have a computer with 3 OS's on it: win98 on ad0s1, freebsd 4.7 on ad0s3 and linux on ad2s2. ad2 is too big to be handled correctly by the bios, so there is a disk manager installed to the master boot record of ad0. Arrgh. Disk managers (a/k/a disk manglers for good reason) tend to really screw things up IMO. Do I assume correctly that there is no updated BIOS available that would see all of ad2? i boot linux via windows' config.sys and loadlin.exe without problems. i tried to do the same with fbsdboot.exe with freebsd, but that doesnt seem to work, You're correct. That won't work. so i now use a floppy with the uniload boot loader from http://www.simon.org.ua/uniload/ to boot freebsd. each time freebsd has run, the freebsd slice ad0s3 is set active, but freebsd won't boot from it: Error loading OS. 1. can i change that so that the freebsd slice is fully bootable? maybe by installing grub to that slice? i would prefer that solution since i could then use grub also to be able to boot the other OS's. 2. is there a way to boot freebsd from DOS, how exactly would i use fbsdboot.exe? regards, wolfgang The FreeBSD boot loader (booteasy) will allow you to boot FreeBSD, Win98, and Linux. If you'd like to use it, just install it on both hard drives, using a FreeBSD boot floppy or CD-ROM to boot into FreeBSD, then install booteasy from the /stand/sysinstall menu or boot0cfg. Or you can install grub if that's your preference - it should work nicely to boot all 3 OSs. Read the grub documentation *carefully* to see how to set up your system to do this. To summarize: You can install the FreeBSD boot loader, or grub from FreeBSD or Linux, to do what you want. The only methods that *won't* work are the Win98 and DOS-based methods you've tried or asked about. Proviso: If neither booteasy nor grub works, it could be a problem caused by the disk mangler. Jud To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how do I ftp a large file ?
On Sun, Oct 13, 2002 at 02:15:23AM -0700, Firsto Lasto wrote: I have a 2gig file and a 6gig file on a linux system, and I am trying to move them to a freebsd machine. I have tried both scp and ftp and in both cases I get: File too large So, how should I transfer large files between unix systems ? This sounds like a job for split(1)... Dunno if your Linux distro offers a split command, but if so use that to break the file into little pieces, transfer them to the other host then use cat(1) to join the bits together again. HTH Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
subscribe
subscribe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: fm radio tuner
On Tue, 8 Oct 2002 10:24:04 -0400 Jeff MacDonald [EMAIL PROTECTED] wrote: Hi, What brand of fm radio tune would you folks recommend for FreeBSD? my radio died :) I have no need for a tv tuner, and the machine i'm putting it in does not run X. Also some software suggestions to run it. Jeff, I use a Hauppage WinTV card with an FM tuner. I believe you can still find just the FM tuner cards. The software I use is xmradio from the ports collection. Trevor To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how do I ftp a large file ?
On Sun Oct 13, 2002; 06:21PM -0700 Firsto Lasto propagated the following: Hi, I think this message was caught in a mail loop from ... 1996 or something, because what it says is you have not tested your ftp software with files larger than 4gigs. Obviously this is some joke or something, since these days a 4gig file is not rare or exceptional or interesting in any way. Can someone answer this question with recent info ? Again, I can see how back in the days of 4.3BSD and SunOS 4 that there would be file size limits like that, but obviously they would not exist in this modern day and age. The FTP spec may honestly have limits for file size. I don't know. You could of course try using NFS or the ghetto netcat method(tm), which is: recvhost$ nc -l -p 12345 thefile sendhost$ nc recvhost 12345 thefile ^C (You need to ^C out of netcat once the file has finished transferring (check the ls output)) This can actually be faster than doing an ftp. ;) (netcat is available in /usr/ports/net/netcat) thanks! Good luck! -wd -- chip norkus; unix geek and programmer; [EMAIL PROTECTED] question = (to) ? be : !be; --Shakespeare http://telekinesis.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how to kill nfs-blocked process
thanks for your reply.i'm sorry,this doesn't work for me,the problem is still in. this time i do the same experiment as before except using: mount_nfs -i -R 1 -s 10.0.0.1:/home /usr/home the process blocked by nfs cann't return or be interrupted,and i also can't kill it. i tried in freebsd 4.5 and 4.6 is it works for FreeBSD 4.7-RC? any sugguestions else? thanks again. From: Roman Neuhauser [EMAIL PROTECTED] To: Bill Moran [EMAIL PROTECTED] CC: cool46 cool46 [EMAIL PROTECTED],questions [EMAIL PROTECTED] Subject: Re: how to kill nfs-blocked process Date: Fri, 11 Oct 2002 15:50:39 +0200 # [EMAIL PROTECTED] / 2002-10-11 09:39:38 -0400: cool46 cool46 wrote: thanks for your reply,but it is not work for me.i tried to mount nfs with options -i,-R,but the problem is as before.The details of my test is as follows: my nfs server(IP:10.0.0.1) is a RedHat 7.3 with kernel of 2.4.19 version,my nfs client(IP:10.0.0.2) is freebsd 4.5 10.0.0.2: mount_nfs -i -R 1 10.0.0.1:/home /usr/home cp a_big_file /usr/home in the course of doing this,i disabled network between these two machine by using iptables in 10.0.0.1 /sbin/iptables -I INPUT -p udp -s 10.0.0.2 -j DROP so the process 'cp' in 10.0.0.2 is blocked,I can't kill or interrupt it in any way.According to mount_nfs's manual ,it should failed and return in a few minutes because i set -R equal to 1,but the fact is not. Could you help me? thanks agains.i'm a chinese and glad to make friends with you. That should be the solution. I'm not an NFS expert so you may want to consult with some others as well. (I've put this email back on the mailing list) -i Make the mount interruptible, which implies that file system calls that are delayed due to an unresponsive server will fail with EINTR when a termination signal is posted for the process. the above makes it look like you should be able to kill the process with your settings. but see below. -R Set the mount retry count to the specified value. The default is a retry count of zero, which means to keep retrying forever. There is a 60 second delay between each attempt. this is probably what you're missing. works for me. -s A soft mount, which implies that file system calls will fail after Retry round trip timeout intervals. -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 3:46PM up 3:02, 7 users, load averages: 1.37, 1.12, 0.68 end _ ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.microsoft.com/cn To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
CheckUPS software for FreeBSD?
Would appreciate knowing if someone's managed to port Best Power's CheckUPS II Advanced Client to FreeBSD yet. Currently, Powerware only provide ports for their CheckUPS II Advanced suite to run on other Unix/BSD OS's. I searched www.FreeBSD.org/Ports with no luck. A search of the mailing list archives proved more fruitful though - it seems there were attempts to port the client but the correspondense was meager and quite dated so I gather the Client hasn't been ported successfully yet. My primary servers (NT machines) are all powered by the same SOLA UPS and have been served well by the CheckUPS Advanced Suite (for WinNT/2000). One server, connected directly to the UPS' serial port, runs the CheckUPS server, whilst the others run CheckUPS client which communicate with the CheckUPS server via the network. Just lately I've decided to add a test FreeBSD server (which I'm hoping will become permanent) hence the need to port the CheckUPS client. I know FreeBSD has ports like NUT - Network Ups Tools (/usr/ports/sysutils/nut) which has also been ported to NT, but (as mentioned earlier) our servers are currently working OK with the CheckUPS Advanced suite, so I 'dont want to fix them !' :^) Powerware were kind enough to e-mail me the source code for the suite (v3.25) and I tried to compile the Client from that (source files; checkups.c and upsterm.c). Doing so resulted in several errors, a sample of which is shown below; checkups.c:2207: storage size of `ttyctl' isn't known checkups.c:2288: `TCSETA' undeclared (first use in this function) checkups.c:2288: (Each undeclared identifier is reported only once checkups.c:2288: for each function it appears in.) upsterm.c:223: invalid use of undefined type `struct termio' upsterm.c:242: `TCSETA' undeclared (first use in this function) upsterm.c:324: `TCGETA' undeclared (first use in this function) upsterm.c:330: `ttynew' has an incomplete type upsterm.c:52: storage size of `ttyctl' isn't known This leaves me with 2 options now; 1. Edit the source code. I'm new (but fascinated) with C and a newcomer to the FreeBSD environment as well but I'm willing have crack at it! So any clues as to why I'm getting these errors would be much appreciated. eg: Are TCSETA and TCGETA I/O calls? If so, what are the FreeBSD equivalents? Where can I find info on these FreeBSD specific details @ FreeBSD.org ? etc. 2. Wait for some kind soul ;^) to send me a port that works. Thanks BTW: I'm running FreeBSD 4.6.2 Release but will be upgrading to 4.7 Release soon. __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Goofed on installing 2nd hard drive
To start - I am a total newbie to FreeBSD. I'm using version 4.7 I installed a 2nd hard drive using the sysinstall, as directed by the FreeBSD Handbook. I then added a line to the /etc/fstab, again as directed. I apparently messed up when I added that line. Now, upon booting, I am told THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY /dev/ad1s1e (/mnt) After that, I hit enter to load the shell from /bin/sh. At that point, I don't even get a log-on prompt. I can ls the directories and move around to some extent, but I can't figure out how to edit /etc/fstab to remove the line that I shouldn't have put in. Any help would be appreciated. Thanks, Tony To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: swap_pager: out of swap space
At 11:05 PM 10.13.2002 -0400, Marlon Pabilona wrote: Sir, After a year having without problem, our freebsd machine experienced a hang problem and found the message out of swap space in /var/log/messages. Our proxy server has a 1G of mem and 128MB swap space. What are the common cause of the problem ? Do you think it is related to a smaller swap space allocated ? Thank you for your time. Oct 14 04:11:08 proxy23 /kernel: swap_pager: out of swap space Oct 14 04:11:08 proxy23 /kernel: swap_pager_getswapspace: failed Although this will be debated by other opinions, it is recommended that a swap be set up at 2X your physical memory -- or 2G in your case -- versus only 128MB which sounds low in any case Check the handbook on this section on setting up swap and also about adding more. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: trouble mounting floppy
At 08:28 PM 10.13.2002 -0700, Wayne Lubin wrote: So I guess my question is what does it mean that /dev/fd0 is not configured and how can I get it configured so that I can start mounting it again. Thanks. --- Wayne Lubin [EMAIL PROTECTED] wrote: Hi, I have been mounting my floppy drive for a long time. However, now when I do a mount -t msdos /dev/fd0 /mnt/floppy it gives me the error msg mount: /dev/fd0: Device not configured It may have to do with the fact that the last time I mounted the floppy I turned off the computer without umount ing it. Thanks for you help. Wayne I see no one else has taken a shot at this, so: 1) do you have a directory /mnt/floppy 2) do you have the device fd0 in /dev for starters. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Goofed on installing 2nd hard drive
At 08:40 PM 10.13.2002 -0700, Tony M. wrote: To start - I am a total newbie to FreeBSD. I'm using version 4.7 I installed a 2nd hard drive using the sysinstall, as directed by the FreeBSD Handbook. I then added a line to the /etc/fstab, again as directed. I apparently messed up when I added that line. Now, upon booting, I am told THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY /dev/ad1s1e (/mnt) After that, I hit enter to load the shell from /bin/sh. At that point, I don't even get a log-on prompt. I can ls the directories and move around to some extent, but I can't figure out how to edit /etc/fstab to remove the line that I shouldn't have put in. Any help would be appreciated. Thanks, Tony When you load /bin/sh, then: mount -u / mount -a -t ufs #it may gripe about the bad fstab line, but ignore it Then go to /etc/fstab and edit the file Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: trouble mounting floppy
--- Jack L. Stone [EMAIL PROTECTED] wrote: At 08:28 PM 10.13.2002 -0700, Wayne Lubin wrote: So I guess my question is what does it mean that /dev/fd0 is not configured and how can I get it configured so that I can start mounting it again. Thanks. --- Wayne Lubin [EMAIL PROTECTED] wrote: Hi, I have been mounting my floppy drive for a long time. However, now when I do a mount -t msdos /dev/fd0 /mnt/floppy it gives me the error msg mount: /dev/fd0: Device not configured It may have to do with the fact that the last time I mounted the floppy I turned off the computer without umount ing it. Thanks for you help. Wayne I see no one else has taken a shot at this, so: 1) do you have a directory /mnt/floppy 2) do you have the device fd0 in /dev for starters. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] 1) yes I have a directory /mnt/floppy 2) yes I have the device fd0 come on I am not that stupid haha :) So what do you think? Thanks for helping. Wayne __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how do I ftp a large file ?
Thus spake Firsto Lasto ([EMAIL PROTECTED]): Ok, well I guess a: I'll make a conscious effort to arbitrarily limit functionality just because I don't need it is one way to approach things. Far from being arbitrary, I think you'll find that it has a lot to do with data type sizes in the language the server was written in. Nick -- We demand rigidly defined areas of doubt and uncertainty. -- Douglas Adams To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how do I ftp a large file ?
In the last episode (Oct 13), Firsto Lasto said: Ok, well I guess a: I'll make a conscious effort to arbitrarily limit functionality just because I don't need it is one way to approach things. the wrong way, of course:) We ftp files up to 10gb between OSes here with no problems at all. Chances are you have an old FTP binary on your Linux box that was not explicitly compiled to accept files over 2gb. Linux defaults to using a 32-bit interface unless told otherwise. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Linking applications to /usr/local/bin/
Why does linking an application such as java/javac to the /usr/local/bin/ directory make the java and javac commands global? Whereas 'kmail' is not in there, but if I type it Kmail will launch anyways. Anything specific I should read? ~ Matthew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Linking applications to /usr/local/bin/
Matthew, Why does linking an application such as java/javac to the /usr/local/bin/ directory make the java and javac commands global? Whereas 'kmail' is not in there, but if I type it Kmail will launch anyways. Do a which kmail. You probably need to read about how FreeBSD (and Linux and DOS for that matter) work out where commands should be looked for if you just type commmand_foo. Look for discussions about PATH and the PATH variables. DSL -- The Linux C Programming Lists: * http://lists.linux.org.au/listinfo/linuxcprogramming/ The Linux C++ Programming Lists: * http://lists.linux.org.au/listinfo/tuxcpprogramming/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kernel panic after updating to 4.7-stable
- Original Message - From: Kent Stewart [EMAIL PROTECTED] To: Martin Tsanov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 13, 2002 9:34 PM Subject: Re: kernel panic after updating to 4.7-stable Martin Tsanov wrote: Martin Tsanov wrote: Hello list Today I cvsupped my source tree and made the upgrade procedure. cd /usr/src make buildworld make buildkernel make installkernel make installworld mergemaster reboot I was not able to boot with the new kernel due to kernel panic, so I booted with the old kernel. Attached is the output of dmesg for the new kernel. Please help as this is my gateway/firewall. There was a patch to .../src/sys/kern/vfs_subr.c that fixed a panic. If you are following 4.x-stable, you should be following freebsd-stable. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html Where can I find this patch? And how to apply it? I still consider myself a newbie. Till now, I was very happy with my FreeBSD box. I began using it at 4.5-Release and updated several times without any problems. I do follow stable, but suddenly, without no apparent reason I stopped receiving the messages at 30 september. You can see what they changed at http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/vfs_subr.c.diff?r1= 1.249.2.28r2=1.249.2.29f=h It is pretty simple and gives you the full path into your local /usr/src/ directory. If you only change the line with the problem, you can rebuild and install your kernel. Technically, if you recvsup, you are supposed to rebuild everything. As to your subscription, send which to the majordomo. It will tell you if you are still subscribed. If you aren't currently subscribed, you need to re-subscribe. There were a number of people that were causing email bounces because of problems with their mail-boxes. Their subscriptions get deleted fairly quickly when this happens. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Thank you for your reply. I saw the patch and applied it, then rebuilt the kernel. But now I received an error 1 in the same file and the kernel did not build. I'm now cvsupping again and will rebuild world. If anything again goes wrong, I will go and cvsup for RELENG_4_7_0_RELEASE, as Keramidas suggested to another user. Thanks for the help once again. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message