Dying disk?
Hey *, I can't quite figure out if this is a dire warning. I hope not since I can't convince my hard drives to stop failing ... sigh. The machine still works fine and has no data worth worrying about, but it'd be nice to know ... From dmesg: acd0: FAILURE - READ_BIG status=51READY,DSC,ERROR sensekey=ILLEGAL REQUEST error=0 acd0: FAILURE - READ_BIG status=51READY,DSC,ERROR sensekey=ILLEGAL REQUEST error=0 acd0: FAILURE - READ_BIG status=51READY,DSC,ERROR sensekey=ILLEGAL REQUEST error=0 acd0: FAILURE - READ_BIG status=51READY,DSC,ERROR sensekey=ILLEGAL REQUEST error=0 acd0: FAILURE - READ_BIG status=51READY,DSC,ERROR sensekey=ILLEGAL REQUEST error=0 acd0: FAILURE - READ_BIG status=51READY,DSC,ERROR sensekey=ILLEGAL REQUEST error=0 Mounting root from ufs:/dev/ad0s1a = --- With a few exceptions, secrecy is deeply incompatible with democracy and with science. --Carl Sagan --- __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. 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: Dying disk?
Wow I feel like a moron. I'll check the jumper settings on my *cdrom*. Thnx for the boot to the head. --- Bill Moran [EMAIL PROTECTED] wrote: twig les [EMAIL PROTECTED] wrote: Hey *, I can't quite figure out if this is a dire warning. I hope not since I can't convince my hard drives to stop failing ... sigh. The machine still works fine and has no data worth worrying about, but it'd be nice to know ... From dmesg: acd0: FAILURE - READ_BIG status=51READY,DSC,ERROR sensekey=ILLEGAL REQUEST error=0 acd0: FAILURE - READ_BIG status=51READY,DSC,ERROR sensekey=ILLEGAL REQUEST error=0 acd0: FAILURE - READ_BIG status=51READY,DSC,ERROR sensekey=ILLEGAL REQUEST error=0 acd0: FAILURE - READ_BIG status=51READY,DSC,ERROR sensekey=ILLEGAL REQUEST error=0 acd0: FAILURE - READ_BIG status=51READY,DSC,ERROR sensekey=ILLEGAL REQUEST error=0 acd0: FAILURE - READ_BIG status=51READY,DSC,ERROR sensekey=ILLEGAL REQUEST error=0 Mounting root from ufs:/dev/ad0s1a Looks like a CD-ROM is failing. Do you have the master/slave jumpers correct? -- Bill Moran Potential Technologies http://www.potentialtech.com = --- With a few exceptions, secrecy is deeply incompatible with democracy and with science. --Carl Sagan --- __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
natd high cpu use
Hey all, I just set up a 4.9based router for my home office last week and I noticed this morning that it was slow. So I logged in and threw up a top session and saw this: PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 88 root 53 0 33988K 33792K RUN427:02 94.43% 94.43% natd I then did this: gate# tcpdump -i rl1 -n not tcp port 22 tcpdump: listening on rl1 And saw almost zero traffic. I rebooted thinking natd may have run away with itself for some reason and upon reboot it came up with top taking about 16% CPU. After a whopping 2 minutes or so natd is now taking 65-95% of the cpu time again. This box is an AMD 350MHz with 256MB of old SDRAM. Not a bragload of power but it should be overkill for splitting out routing and nat services for 1-4 workstations surfing the web. This behavior was *not* present until this morning and I have added nothing. Thnx for any insight or troublshooting tips you have, I already googled and came up craps. = --- With a few exceptions, secrecy is deeply incompatible with democracy and with science. --Carl Sagan --- __ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dhcpd interface specification
twig les wrote: Hey all, I'm missing something small here. I set up isc's dhcp server to listen on one interface and it listens on both. I do exactly this by adding to /etc/rc.conf: dhcpd_enable=YES dhcpd_flags=rl1 and that works fine. When I do ps auwx | grep dhcpd, I get: root 213 [...] /usr/local/sbin/dhcpd rl1 -cf /usr/local/etc/dhcpd.conf Rob. Yes I get that output from ps also, but the question is what do you get from netstat -an? I tried your syntax, got the same output as you in ps, but netstat still shows the daemon listening on *.67. Not kosher. = --- With a few exceptions, secrecy is deeply incompatible with democracy and with science. --Carl Sagan --- __ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dhcpd interface specification
Hey all, I'm missing something small here. I set up isc's dhcp server to listen on one interface and it listens on both. gate# /usr/local/sbin/dhcpd rl1 Internet Software Consortium DHCP Server V3.0.1rc12 Copyright 1995-2003 Internet Software Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP Wrote 1 leases to leases file. Listening on BPF/rl1/00:50:ba:58:c1:0d/192.168.2.0/24 Sending on BPF/rl1/00:50:ba:58:c1:0d/192.168.2.0/24 Sending on Socket/fallback/fallback-net gate# netstat -an | grep 67 udp4 0 0 *.67 *.* I've searched online and read the man pages about 5 times and this is the only way I can find to specify the interface. I've also plugged into the subnet hanging off of rl0 (which was *not* specified) and grabbed an IP address, thus confirming that this daemon is indeed listening on all ints. = --- With a few exceptions, secrecy is deeply incompatible with democracy and with science. --Carl Sagan --- __ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCP fails while ssh works...
Hey all, I have to identical boxes running 4.6 and all of a sudden one stopped taking SCP even though it still takes ssh connections. The other box is still working fine and they are on the same subnet. The only thing I could find online about this is an MTU mismatch which makes no sense in this situation. I can bounce the sshd proc when I get someone on site since these are in a different state. The -v outputs are below, snipped for clari/brevity. Notice the bad guy's (booo, hiss hiss) inability to form a complete connection. GOOD CONNECTION: debug: SshConfig/sshconfig.c:2232/ssh2_parse_config: Unable to open /opt/home/ktokash/.ssh2/identification debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc: Method 'publickey' disabled. debug: server offers auth methods 'publickey,password,keyboard-interactive'. debug: Ssh2AuthPasswdClient/authc-passwd.c:95/ssh_client_auth_passwd: Starting password query... [EMAIL PROTECTED]'s password: debug: Ssh2Common/sshcommon.c:286/ssh_common_special: Received SSH_CROSS_AUTHENTICATED packet from connection protocol. debug: Ssh2/ssh2.c:646/client_authentication_notify: Returning user input stream to original values. scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: No connection yet. Waiting... debug: Ssh2Common/sshcommon.c:829/ssh_common_new_channel: num_channels now 1 debug: SshTtyFlags/sshttyflags.c:354/ssh_internal_encode_tty_flags: Not a tty. (fd = 0) scp:SshFCTransfer/sshfc_transfer.c:1866/transfer_rm_dest: Removing destination file ./snortrules-stable.tar.gz . scp:SshFCTransferCore/sshfc_trcore.c:125/transfer_start: Starting transfer for file snortrules-stable.tar.gz, destination ./snortrules-stable.tar.gz snortrules-stable.tar.gz | 211kB | 211.2 kB/s | TOC: 00:00:01 | 100% scp:SshFCTransfer/sshfc_transfer.c:2489/transfer_one_done: Finished with file ./snortrules-stable.tar.gz. scp:Scp2/scp2.c:706/transfer_ready_cb: Received error SSH_FC_OK, error message . scp:Scp2/scp2.c:867/scp_transfer: Transfer ready scp:ssh_pipe_stream_destroy scp:SshAppCommon/sshappcommon.c:146/ssh_app_free_global_regex_context: Freeing global SshRegex context. debug: SshConnection/sshconn.c:405/ssh_conn_send_channel_data_type: EOF from channel stream cge01% debug: SshConnection/sshconn.c:667/ssh_conn_channel_write: EOF received on write from channel 0x207570, extended stream 0. debug: Ssh2ChannelSession/sshchsession.c:1716/ssh_channel_session_request_exit_status: received exit status : 0 debug: Ssh2Common/sshcommon.c:803/ssh_common_destroy_channel: num_channels now 0 debug: Got session close with exit_status=0 debug: destroying client struct... debug: Ssh2Client/sshclient.c:1478/ssh_client_destroy: Destroying client. debug: SshConfig/sshconfig.c:537/ssh_config_pki_free: Freeing pki. (host_pki != NULL, user_pki = NULL) debug: SshConnection/sshconn.c:1982/ssh_conn_destroy: Destroying SshConn object. debug: Ssh2Client/sshclient.c:1540/ssh_client_destroy_finalize: Destroying client completed. debug: SshAuthMethodClient/sshauthmethodc.c:89/ssh_client_authentication_uninitialize: Destroying authentication method array. debug: Ssh2/ssh2.c:363/sigpipe_nonfatal_cb: Received SIGPIPE. debug: SshAppCommon/sshappcommon.c:146/ssh_app_free_global_regex_context: Freeing global SshRegex context. debug: SshConfig/sshconfig.c:537/ssh_config_pki_free: Freeing pki. (host_pki = NULL, user_pki = NULL) BAD GUY (booo, hiss hiss): debug: SshConfig/sshconfig.c:2232/ssh2_parse_config: Unable to open /opt/home/ktokash/.ssh2/identification debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc: Method 'publickey' disabled. debug: server offers auth methods 'publickey,password,keyboard-interactive'. debug: Ssh2AuthPasswdClient/authc-passwd.c:95/ssh_client_auth_passwd: Starting password query... [EMAIL PROTECTED]'s password: debug: Ssh2Common/sshcommon.c:286/ssh_common_special: Received SSH_CROSS_AUTHENTICATED packet from connection protocol. debug: Ssh2/ssh2.c:646/client_authentication_notify: Returning user input stream to original values. scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: No connection yet. Waiting... debug: Ssh2Common/sshcommon.c:829/ssh_common_new_channel: num_channels now 1 debug: SshTtyFlags/sshttyflags.c:354/ssh_internal_encode_tty_flags: Not a tty. (fd = 0) debug: Ssh2ChannelSession/sshchsession.c:2232/ssh_channel_start_session_completion2: starting session failed: result 0 scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: No connection yet. Waiting... scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: No connection yet. Waiting... scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: No connection yet. Waiting... scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: No connection yet. Waiting... scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: No connection yet.
Bind a process to a specific CPU
Can anyone point me to a man page or something on how to bind a specific process to a specific cpu? I have a couple non-multi-threaded programs to run on dual-CPU boxes and I'd like to split them up as I see fit. Thanks for anything. Keith __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
quick question about turning the annoying beep off in X
Hey all, in my /etc/csh.cshrc I have xset b off which does what I want, which is to tell X to shut up without me having to type the command in every X session. But it seems clumsy as it puts up an error xset: unable to open display when I ssh in. I fully understand that this *should* be an error because csh.cshrc is a shell init file, I just tried this in .xinitrc and it didn't work. Putting it in /usr/X11R6/bin/startx had predictably bad results. So anyone know the correct file for this command? = --- Get a taste of Religion ... eat a priest! --- __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quick question about turning the annoying beep off in X
--- Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Nov 13), twig les said: Hey all, in my /etc/csh.cshrc I have xset b off which does what I want, which is to tell X to shut up without me having to type the command in every X session. But it seems clumsy as it puts up an error xset: unable to open display when I ssh in. I fully understand that this *should* be an error because csh.cshrc is a shell init file, I just tried this in .xinitrc and it didn't work. Putting it in /usr/X11R6/bin/startx had predictably bad results. So anyone know the correct file for this command? I'm pretty sure .xinitrc is the one you want. Make sure you run the command before any session managers etc. I just tested it and it works for me. -- Dan Nelson [EMAIL PROTECTED] Magic! I never bothered to check if putting the command *before* wmaker in ~/.xinitrc would make a difference. Thnx. = --- Get a taste of Religion ... eat a priest! --- __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pccardd - no PC-CARD slots on 5.1 release
Hey all, after googling for about 5 hours and trying everything I can think of on my own I hope someone can help. I just upgraded this morning from 4.9RC1 to 5.1 release and I can't seem to find my ethernet card. Laptop: Toshiba Tecra 8100 NIC: old 3Com 3C589C Kernel: Generic plus device [tab] pcm for soundcard Tricks I have tried (not in order): Adding hw.pci.allow_unsupported_io_range=1 to /boot/loader.conf. Adding irq [tab] 10 to /etc/pccard.conf Adding device [tab] card 2 to my kernel (which made no sense to me but someone online said it worked for them) pccardc dumpcis - found 0 slots Manually forcing the IRQ of slot0 to 10 in device.hints Uncommenting the cbb, pcic, pccard and cardbus devices in varying combinations since someone in an old post had to turn one off for his card to work. The background is that this machine has run 4.4, 4.6, 4.7 and 4.9RC1 with the same card in the same slot. They worked this morning before the upgrade, so I'm pretty sure we can rule out hardware :). Yes I start pccardd in rc.conf and yes I recompile the kernel and install it before rebooting (without errors even!). I would love to include my entire dmesg since adding the device pcic actually got something loaded, but the command mount_msdosfs /dev/fd0 /mnt errors out since mount_msdosfs apparently wants a block device, not a char. Sigh, this is a painful painful day. Here are the lines that seems interesting from uncommenting pcic: pcic0 at port 0x3e0 iomem 0xd-0xd1fff irq 10 on isa0 pcic ident regs: 0x83 0x83 0xff 0xff pcic0: controller 0 (Intel 82365S Revision 1) has sockets A and B pccard0: 16-bit PCCard bus on pcic0 pccard1: 16-bit PCCard bus on pcic0 pcic0: bus_space_alloc range 0x0330-0x03ff (probed) pcic1: not probed (disabled) ... pccard1: Card has no functions! Thnx for anything and pass the bottle this way = --- Get a taste of Religion ... eat a priest! --- __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where to find pam_unix documentation?
Hey *, I'm trying to do something fairly simple. On a 4.6 Release box I would like to force all users to choose passwords over a certain length and of a certain complexity. Now before anyone jumps and says to edit /etc/login.conf, please note that I tried that and it did not work. I don't want to get into too much detail there because my req's that management handed down go beyond the stated abilities there anyway; I need PAM. So basically from the docs here: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/pam-freebsd-modules.html I gather that the module I need is pam_unix, but when I look for the man page...nothing. I've spent about an hour on google now also and found plenty of developers and admins talking about using it, but nothing resembling a man page or even a how-to. Specifically I need to enforce the use of a mix of alphanumeric and special chars, a minimum length, passwd expiration (with forewarning preferably), passwd history, and account lockouts. Note: I will gladly RTFM. Muchas thnx. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where to email regarding 4.9RC1 bugs/problems?
Hey all, I'm having stability problems after updating my laptop from 4.7 to 4.9RC1 and I'd like to know where I can send the relevant info. I've scoured the site and still can't find any specific place. None of the lists available jumped out at me as obvious. What did I miss? __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: common criteria status?
Yeah you're probably right about money going to developer time rather than certification, but being certified under the common criteria can only help the project. It doesn't seem very likely though. --- Kris Kennaway [EMAIL PROTECTED] wrote: On Tue, Aug 05, 2003 at 09:59:26AM -0700, twig les wrote: Hey *, I was just on a conference call, so naturally I was reading slashdot and saw that Linux has managed to get certified under the common criteria. http://story.news.yahoo.com/news?tmpl=storycid=569ncid=738e=1u=/nm/20030805/tc_nm/tech_ibm_linux_dc Almost no details there... I know that trustedBSD is working towards that for our beloved FreeBSD and that many enhancements have found their way into the 5.x line, but does anyone know if the team has begun the certification effort or if not when (if) they will? I know it's very expensive, one article said several hundred thousand dollars up to a few million. I don't know of any plans to throw wads of money at the certification process. IMO, it would be better spent on developer time. Kris ATTACHMENT part 2 application/pgp-signature = --- Emo is what happens when the glee club goes punk. --- __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dead hard drive I think
Hey *, A couple weeks ago I posted some error code and someone said it was probably a dying hard drive. I believe he was correct and that the drive is actively getting worse (it's in a lights-out center in another state so I wish I could poke at it but I can't). I'm hoping someone can confirm that it is the hard drive that needs to be replaced since I will have to tell management what to buy (and accounting is CHEAP) and it would really be embarrassing to have to order a second piece of hardware. Basically these are the messages I found in /var/log/messges and dmesg (da0 is the first SCSI drive). == Jul 23 10:40:31 mas02 /kernel: (da0:ahc0:0:0:0): Invalidating pack Jul 23 10:41:01 mas02 last message repeated 454274 times Jul 23 10:41:27 mas02 last message repeated 383695 times Jul 23 10:41:28 mas02 /kernel: (da0:ahc0:0:0:0): SCB 0x2a - timed out Jul 23 10:41:28 mas02 /kernel: ahc0: Dumping Card State while idle, at SEQADDR 0x8 Jul 23 10:41:28 mas02 /kernel: ACCUM = 0x0, SINDEX = 0x38, DINDEX = 0xe4, ARG_2 = 0x0 Jul 23 10:41:28 mas02 /kernel: HCNT = 0x0 SCBPTR = 0xa Jul 23 10:41:28 mas02 /kernel: SCSISEQ = 0x12, SBLKCTL = 0xa Jul 23 10:41:28 mas02 /kernel: DFCNTRL = 0x0, DFSTATUS = 0x89 Jul 23 10:41:28 mas02 /kernel: LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 = 0x80 Jul 23 10:41:28 mas02 /kernel: SSTAT0 = 0x0, SSTAT1 = 0x8 Jul 23 10:41:28 mas02 /kernel: SCSIPHASE = 0x0 Jul 23 10:41:28 mas02 /kernel: STACK == 0x3, 0x108, 0x160, 0x0 Jul 23 10:41:28 mas02 /kernel: SCB count = 70 Jul 23 10:41:28 mas02 /kernel: Kernel NEXTQSCB = 30 Jul 23 10:41:28 mas02 /kernel: Card NEXTQSCB = 30 Jul 23 10:41:28 mas02 /kernel: QINFIFO entries: Jul 23 10:41:28 mas02 /kernel: Waiting Queue entries: Jul 23 10:41:28 mas02 /kernel: Disconnected Queue entries: 3:42 Jul 23 10:41:28 mas02 /kernel: QOUTFIFO entries: Jul 23 10:41:28 mas02 /kernel: Sequencer Free SCB List: 10 19 28 7 29 2 18 22 26 31 9 24 6 15 4 21 27 0 12 30 8 14 16 25 13 11 17 20 23 5 1 Jul 23 10:41:28 mas02 /kernel: Sequencer SCB Info: 0(c 0x60, s 0x17, l 0, t 0xff) 1(c 0x60, s 0x7, l 0, t 0xff) 2(c 0x60, s 0x17, l 0, t 0xff) 3(c 0x66, s 0x7, l 0, t 0x2a) 4(c 0x60, s 0x17, l 0, t 0xff) 5(c 0x60, s 0x17, l 0, t 0xff) 6(c 0x60, s 0x17, l 0, t 0xff) 7(c 0x62, s 0x17, l 0, t 0xff) 8(c 0x60, s 0x17, l 0, t 0xff) 9(c 0x60, s 0x17, l 0, t 0xff) 10(c 0x60, s 0x17, l 0, t 0xff) 11(c 0x60, s 0x17, l 0, t 0xff) 12(c 0x60, s 0x17, l 0, t 0xff) 13(c 0x60, s 0x17, l 0, t 0xff) 14(c 0x60, s 0x17, l 0, t 0xff) 15(c 0x60, s 0x17, l 0, t 0xff) 16(c 0x60, s 0x17, l 0, t 0xff) 17(c 0x60, s 0x7, l 0, t 0xff) 18(c 0x60, s 0x17, l 0, t 0xff) 19(c 0x62, s 0x17, l 0, t 0xff) 20(c 0x60, s 0x17, l 0, t 0xff) 21(c 0x60, s 0x17, l 0, t 0xff) 22(c 0x60, s 0x17, l 0, t 0xff) 23(c 0x60, s 0x7, l 0, t 0 xff) 24(c 0x60, s 0x17, l 0, t 0xff) 25(c 0x60, s 0x17, l 0, t 0xff) 26(c 0x60, s 0x17, l 0, t 0xff) 27(c 0x60, s 0x17, l 0, t 0xff) 28(c 0x60, s 0x17, l 0, t 0 xff) 29(c 0x62, s 0x17, l 0, t 0xff) 30(c 0x60, s 0x17, l 0, t 0xff) 31(c 0x60, s 0x17 Jul 23 10:41:28 mas02 /kernel: 0xff) Jul 23 10:41:28 mas02 /kernel: Pending list: 42(c 0x62, s 0x7, l 0) Jul 23 10:41:28 mas02 /kernel: Kernel Free SCB list: 56 3 36 61 32 60 22 21 23 15 12 19 62 67 8 14 13 9 55 69 39 52 18 64 50 25 26 35 34 31 28 29 24 58 7 38 4 5 9 43 2 49 5 16 40 0 68 17 57 65 6 20 37 44 66 53 11 54 41 47 45 63 27 10 46 1 33 51 48 Jul 23 10:41:28 mas02 /kernel: sg[0] - Addr 0xcebc000 : Length 4096 Jul 23 10:41:28 mas02 /kernel: sg[1] - Addr 0xcefd000 : Length 4096 Jul 23 10:41:28 mas02 /kernel: sg[2] - Addr 0xcebe000 : Length 4096 Jul 23 10:41:28 mas02 /kernel: sg[3] - Addr 0xcedf000 : Length 4096 Jul 23 10:41:28 mas02 /kernel: (da0:ahc0:0:0:0): Queuing a BDR SCB Jul 23 10:41:28 mas02 /kernel: (da0:ahc0:0:0:0): no longer in timeout, status = 34a Jul 23 10:41:31 mas02 last message repeated 44141 times Jul 23 10:41:31 mas02 /kernel: (da0:ahc0:0:0:0): Invalidating pack = --- Emo is what happens when the glee club goes punk. --- __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
strange messages in /var/log and all logins refused ...
Hey *, this morning I tried to log into my freebsd 4.6 release box and was refused (SSH 2.9 sent back the passwd prompt and denied me). I called someone else and they tried, and were refused too. I got in via the console and reset my user and the root passwd and could ssh in successfully. I'm thinking that the /etc/master.passwd file may have been corrupted. Is there any way to check this? Also, I found some strange output in /var/log/messages.0.gz on the machine that locked up. There is an identical machine (same hardware and config) that did *not* have any of this stuff. The last line in the message below (the Device not configured) is repeated hundreds of times. I've pasted it below ... does anyone know what this indicates? I tried google, but found nothing conclusive. Jul 3 10:00:00 mas02 newsyslog[14137]: logfile turned over Jul 3 10:50:32 mas02 /kernel: (da0:ahc0:0:0:0): Invalidating pack Jul 3 10:51:29 mas02 /kernel: (da0:ahc0:0:0:0): SCB 0x11 - timed out Jul 3 10:51:29 mas02 /kernel: ahc0: Dumping Card State while idle, at SEQADDR 0x9 Jul 3 10:51:29 mas02 /kernel: ACCUM = 0x0, SINDEX = 0xa, DINDEX = 0xe4, ARG_2 = 0x0 Jul 3 10:51:29 mas02 /kernel: HCNT = 0x0 SCBPTR = 0x18 Jul 3 10:51:29 mas02 /kernel: SCSISEQ = 0x12, SBLKCTL = 0xa Jul 3 10:51:29 mas02 /kernel: DFCNTRL = 0x0, DFSTATUS = 0x89 Jul 3 10:51:29 mas02 /kernel: LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 = 0x80 Jul 3 10:51:29 mas02 /kernel: SSTAT0 = 0x0, SSTAT1 = 0x8 Jul 3 10:51:29 mas02 /kernel: SCSIPHASE = 0x0 Jul 3 10:51:29 mas02 /kernel: STACK == 0x3, 0x108, 0x160, 0x0 Jul 3 10:51:29 mas02 /kernel: SCB count = 80 Jul 3 10:51:29 mas02 /kernel: Kernel NEXTQSCB = 23 Jul 3 10:51:29 mas02 /kernel: Card NEXTQSCB = 23 Jul 3 10:51:29 mas02 /kernel: QINFIFO entries: Jul 3 10:51:29 mas02 /kernel: Waiting Queue entries: Jul 3 10:51:29 mas02 /kernel: Disconnected Queue entries: 18:17 Jul 3 10:51:29 mas02 /kernel: QOUTFIFO entries: Jul 3 10:51:29 mas02 /kernel: Sequencer Free SCB List: 24 3 27 28 15 10 9 22 19 17 5 8 11 12 26 14 1 6 4 2 20 16 31 25 21 23 7 30 13 29 0 Jul 3 10:51:29 mas02 /kernel: Sequencer SCB Info: 0(c 0x60, s 0x17, l 0, t 0xff) 1(c 0x60, s 0x17, l 0, t 0xff) 2(c 0x60, s 0x17, l 0, t 0xff) 3(c 0x60, s 0x17 , l 0, t 0xff) 4(c 0x60, s 0x17, l 0, t 0xff) 5(c 0x60, s 0x17, l 0, t 0xff) 6(c 0x60, s 0x17, l 0, t 0xff) 7(c 0x60, s 0x17, l 0, t 0xff) 8(c 0x60, s 0x17, l 0 , t 0xff) 9(c 0x60, s 0x17, l 0, t 0xff) 10(c 0x60, s 0x17, l 0, t 0xff) 11(c 0x60, s 0x17, l 0, t 0xff) 12(c 0x60, s 0x17, l 0, t 0xff) 13(c 0x60, s 0x17, l 0, t 0xff) 14(c 0x60, s 0x17, l 0, t 0xff) 15(c 0x60, s 0x17, l 0, t 0xff) 16(c 0x60, s 0x17, l 0, t 0xff) 17(c 0x60, s 0x17, l 0, t 0xff) 18(c 0x66, s 0x7, l 0, t 0x11) 19(c 0x60, s 0x17, l 0, t 0xff) 20(c 0x60, s 0x17, l 0, t 0xff) 21(c 0x60, s 0x17, l 0, t 0xff) 22(c 0x60, s 0x17, l 0, t 0xff) 23(c 0x60, s 0x17, l 0, t 0xff) 24(c 0x60, s 0x17, l 0, t 0xff) 25(c 0x60, s 0x17, l 0, t 0xff) 26(c 0x60, s 0x17, l 0, t 0xff) 27(c 0x60, s 0x17, l 0, t 0xff) 28(c 0x60, s 0x17, l 0, t 0xff) 29(c 0x60, s 0x17, l 0, t 0xff) 30(c 0x60, s 0x17, l 0, t 0xff) 31(c 0x60, s 0 Jul 3 10:51:29 mas02 /kernel: , t 0xff) Jul 3 10:51:29 mas02 /kernel: Pending list: 17(c 0x62, s 0x7, l 0) Jul 3 10:51:29 mas02 /kernel: Kernel Free SCB list: 10 38 57 62 20 12 7 16 27 11 28 19 40 56 33 43 36 47 48 13 45 21 78 58 64 49 69 18 5 22 55 39 51 65 52 59 6 66 2 37 25 4 41 14 35 29 68 34 61 54 30 60 3 42 15 79 46 53 31 63 0 32 26 24 44 67 9 50 8 1 77 76 75 74 73 72 71 70 Jul 3 10:51:29 mas02 /kernel: sg[0] - Addr 0x188dc000 : Length 4096 Jul 3 10:51:29 mas02 /kernel: sg[1] - Addr 0x2d11d000 : Length 4096 Jul 3 10:51:29 mas02 /kernel: sg[2] - Addr 0x24ede000 : Length 4096 Jul 3 10:51:29 mas02 /kernel: sg[3] - Addr 0x1615f000 : Length 4096 Jul 3 10:51:29 mas02 /kernel: (da0:ahc0:0:0:0): Queuing a BDR SCB Jul 3 10:51:29 mas02 /kernel: (da0:ahc0:0:0:0): no longer in timeout, status = 34a Jul 3 10:51:32 mas02 /kernel: (da0:ahc0:0:0:0): Invalidating pack Jul 3 12:00:02 mas02 /kernel: Connection attempt to TCP 127.0.0.1:25 from 127.0.0.1:1388 Jul 3 13:00:00 mas02 /kernel: Connection attempt to TCP 127.0.0.1:25 from 127.0.0.1:1389 Jul 3 14:00:00 mas02 /kernel: Connection attempt to TCP 127.0.0.1:25 from 127.0.0.1:1390 Jul 3 15:00:00 mas02 /kernel: Connection attempt to TCP 127.0.0.1:25 from 127.0.0.1:1391 Jul 3 16:14:40 mas02 last message repeated 17 times Jul 3 16:16:51 mas02 last message repeated 30 times Jul 3 20:15:00 mas02 /usr/sbin/cron[14546]: login_getclass: retrieving class information: Device not configured = --- Emo is what happens when the glee club goes punk. --- __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Re: strange messages in /var/log and all logins refused ...
I did a mount -a, then a fsck -y, then manually changed the passwords back to what they were and the machine seems ok. df -h shows both disks working fine and I can access the root and all partitions. I hope this was just some stupid disk problem that is *not* the harbinger of another disk death. Thnx. BTW, what exactly pointed to a disk failure and why? I'm not a programmer by profession (which is good bc I'm pretty bad at it). --- Andy Farkas [EMAIL PROTECTED] wrote: On Mon, 7 Jul 2003, twig les wrote: Also, I found some strange output in /var/log/messages.0.gz on the machine that locked up. There is an identical machine (same hardware and config) that did *not* have any of this stuff. The last line in the message below (the Device not configured) is repeated hundreds of times. I've pasted it below ... does anyone know what this indicates? I tried google, but found nothing conclusive. Jul 3 10:00:00 mas02 newsyslog[14137]: logfile turned over [...snip] Jul 3 10:51:32 mas02 /kernel: (da0:ahc0:0:0:0): Invalidating pack Jul 3 12:00:02 mas02 /kernel: Connection attempt to TCP 127.0.0.1:25 from 127.0.0.1:1388 Jul 3 13:00:00 mas02 /kernel: Connection attempt to TCP 127.0.0.1:25 from 127.0.0.1:1389 Jul 3 14:00:00 mas02 /kernel: Connection attempt to TCP 127.0.0.1:25 from 127.0.0.1:1390 Jul 3 15:00:00 mas02 /kernel: Connection attempt to TCP 127.0.0.1:25 from 127.0.0.1:1391 Jul 3 16:14:40 mas02 last message repeated 17 times Jul 3 16:16:51 mas02 last message repeated 30 times Jul 3 20:15:00 mas02 /usr/sbin/cron[14546]: login_getclass: retrieving class information: Device not configured Your disk has died and the kernel has turned it off. This is bad because it seems to be your root disk. -- :{ [EMAIL PROTECTED] Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: TCPDump version in base?
This is a good point. Do I have to upgrade? The team hasn't put out an advisory but we actively use a few FreeBSD boxes for sniffing so pardon my impatience. Since tcpdump has moved into the freebsd core distribution it's doubtful whether the tcpdump version number as such is all that meaningful anyway. Andrew On Thu, 6 Mar 2003, twig les wrote: Date: Thu, 6 Mar 2003 14:53:41 -0800 (PST) From: twig les [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: TCPDump version in base? Hey all, maybe I'm missing something but I can't seem to find the version of tcpdump that I'm running. After searching the massive man page and doing a quick pkg_info | grep tcpdump to make sure no info was available before posting, I don't know if I'm vulnerable. Does anyone know how to glean the version number from tcpdump? For those who are wondering wth I'm blathering about regarding tcpdump's vulnerability, this SANS blurb should clarify: Tcpdump versions prior to 3.7.2 contain a denial of service in the decoding of ISAKMP packets. This allows a remote attacker to spoof a malicious UDP packet that, when read by a vulnerable tcpdump application, will cause tcpdump to enter an infinite loop. This vulnerability is confirmed and fixed in version 3.7.2, available from: http://www.tcpdump.org/ = --- Know yourself and know your enemy and you will never fear defeat. --- __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-security in the body of the message -- Andrew McNaughton In Sydney and looking for work [EMAIL PROTECTED] http://staff.scoop.co.nz/andrew/cv.doc Mobile: +61 422 753 792 = --- Know yourself and know your enemy and you will never fear defeat. --- __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
routing problem on 4.7 release
Hey all, I have a 4.7 release box that needs to cvsup its ports. The problem is that this box never sees the outside world normally; it does IDS on an IP-less interface and of course has a backnet interface. So basically I added a temporary IP address to this box, edited my /etc/cvsupfile to use the IP address of the cvs server (to avoid dealing with DNS), added a few lines in IPFW and then used the route command to force packets out the correct interface. The problem is that packets destined for the legal gateway (I'll call it 1.1.1.1) are still going out the backnet interface. So if I ping 1.1.1.1, I can sit and watch access-list denies show up as the backnet interface tries to ping an IP that isn't even reachable. The fact that these pings are getting out tells me that IPFW isn't the problem and that the route table is screwed up. Please chime in if anyone has an answer, all I need to do is add a static route temporarily. My config looks like this below. As you may notice, I even tried adding a route to 1.1.1.1 out the specific interface route -n add 1.1.1.1/26 -interface ti0. mas01# netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default10.20.0.1 UGSc7 56 fxp0 10.20/25 link#1 UC 2 0 fxp0 10.20.0.1 00:00:0c:07:ac:60 UHLW5 4 fxp0 1196 10.20.0.14 00:60:ab:03:7d:2f UHLW0 0 fxp0938 1.1.1.1/3200:00:00:00:00:00 ULSc0 12ti0 1.1.1.1/26 link#2 UC 00 ti0 127.0.0.1 127.0.0.1 UH 0 604lo0 165.64.255/24 1.1.1.1 UGSc0 0 fxp0 208.185.175.214/32 1.1.1.1 UGSc1 0 fxp0 = --- Know yourself and know your enemy and you will never fear defeat. --- __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Shared object libmysqlclient.so.10 not found
# dmesg -a snip sendmail /usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found Sendmail works fine (the fact that you're reading this is proof) after I: == I don't know why Sendmail would fail from this but I'll bet that if you try to use your mysql client you'll get a nasty surprise. == #cd /etc/mail #make start I think...hrm...missing library. So I do: #ldconfig -r snip 84:-lmysqlclient.10 = /usr/local/lib/mysql/libmysqlclient.so.10 so the library is there, but it seems it's not seeing it at startup. == I've had this happen a few times. Basically my lib wasn't in my PATH. Try doing a echo $PATH and see if BSD will find it by default. The quickest remedy for this was to copy the lib to a place that BSD *will* see it. == I've done a pretty extensive google search and I've found a few occurances of this. There are only two types of replies: nothing, or the poster is told to check /etc/ld.so.conf and add the location of the lib to that file. Unfortunately, I don't have a /etd/ld.so.conf and creating it does nothing. I only have /var/run/ld.so.hints and that appears to be a binary. Can anyone help me fix this? == We try and leave that funny ld.so.conf stuff to the Linux kids. ;-) == = --- If you give a man a fish, he can eat for a day If you bludgeon him to death, you can eat the fish yourself --- __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: dsniff problems
I can and often run tcpdump; and snort and ethereal and ettercap. This is a test box so it's got a bunch of crap going all the time. However I have not explicitly added bpf to the kernel. It's 4.7-RC #1, do I need to build a new kernel? --- Kris Kennaway [EMAIL PROTECTED] wrote: On Thu, Nov 14, 2002 at 01:52:24PM -0800, twig les wrote: Hey all, I'm really trying to find some good info on dsniff and failing miserably. I get this: = L# msgsnarf msgsnarf: no suitable device found L# dsniff dsniff: nids_init: no suitable device found L# tcpkill tcpkill: no suitable device found L# tcpkill -i ep0 tcp port 80 tcpkill: (no devices found) /dev/bpf4: No such file or directory tcpkill: couldn't initialize sniffing = Do you have bpf support in your kernel? Can you run tcpdump successfully? Kris ATTACHMENT part 2 application/pgp-signature = --- If you give a man a fish, he can eat for a day If you bludgeon him to death, you can eat the fish yourself --- __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
dsniff problems
Hey all, I'm really trying to find some good info on dsniff and failing miserably. I get this: = L# msgsnarf msgsnarf: no suitable device found L# dsniff dsniff: nids_init: no suitable device found L# tcpkill tcpkill: no suitable device found L# tcpkill -i ep0 tcp port 80 tcpkill: (no devices found) /dev/bpf4: No such file or directory tcpkill: couldn't initialize sniffing = No matter which tool I try and use it fails. I tried a makedev but that command is no longer around (I think I remember it getting deprecated in 4.7). The man pages are practically useless, I can't find my problem on Google, and the link to the dsniff list archives died on me...so this isn't me not RTFMing. Also, I'd like to use Mozilla and not Netscape for webspy and would like to find a conf file Does anyone know what's up with this? Maybe there is a document repository somewhere? = --- If you give a man a fish, he can eat for a day If you bludgeon him to death, you can eat the fish yourself --- __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
monitoring CPU/mem etc without SNMP
Hey all, after a bit of thinking and some looking thru email archives I'm still stumped on a way to get CPU, memory, disk I/O, disk use etc info from one machine to another without using SNMP. All these boxes are FreeBSD 4.7 Release. I'm sure I could rig a script to ssh into the boxes and do a df -h etc. and write the info to a file but my gut tells me there is a MUCH better solution that someone with far better programming skills has already come up with and stuck in the ports collection. So is anyone doing this? The key I'm looking for is security, which negates SNMP. Something small and secure with almost no extra features would be nice. TIA = --- If you give a man a fish, he can eat for a day If you bludgeon him to death, you can eat the fish yourself --- __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Random panic and reboot
Hey all, I'm a bit curious as to why my 4.6 Release box (stripped down and patched) rebooted this morning. I've had this problem before when I tried to skimp and use cheap memory, but this box has great memory (can't remember which brand) and has been running 4.4 release for a year, then 4.6 release for the last 3 months - both without a problem. Last Saturday I got a phone call that this box was down and had remote hands reboot and fsck -y the thing so I'm not sure what's happening. This is the error from /var/run/messages regarding today's reboot; Saturday's problem left no logs. - Oct 14 03:07:20 mas01 /kernel: Fatal trap 12: page fault while in kernel mode Oct 14 03:07:20 mas01 /kernel: mp_lock = 0002; cpuid = 0; lapic.id = Oct 14 03:07:20 mas01 /kernel: fault virtual address = 0x3008 Oct 14 03:07:20 mas01 /kernel: fault code = supervisor read, page not present Oct 14 03:07:20 mas01 /kernel: instruction pointer = 0x8:0xc0216818 Oct 14 03:07:20 mas01 /kernel: stack pointer = 0x10:0xebaa5bc8 Oct 14 03:07:20 mas01 /kernel: frame pointer = 0x10:0xebaa5bfc Oct 14 03:07:20 mas01 /kernel: code segment = base 0x0, limit 0xf, type 0x1b Oct 14 03:07:20 mas01 /kernel: = DPL 0, pres 1, def32 1, gran 1 Oct 14 03:07:20 mas01 /kernel: processor eflags = interrupt enabled, resume, IOPL = 0 Oct 14 03:07:20 mas01 /kernel: current process = 1705 (find) Oct 14 03:07:20 mas01 /kernel: interrupt mask = bio - SMP: XXX Oct 14 03:07:20 mas01 /kernel: trap number = 12 Oct 14 03:07:20 mas01 /kernel: panic: page fault Oct 14 03:07:20 mas01 /kernel: mp_lock = 0002; cpuid = 0; lapic.id = Oct 14 03:07:20 mas01 /kernel: boot() called on cpu#0 = --- Heavy metal made me do it. --- __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
kernel compilation failure, ack!
Hello *, for weeks I haven't been able to cut a new kernel, which means I can't add my sound driver (pcm0) which means I can't get one more step toward the goal of replacing all windows tasks in my life with BSD. The error I get is thus: L# make buildkernel KERNCONF=FW make: no target to make. /usr/src/Makefile.inc1, line 140: warning: make -f /dev/null -m /usr/src/share/mk CPUTYPE=dummy -V CPUTYPE returned non-zero status -- Kernel build for FW started on Fri Sep 20 16:56:19 PDT 2002 -- === FW mkdir -p /usr/obj/usr/src/sys cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/FW /usr/src/sys/i386/conf/FW /usr/src/sys/i386/conf/FW:260: option IPFIREWALL_VERBOSE_LIMIT redefined from 100 to 10 /usr/src/sys/i386/conf/FW:56: unknown option ICMP_BANDLIM *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. L# Now I just cvs'd the source because I was desperate so my new uname -a is: L# uname -a FreeBSD L.liza.com 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #0: Mon Sep 16 13:41:26 PDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FW.safe i386 L# I have no idea why this started happening. I built a custom kernel about 1.5 months ago and it works fine. This FW kernel I'm trying to build is simply GENERIC with some well-known options added for IPFW, plus now I'm adding the pcm0 line. Regardless, when I try to compile GENERIC it fails. Please help me, I've put a ton of time into getting my laptop just where I want it...so close to Valhalla...so close = --- Heavy metal made me do it. --- __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kernel compilation failure, ack!
Well you caught me. I had a bunch of garbage in my FW file that I never put there (not intentionally). So I did a quick cp GENERIC FW, added my lines and redid the diff. This is what I got: L# pwd /usr/src/sys/i386/conf L# diff GENERIC FW 251a252,261 #To enable IPFW with default deny all packets options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity #device pcm0 at isa? irq5 drq 1 flags 0x0 L# So I gained heart and pushed onward, only to see this error: L# cd /usr/src L# make buildkernel KERNCONF=FW make: no target to make. /usr/src/Makefile.inc1, line 140: warning: make -f /dev/null -m /usr/src/share/mk CPUTYPE=dummy -V CPUTYPE returned non-zero status -- Kernel build for FW started on Fri Sep 20 17:55:43 PDT 2002 -- === FW mkdir -p /usr/obj/usr/src/sys cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/FW /usr/src/sys/i386/conf/FW /usr/src/sys/i386/conf/FW:256: option IPFIREWALL_VERBOSE_LIMIT redefined from 100 to 10 ../../conf/files: coda/coda_fbsd.c must be optional, mandatory or standard Your version of config(8) is out of sync with your kernel source. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. L# Now I'm scratching my head trying to figure out how to update my configure (I tried pkg_version and its not there). Sigh. Thanks for the lead, any additional help will gain you a smile. --- Dru [EMAIL PROTECTED] wrote: On Fri, 20 Sep 2002, twig les wrote: Hello *, for weeks I haven't been able to cut a new kernel, which means I can't add my sound driver (pcm0) which means I can't get one more step toward the goal of replacing all windows tasks in my life with BSD. The error I get is thus: L# make buildkernel KERNCONF=FW make: no target to make. /usr/src/Makefile.inc1, line 140: warning: make -f /dev/null -m /usr/src/share/mk CPUTYPE=dummy -V CPUTYPE returned non-zero status -- Kernel build for FW started on Fri Sep 20 16:56:19 PDT 2002 -- === FW mkdir -p /usr/obj/usr/src/sys cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/FW /usr/src/sys/i386/conf/FW /usr/src/sys/i386/conf/FW:260: option IPFIREWALL_VERBOSE_LIMIT redefined from 100 to 10 /usr/src/sys/i386/conf/FW:56: unknown option ICMP_BANDLIM *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. L# Now I just cvs'd the source because I was desperate so my new uname -a is: L# uname -a FreeBSD L.liza.com 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #0: Mon Sep 16 13:41:26 PDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FW.safe i386 L# I have no idea why this started happening. I built a custom kernel about 1.5 months ago and it works fine. This FW kernel I'm trying to build is simply GENERIC with some well-known options added for IPFW, plus now I'm adding the pcm0 line. Regardless, when I try to compile GENERIC it fails. Please help me, I've put a ton of time into getting my laptop just where I want it...so close to Valhalla...so close Can you send the list the output of: cd /usr/src/sys/i386/conf diff GENERIC FW Dru = --- Heavy metal made me do it. --- __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kernel compilation failure, ack!
I did that, it just found another line to error on until I did the cp GENERIC FW and manually added the lines I wanted. I must have corrupted the file somehow (it didn't screw itself up). Now the new error is something odd. I think I'm going to remake world in case I screwed something up. --- Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2002-09-20 20:42, Dru [EMAIL PROTECTED] wrote: On Fri, 20 Sep 2002, twig les wrote: The error I get is thus: L# make buildkernel KERNCONF=FW make: no target to make. /usr/src/Makefile.inc1, line 140: warning: make -f /dev/null -m /usr/src/share/mk CPUTYPE=dummy -V CPUTYPE returned non-zero status -- Kernel build for FW started on Fri Sep 20 16:56:19 PDT 2002 -- === FW mkdir -p /usr/obj/usr/src/sys cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/FW /usr/src/sys/i386/conf/FW /usr/src/sys/i386/conf/FW:260: option IPFIREWALL_VERBOSE_LIMIT redefined from 100 to 10 /usr/src/sys/i386/conf/FW:56: unknown option ICMP_BANDLIM *** Error code 1 Read carefully the second from last line above. This is the last error message that is printed by make, before it aborts. The solution should be obvious :) Remove or comment out the ICMP_BANDLIM option at line 56 of the FW configuration file and try again. Giorgos. = --- Heavy metal made me do it. --- __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kernel compilation failure, ack!
I would like to say yes because I know that that is the correct procedure, but right now I'm on the 6th straight hour of a retarded phone call and I can't remember. I'll remake world tomorrow during Mystery Science Theater 3000. At least then if the problem persists I'll be in a good mood. Thanks again, if I find an answer I'll post it. --- Dru [EMAIL PROTECTED] wrote: On Fri, 20 Sep 2002, twig les wrote: Well you caught me. I had a bunch of garbage in my FW file that I never put there (not intentionally). So I did a quick cp GENERIC FW, added my lines and redid the diff. This is what I got: L# pwd /usr/src/sys/i386/conf L# diff GENERIC FW 251a252,261 #To enable IPFW with default deny all packets options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity #device pcm0 at isa? irq5 drq 1 flags 0x0 L# So I gained heart and pushed onward, only to see this error: L# cd /usr/src L# make buildkernel KERNCONF=FW make: no target to make. /usr/src/Makefile.inc1, line 140: warning: make -f /dev/null -m /usr/src/share/mk CPUTYPE=dummy -V CPUTYPE returned non-zero status -- Kernel build for FW started on Fri Sep 20 17:55:43 PDT 2002 -- === FW mkdir -p /usr/obj/usr/src/sys cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/FW /usr/src/sys/i386/conf/FW /usr/src/sys/i386/conf/FW:256: option IPFIREWALL_VERBOSE_LIMIT redefined from 100 to 10 ../../conf/files: coda/coda_fbsd.c must be optional, mandatory or standard Your version of config(8) is out of sync with your kernel source. *** Error code 1 OK, how exactly did you do your cvsup and rebuild? e.g., did you: cvsup make -j4 buildworld make buildkernel (where this was GENERIC) make installkernel make installworld reboot then try your own kernel? Dru = --- Heavy metal made me do it. --- __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: dvdrip doesnt see my dvds
The problem turned out that I needed to point the device in preferences to /cdrom. It was /dev/dvd just like you thought it might be, so I tinkered a few times and voila! trial and error won the day. Thanks for the idea and the tip about PIO mode. I'm new to the whole dvd ripping scene. --- Kevin Oberman [EMAIL PROTECTED] wrote: Date: Mon, 16 Sep 2002 14:54:47 -0700 (PDT) From: twig les [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] Hey *, I'm trying to use my laptop to rip dvds using dvdrip, but no dvds are ever seen. I'm a bit confused because I've done some looking around and no one has this problem (according to Sir Google). My OS is thus: L# uname -a FreeBSD L.liza.com 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #0: Mon Sep 16 13:41:26 PDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FW.safe i386 My dvd player seems to be recognized just fine: %dmesg | grep DVD acd0: DVD-ROM TOSHIBA DVD-ROM SD-C2302 at ata1-master PIO4 And I know this dvd player works because this is a Toshiba Tecra that plays dvds fine when I boot into win2k. Oh, and yes the cdrom is mounted: L# df Filesystem 1K-blocksUsed Avail Capacity Mounted on /dev/ad0s2a101758 43554 5006447%/ /dev/ad0s2g1530043918 136846 3% /tmp /dev/ad0s2e 4129310 2059056 173991054% /usr /dev/ad0s2f907182 43686 790922 5% /var procfs 4 4 0 100% /proc /dev/acd0c7651652 7651652 0 100% /cdrom While I don't know that it's you main problem, I check protection on the device. Also, I have never used dvdrip, but I'd look closely at the default device it looks for. Many DVD applications try to access /dev/dvd by default. (E.G. Ogle). Make sure it's /dev/acd0c. Also, your DVD is running in PIO mode. This will provide very poor performance. Set it to DMA with hw.ata.atapi_dma=1 in /boot/loader.conf and reboot. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED]Phone: +1 510 486-8634 = --- Heavy metal made me do it. --- __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
xv not working right?
Hey all, I'm trying to use xv to get a background pic on my laptop and it's not quite working as expected. I'm running 4.6 release (everything else works great) with xv-3.10a_2. My desktop is windowmaker. The command I put in my user's .xinitrc is this: xv -quit -root /usr/home/twigles/pic.jpg and now when I start X the picture flashes for about a second then bails. I suppose I could run xv in the background but that seems like a clumsy way to get a simple backdrop. = --- All warfare is based on deception. --- __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message