FreeBSD 6.2 stable crasches when running dump on mounted snapshot.
Hi there, When I run dump on a mounted snapshot, my machine panics with the error that says the following: Fatal double fault Panic: double fault I can run games in Windows fine and I run setiathome/boinc most of the time in Windows when my computer is locked and I'm at work. No problem there. It s no problem to make buildkernel and make buildworld with -j2. It has never crashed because of load as I can remember. Im running RAID-1 on this machine the hard disc are ad8xy and ad10xy and I do mount everything via the RAID array called ar0xy. My motherboard is an Asus A8N5X and I'm using the on board S-ATA controller for my hard discs. I have tried and changed my /etc/fstab so that they mount it from either ad8xy or ad10xy instead ( root usr var etc..) But that does not still help me with the problem. I would be happy to provide more info if you want to, so please let me know it I'm missing some crucial information. Or perhaps if I should try another mailing list then this one. Below here is my kernel config and make.conf. KERNEL: machine i386 cpu I686_CPU ident BARABO # To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints # Default places to look for devices. #makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET# InterNETworking options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI device apic# I/O APIC # Bus support. device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass# Passthrough device (direct SCSI access) #device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device miibus # MII bus support device nve # nVidia nForce MCP on-board Ethernet Networking # Pseudo devices. device loop# Network loopback device random # Entropy device device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) device md # Memory disks # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci# UHCI PCI-USB interface device ohci# OHCI PCI-USB interface device ehci# EHCI PCI-USB interface (USB 2.0) device usb # USB Bus (required) device ugen#
Regarding Fujitsu Siemens Primergy RX220 AMD64.
Hi List members, Have recently acquired me an Fujitsu Siemens Primergy RX220 AMD64. Everything works fine except one thing, the build in dual broadcom 5780 NIC. I see that 6.1 does not support that hardware according to http://www.freebsd.org/releases/6.1R/hardware-amd64.html. I thought that freebsd-questions@freebsd.org was a better choice of sending the mail to than [EMAIL PROTECTED] But I might be wrong here. Anyhow I have two questions more or less: Has anybody succeed in getting it to work and do you have a patch for it? (Should I try out stable branch instead of 6.1 Release?) I everything else fails could you recommend a NIC that works with FreeBSD and is dual Gigabit. Im thinking of an Intel Pro/1000 MT DP Server or Intel Pro/1000PT Dual Port Server Adapter PCI-E how ever the later I could not find on http://www.freebsd.org/releases/6.1R/hardware-amd64.html. But if you check it up on Intel's homepage it mentions that FreeBSD is support but that is rater vague description on with arch its supported on. (If I'm not missing something that is) Hopefully support for the broadcom 5780-chipset is right around the corner. Thank you for reading this mail. // Mattias Bjork ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with snortreport when trying to look at summary for an alert(s).
Hi, all Im running snort (ver 2.4 ), snortreport (ver 1.2) with postgresql (postgresql ver 8.0.4), php5 (ver 5.0.5). My webserver is apache version 2.0.55, lates from ports with ssl support, and last on 5.4-RELEASE-p8 machine. I having problem with the webinterface to snort (snortreport). It works well when i type in the url for my localwebserver, where it lists all alerts in a given timeframe. But when I press the summary link for an alert I get this error: Warning: pg_exec() [function.pg-exec]: Query failed: ERROR: syntax error at or near ) at character 134 in /usr/local/www/snortreport/DB_pgsql.php on line 41 ERROR: syntax error at or near ) at character 134 I have uncommented print $query in DB_pgsql.php in /usr/local/www/snortreport so I can see the query, its here below: SELECT event.cid, event.sid, iphdr.ip_src, iphdr.ip_dst, EXTRACT(EPOCH FROM event.timestamp) AS timestamp FROM event, iphdr WHERE event.cid = iphdr.cid AND event.sid = iphdr.sid AND event.signature = '14' AND (event.timestamp 1130611696 AND event.timestamp 1130698096) SELECT ip_src, COUNT(*) AS src_count FROM event INNER JOIN iphdr ON event.cid = iphdr.cid AND event.sid = iphdr.sid WHERE ip_src IN () AND (event.timestamp 1130611696 AND event.timestamp 1130698096) GROUP BY iphdr.ip_src Im no SQL expert but I guess the problem is/or has something to do with that its trying to run two SQL queries without ; or am I wrong? I have googled around for some time no, but I can't find something that looks like the problem. Im guesing that this is not a fault generated by me. But have not given up, but I don't know where to go from here. So I hope that somebody could help me or point in the right direction. Best Regards Mattias Björk ps: Should I use the freebsd-database mailinglist for this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nagios Client on FreeBSD 5.4
Hi, Deepak Naidu wrote: Hi, I wanted to install nagios client on FreeBSD 5.4. I want to monitor my SMTP (25) and disk usage etc to be monitored from Nagios server installed on Linux box. How do I do... In linux there is Nagios-Client.rpm. What is the alternative on FreeBSD I dont want the server, I just wnat to monito my FreeBSD 5.4 host. Thanx for any help.. Cheers, Deepak Naidu. Linux your Life, Don't Window it [[]] { All for the best } ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Im not sure but I did a cd /usr/ports make search key=nagios and found a bunch of information. My best bet is to check out nagios-statd in ports. The full path is /usr/ports/sysutils/nagios-statd. Best Regards Mattias Björk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Some sound problems with an Asus A7N8X-X motherboard
CACHE 0x08 BASE0 0xc001 addr 0xc000 I/O BASE1 0xe500 addr 0xe500 MEM MAX_LAT 0x0a MIN_GNT 0x0a INT_PIN 0x01 INT_LINE 0x0a pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x10de device 0x0201 nVidia Corporation NV20 [GeForce3 Ti 200] STATUS0x02b0 COMMAND 0x0007 CLASS 0x03 0x00 0x00 REVISION 0xa3 BIST 0x00 HEADER 0x00 LATENCY 0xf8 CACHE 0x00 BASE0 0xd400 addr 0xd400 MEM BASE1 0xdc08 addr 0xdc00 MEM PREFETCHABLE BASE2 0xe008 addr 0xe000 MEM PREFETCHABLE MAX_LAT 0x01 MIN_GNT 0x05 INT_PIN 0x01 INT_LINE 0x0b dmesg: pcm0: nVidia nForce2 port 0xd800-0xd87f,0xd400-0xd4ff mem 0xe6001000-0xe6001fff irq 10 at device 6.0 on pci0 pcm0: Avance Logic ALC650 AC97 Codec That is all that I can think of, perhaps I have forgotten something. The please let me know. :) Best Regards Mattias Björk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with MySQL and SNORT after Reboot
Hi, Thanks for the fast response. I did run REPAIR TABLE event from phpmyadmin and there where no problems with that. No Error here. But when I point my browser to my snort page and select the timeframe for the alerts to all I get the error message after a few seconds: Warning: mysql_query(): Unable to save result set in /usr/local/www/snortreport/DB_mysql.php on line 38 Got error 127 from table handler However if i select a day as a time frame it works and I can select up to forteen days. If i select thirty days or every thing logged I get the error above. From phpmyadmin if I select the database named snort and I click on the table event i get an warning/error message that are as following: More than one INDEX key was created for column `timestamp` Is that anything serious? So I hope I have described enought to make any conclutions about this. I have also restared both mysql and snort but that does not help either. Thanks in advance and a happy new year! Hello, You need to login to mysql command prompt and do a REPAIR TABLE event; in that database, and it will clear it right up. Sincerely, Scott Kupferschmidt ISPrime, Inc. 866.502.4678 ext. 3 AIM: Scott ISPrime - ICQ: 174337249 On Fri, 31 Dec 2004, [ISO-8859-1] Mattias Björk wrote: Dear list, After a power failure and my computers went down, I have been starting to get error messages in sys log and on the console: Dec 28 19:50:52 setiathome snort: database: mysql_error: Can't open file: 'event.MYI'. (errno: 145) SQL=INSERT INTO event (sid,cid,signature,timestamp) VALUES ('1', '10', '4', '2004-12-28 19:50:52.597+001') Im not an expert on SQL and database servers etc and have followed this guide to make snort work with MySQL: http://bsdguides.org/guides/freebsd/security/snortreport.php I didn't find that too hard and it worked when I did it some months ago. But now after the reboot/restart of the system, the fault that I described abow have arised. I have had similar power failures before and that did not create this problem. And I have checked in /var/db/mysql/snort after the file event.MYI and its there: setiathome/var/db/mysql/snort# ls -l event.* 9:35PM -rw-rw 1 mysql mysql 560343 Dec 28 13:27 event.MYD -rw-rw 1 mysql mysql 1786880 Dec 28 16:38 event.MYI -rw-rw 1 mysql mysql 8642 Nov 13 18:29 event.frm setiathome/var/db/mysql/snort# So Im clueless to what could be causing the problem that I have. Perhaps its the wrong list to send this mail. But I thought that its the closest that I could think off. Best regards Mattias Björk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Best regards Mattias Björk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with MySQL and SNORT after Reboot
Dear list, After a power failure and my computers went down, I have been starting to get error messages in sys log and on the console: Dec 28 19:50:52 setiathome snort: database: mysql_error: Can't open file: 'event.MYI'. (errno: 145) SQL=INSERT INTO event (sid,cid,signature,timestamp) VALUES ('1', '10', '4', '2004-12-28 19:50:52.597+001') Im not an expert on SQL and database servers etc and have followed this guide to make snort work with MySQL: http://bsdguides.org/guides/freebsd/security/snortreport.php I didn't find that too hard and it worked when I did it some months ago. But now after the reboot/restart of the system, the fault that I described abow have arised. I have had similar power failures before and that did not create this problem. And I have checked in /var/db/mysql/snort after the file event.MYI and its there: setiathome/var/db/mysql/snort# ls -l event.* 9:35PM -rw-rw 1 mysql mysql 560343 Dec 28 13:27 event.MYD -rw-rw 1 mysql mysql 1786880 Dec 28 16:38 event.MYI -rw-rw 1 mysql mysql 8642 Nov 13 18:29 event.frm setiathome/var/db/mysql/snort# So Im clueless to what could be causing the problem that I have. Perhaps its the wrong list to send this mail. But I thought that its the closest that I could think off. Best regards Mattias Björk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: flash
Hi, Gert Cuykens wrote: i installed flash firefox from ports but if i go to www.sweetcoffee.net i can not see the flash thing do i need to do something els ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] http://www.packetwatch.net/documents/guides/freebsd/flash6.php This URL helped me to get flash to work under firefox and with FreeBSD = 5. I must admit that its slow compared to running flash on the Linux-Opera port. Perhaps I have done something wrong or its slow as default in firefox. Mvh Mattias Björk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: flashplugin-firefox
Hi. Gerard Samuel wrote: Adam Stroud wrote: Hey all: Has anyone had any success installing the flashplugin-firefox port? If not can anyone point me towards some good instructions to getting flash to work with firefox. I installed it just this past week via the ports. I restarted firefox, and flash support was there. Unfortunately, it crashed at a few sites, so I uninstalled it... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED] Perhaps this link could help you get it to work: http://www.packetwatch.net/documents/guides/freebsd/flash6.php I have it running fine and just followed the instructions. Mvh Mattias Björk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse problems with KVM switch
Hi, Leonard Zettel wrote: On Thursday 19 August 2004 07:46 pm, Mattias Björk wrote: Hi, Leonard Zettel wrote: (snip) Duh. All this newbie can add is that of all the dropped balls and blind alleys I have experienced wrestling with FreeBSD, problems with my four port KVM switch have not been among them. Make of said switch is lost in the mists of time - it is whatever CompUSA sells. I have a Logitech track ball; It and the keyboard have functioned well through various permutations of 5.1, 5.2, and 4.10, native and under KDE. -LenZ- What you are saying In short is that you did not experince any problems? Correct. Very occasionally keyboard input would not show up on either the FreeBSD box or the Windows XP box, although the mouse still worked. Jiggling the cables cured that in all cases. Zero mouse problems. -LenZ- (snip) Hmm I don't think that this is a cable problem that Im having. Still I will not give it up just yet. As someone else sugested, I will try a real PS/2 mouse not a one with USB connector and PS/2 converter attched to it. Thanks for the answer Mvh Mattias Björk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse problems with KVM switch
Hi, Joe Kraft wrote: For what it's worth, I have a cheap 4 port KVM which works fine (scroll wheel and all) with Win2k, FBSD 4.10, FBSD5.2 etc. As long as I use a PS2 mouse, if I use a converter on either end it none of the machines recognize the mouse in varying degrees of failure. Okey, so I should try and test with a real PS/2 mouse. Well it could solve the problem. As I said erlier my brand is a LevelOne, and on the homepage it says that it support FreeBSD. The mouse be the problem, I have to check it out. My KVM is marked PS-104 on the front, but I can't see any visible brand names its buried so I can't dig it out. It supports hotkeys, and works fine with PS2 keyboards/mice. It fails if you attach a USB mouse with a USB/PS2 converter, or if you use a PS2/USB converter to attach it to a USB port on the PC. I have no clue, but perhaps the signals from a USB mouse/keyboard is not the same as from a PS/2 mouse. The might be some diffrences in any case. I've just resigned myself to use a PS2 mouse with my KVM, and hoping it doesn't break. Joe. As long as I can get a descent optical mouse with scroll wheel, I should manage it. :) Mattias Björk wrote: Hi, Jay O'Brien wrote: I had the same problems with a 4-port KVM. I am using a 2-port KVM successfully between an XP box and a FreeBSD 4.10 box. I've found that the scroll wheel doesn't work after switching back to Windows unless I also reset the KVM (Scroll Lock twice + End), but that's not a big deal. I have tryed to reset/rescan but it does not seem to help or even work. But I will try it out. It says for Auto Scan: To start Auto Scan automatically scans all ports one by one at a fixed interval: left Ctrl + left Ctrl + F1 But that does not help or even work, but perhaps im doing something wrong. Manual scan is the same but F2 instead of F1. Perhaps the problem is the mouse, Im using a Logitech Click! optical mouse. I have also tried my trackball Marbel Mouse and both are USB with a PS/2 converter. Perhaps that is the problem, but then again I have tryed a none mouse as well. But still that did not solve the problem. Here's the 2-port KVM switch: http://airlinkplus.com/kvm/akvm2.htm It's available at Fry's: http://shop1.outpost.com/product/3891817 Jay O'Brien Rio Linda, CA USA I live in sweden so I have to find a shop here in sweden. But I will solve this problem some how. Thanks for the reply anyway. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thanks for the help/answer Mvh Mattias Björk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thanks for the reply Mvh Mattias Björk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mouse problems with KVM switch
Hi, I have just brought this KVM switch: http://www.level1.com/products3.php?sklop=20id=590430 But Im having major problems with getting the mouse to work under FreeBSD. Even the keyboard does not work sometimes. This KVM switch has support for hotkey and also supports emulation on both mouse and keyboard. When I boot up my system and see the BIOS on the computer the keyboard works just fine. Then when it continues to boot and comes to the loader, it still works. And the it starts to load the kernel. But then when i get to the login prompt the keyboard does not work. And sometimes even thought I stay with the computer the hole boot process I can't even use the keyboard. So I have to use ssh to login to the computer and make it reboot to regain the keyboard. I have also tried to change the cables but I get the same results. And It works with no problems under Windows XP Pro. The system that im using is FreeBSD 5.2.1-p9, at least on this system. I have also two other computers that Im running FreeBSD-stable on. On one of my FreeBSD-stable machines I have hade a working mouse under X Windows System (Xorg latest from ports). But then I rebooted the system and when I started xdm, it found the mouse but when I move it around It didn't move like it should. It took some seconds before it moved and it did not move like it should, jumps several ramdom cm/inches on the screen (Perhaps in the direction that I move the mouse im not sure). Its on usable in other words. I have also tryied to use moused under FreeBSD but I get the same fault/problem. I also have a problem if I do not have this machine selected when I boot. Then when I switch to it when the boot of the FreeBSD system has complete, The screen on the monitor just blinks. Still the keyboard works because I can press two times Left Ctrl and then 1 to 4 to change the computer Im controlling. This I can not do with the FreeBSD 5.2.1-p9 system I can only see the screen but have to change the computer im controlling by pressing the button on the switch box. I have tried to remove the cables and put them back again. But that does not help, the only solution I can see is to reboot the system and let it boot with it selected. I have also booted up with the mouse directly connected to the computer. Then when the system boot was completed I moved the mouse around to see that it did work. After that I plugged back the cable from the switch in to the computers mouse port. And the plugged the mouse back in the switch box, that did not work either. I have also added flags to both psm0 and atkbd in my kernel config: # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x0 device psm0at atkbdc? irq 12 flags 0x0 I have also tried with the flags set to 0x100 on both atkbd0 and psm0, but that doesn't seem to make any diffrance. I have done this on my FreeBSD 5.2.1-p9 box as well. I have also changed it in: /boot/device.hints But I don't get it working correctly either by that. Does anybody have a clue or have hade any similar problems and/or who could shine some light on this problem? Mvh Mattias Björk ps: sorry if this is posted one time already... I have hade some problems with my MUA. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse problems with KVM switch
Hello, [EMAIL PROTECTED] wrote: From: thrawn [EMAIL PROTECTED] Date: Thursday, August 19, 2004 6:18 am Hi, I have just brought this KVM switch: http://www.level1.com/products3.php?sklop=20id=590430 But Im having major problems with getting the mouse to work under FreeBSD. Even the keyboard does not work sometimes. This KVM switch has support for hotkey and also supports emulation on both mouse and keyboard. When I boot up my system and see the BIOS on the computer the keyboard works just fine. Then when it continues to boot and comes to the loader, it still works. And the it starts to load the kernel. But then when i get to the login prompt the keyboard does not work. And sometimes even thought I stay with the computer the hole boot process I can't even use the keyboard. So I have to use ssh to login to the computer and make it reboot to regain the keyboard. I have also tried to change the cables but I get the same results. And It works with no problems under Windows XP Pro. The system that im using is FreeBSD 5.2.1-p9, at least on this system. I have also two other computers that Im running FreeBSD-stable on. On one of my FreeBSD-stable machines I have hade a working mouse under X Windows System (Xorg latest from ports). But then I rebooted the system and when I started xdm, it found the mouse but when I move it around It didn't move like it should. It took some seconds before it moved and it did not move like it should, jumps several ramdom cm/inches on the screen (Perhaps in the direction that I move the mouse im not sure). Its on usable in other words. I have also tryied to use moused under FreeBSD but I get the same fault/problem. I also have a problem if I do not have this machine selected when I boot. Then when I switch to it when the boot of the FreeBSD system has complete, The screen on the monitor just blinks. Still the keyboard works because I can press two times Left Ctrl and then 1 to 4 to change the computer Im controlling. This I can not do with the FreeBSD 5.2.1-p9 system I can only see the screen but have to change the computer im controlling by pressing the button on the switch box. I have tried to remove the cables and put them back again. But that does not help, the only solution I can see is to reboot the system and let it boot with it selected. I have also booted up with the mouse directly connected to the computer. Then when the system boot was completed I moved the mouse around to see that it did work. After that I plugged back the cable from the switch in to the computers mouse port. And the plugged the mouse back in the switch box, that did not work either. I have also added flags to both psm0 and atkbd in my kernel config: # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x0 device psm0at atkbdc? irq 12 flags 0x0 I have also tried with the flags set to 0x100 on both atkbd0 and psm0, but that doesn't seem to make any diffrance. I have done this on my FreeBSD 5.2.1-p9 box as well. I have also changed it in: /boot/device.hints But I don't get it working correctly either by that. Does anybody have a clue or have hade any similar problems and/or who could shine some light on this problem? Mvh Mattias Björk Aloha Mattias This all sounds familiar. I too had a lot of trouble with a KVM switch. Actually, I tried two with the same problem you are alluding to. Does your KVM support hotkey? I have another KVM switch erlier that did work better but It didn't have support for hotkey. But It did not work perfectly but atleast the mouse worked mutch better if you compare to this. I came to the conclusion that the mouse will not work through the KVM switch using FBSD, or at least I never got it to. Im afraid that I can only agree. I have googled some also and there are quite a few posts that have the same topic. Some some years old. Not to blame FreeBSD but it seems that its a common problem. Or perhaps the KVM that I have been using are Crap or something in that direction. I have two computers that are both running 5.2.1 I have two with FreeBSD-Stable and one with 5.2.1-p9. I have connected a mouse directly to each computer. I still had to shutdown both computers and connect the cables for the monitor and keyboard from each to the KVM. I also connected and old mouse to the output of the KVM. I know that is a solution, don't need the mouse for the most of the time on the servers. But my Workstation Its requierd. Then again its kind of dumb to have a KVM if you still have to use the mouse directly connected to the computer. With all this connected, I then powered up both computers. All seems to work fine with the inconvenience of having to use 2 meese. I seldom have to go into one fo the computers, so I can live with it. As I still can return the KVM im thinking that I should do it. But not until I have
Re: Mouse problems with KVM switch
Hi, Leonard Zettel wrote: On Thursday 19 August 2004 04:55 pm, [EMAIL PROTECTED] wrote: From: thrawn [EMAIL PROTECTED] Date: Thursday, August 19, 2004 6:18 am Hi, I have just brought this KVM switch: http://www.level1.com/products3.php?sklop=20id=590430 But Im having major problems with getting the mouse to work under FreeBSD. Even the keyboard does not work sometimes. This KVM switch has support for hotkey and also supports emulation on both mouse and keyboard. When I boot up my system and see the BIOS on the computer the keyboard works just fine. Then when it continues to boot and comes to the loader, it still works. And the it starts to load the kernel. But then when i get to the login prompt the keyboard does not work. And sometimes even thought I stay with the computer the hole boot process I can't even use the keyboard. So I have to use ssh to login to the computer and make it reboot to regain the keyboard. I have also tried to change the cables but I get the same results. And It works with no problems under Windows XP Pro. The system that im using is FreeBSD 5.2.1-p9, at least on this system. I have also two other computers that Im running FreeBSD-stable on. On one of my FreeBSD-stable machines I have hade a working mouse under X Windows System (Xorg latest from ports). But then I rebooted the system and when I started xdm, it found the mouse but when I move it around It didn't move like it should. It took some seconds before it moved and it did not move like it should, jumps several ramdom cm/inches on the screen (Perhaps in the direction that I move the mouse im not sure). Its on usable in other words. I have also tryied to use moused under FreeBSD but I get the same fault/problem. I also have a problem if I do not have this machine selected when I boot. Then when I switch to it when the boot of the FreeBSD system has complete, The screen on the monitor just blinks. Still the keyboard works because I can press two times Left Ctrl and then 1 to 4 to change the computer Im controlling. This I can not do with the FreeBSD 5.2.1-p9 system I can only see the screen but have to change the computer im controlling by pressing the button on the switch box. I have tried to remove the cables and put them back again. But that does not help, the only solution I can see is to reboot the system and let it boot with it selected. I have also booted up with the mouse directly connected to the computer. Then when the system boot was completed I moved the mouse around to see that it did work. After that I plugged back the cable from the switch in to the computers mouse port. And the plugged the mouse back in the switch box, that did not work either. I have also added flags to both psm0 and atkbd in my kernel config: # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x0 device psm0at atkbdc? irq 12 flags 0x0 I have also tried with the flags set to 0x100 on both atkbd0 and psm0, but that doesn't seem to make any diffrance. I have done this on my FreeBSD 5.2.1-p9 box as well. I have also changed it in: /boot/device.hints But I don't get it working correctly either by that. Does anybody have a clue or have hade any similar problems and/or who could shine some light on this problem? Mvh Mattias Björk Aloha Mattias This all sounds familiar. I too had a lot of trouble with a KVM switch. Actually, I tried two with the same problem you are alluding to. I came to the conclusion that the mouse will not work through the KVM switch using FBSD, or at least I never got it to. Duh. All this newbie can add is that of all the dropped balls and blind alleys I have experienced wrestling with FreeBSD, problems with my four port KVM switch have not been among them. Make of said switch is lost in the mists of time - it is whatever CompUSA sells. I have a Logitech track ball; It and the keyboard have functioned well through various permutations of 5.1, 5.2, and 4.10, native and under KDE. -LenZ- What you are saying In short is that you did not experince any problems? I have two computers that are both running 5.2.1 I have connected a mouse directly to each computer. I still had to shutdown both computers and connect the cables for the monitor and keyboard from each to the KVM. I also connected and old mouse to the output of the KVM. With all this connected, I then powered up both computers. All seems to work fine with the inconvenience of having to use 2 meese. I seldom have to go into one fo the computers, so I can live with it. This is probably not the answer you were looking for but you were also looking for others who had problems. Best of Luck Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thanks for the answer. Mvh Mattias Björk
Re: Mouse problems with KVM switch
Hi, Jay O'Brien wrote: I had the same problems with a 4-port KVM. I am using a 2-port KVM successfully between an XP box and a FreeBSD 4.10 box. I've found that the scroll wheel doesn't work after switching back to Windows unless I also reset the KVM (Scroll Lock twice + End), but that's not a big deal. I have tryed to reset/rescan but it does not seem to help or even work. But I will try it out. It says for Auto Scan: To start Auto Scan automatically scans all ports one by one at a fixed interval: left Ctrl + left Ctrl + F1 But that does not help or even work, but perhaps im doing something wrong. Manual scan is the same but F2 instead of F1. Perhaps the problem is the mouse, Im using a Logitech Click! optical mouse. I have also tried my trackball Marbel Mouse and both are USB with a PS/2 converter. Perhaps that is the problem, but then again I have tryed a none mouse as well. But still that did not solve the problem. Here's the 2-port KVM switch: http://airlinkplus.com/kvm/akvm2.htm It's available at Fry's: http://shop1.outpost.com/product/3891817 Jay O'Brien Rio Linda, CA USA I live in sweden so I have to find a shop here in sweden. But I will solve this problem some how. Thanks for the reply anyway. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thanks for the help/answer Mvh Mattias Björk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse problems with KVM switch
Foster, ThomasX wrote: You apparently did try the device hints.. but is your kernel compiled to use that hints file? Also.. if you cat the output of the mouse device.. what do you get? Thom You mean on the FreeBSD 5.2.1-p9 box? If so, check below: [snip] machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident THRAWN #To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints #Default places to look for devices. makeoptions DEBUG=-g#Build kernel with gdb(1) debug symbols options SCHED_4BSD #4BSD scheduler options INET#InterNETworking options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device options NFSCLIENT #Network Filesystem Client options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS#Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. options PFIL_HOOKS # pfil(9) framework device isa device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering device atapicam device scbus # Needed for CAM device device pass# Needed to connect scsi to cam device cd # SCSI cd connected through CAM # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm [snip] I don't know exactly if I have done it right but I should check /boot/devices.hints for input right? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mattias Björk Sent: Thursday, August 19, 2004 2:30 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Mouse problems with KVM switch Hello, [EMAIL PROTECTED] wrote: From: thrawn [EMAIL PROTECTED] Date: Thursday, August 19, 2004 6:18 am Hi, I have just brought this KVM switch: http://www.level1.com/products3.php?sklop=20id=590430 But Im having major problems with getting the mouse to work under FreeBSD. Even the keyboard does not work sometimes. This KVM switch has support for hotkey and also supports emulation on both mouse and keyboard. When I boot up my system and see the BIOS on the computer the keyboard works just fine. Then when it continues to boot and comes to the loader, it still works. And the it starts to load the kernel. But then when i get to the login prompt the keyboard does not work. And sometimes even thought I stay with the computer the hole boot process I can't even use the keyboard. So I have to use ssh to login to the computer and make it reboot to regain the keyboard. I have also tried to change the cables but I get the same results. And It works with no problems under Windows XP Pro. The system that im using is FreeBSD 5.2.1-p9, at least on this system. I have also two other computers that Im running FreeBSD-stable on. On one of my FreeBSD-stable machines I have hade a working mouse under X Windows System (Xorg latest from ports). But then I rebooted the system and when I started xdm, it found the mouse but when I move it around It didn't move like it should. It took some seconds before it moved and it did not move like it should, jumps several ramdom cm/inches on the screen (Perhaps in the direction that I move the mouse im not sure). Its on usable in other words. I have also tryied to use moused
Re: Mouse problems with KVM switch
Hi, [EMAIL PROTECTED] wrote: From: Mattias Björk [EMAIL PROTECTED] Hello, [EMAIL PROTECTED] wrote: From: thrawn [EMAIL PROTECTED] Date: Thursday, August 19, 2004 6:18 am snip Does anybody have a clue or have hade any similar problems and/or who could shine some light on this problem? Mvh Mattias Björk snip Does your KVM support hotkey? I have another KVM switch erlier that did work better but It didn't have support for hotkey. But It did not work perfectly but atleast the mouse worked mutch better if you compare to this. Yes, the hotkeys work as designed. Aha okey, sometimes they don't work for me. Strange. I came to the conclusion that the mouse will not work through the KVM switch using FBSD, or at Aloha Mattias Actually, I tried two with the same problem you are alluding to. least I never got it to. I had bought one on the mainland last month. When I couldn't get the mouse to work, I bought another here on the Big Island. I acted the same so I returned it and am using the original. Okey, no help in chaning the mice for you either. Or perhaps the KVM that I have been using are Crap or something in that direction. Me Too!! I have connected a mouse directly to each computer. Forgot to mention that both rodents are usb. What do you mean with rodents, you mean the mice right? Have to luck up the word to understand. :) Then again its kind of dumb to have a KVM if you still have to use the mouse directly connected to the computer. At least I don't have to have 2 monitors and 2 keyboards on the desk. Well it would be near impossible for me to have 4x keyboards,mice and 21 monitors. But then again I might get a switch just for keyboard and monitor, save space anyway. What is the brand and model of your KVM? Made in China I guess you don't know, mine is LevelOne. Perhaps I should buy something more expensive. I think that I would be worth it, the price with cables for me was about 106 $. Perhaps It could be some interfarence that causes this problem. Robert Once again thanks for the answer. Mvh Mattias Björk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Authentication Problem/Login problem
Hi, I have setup qmail with vpopmail+courier-imap and are using a virtual domain. Its named mail.birch.se. Im running it on FreeBSD 5.2.1. I have used this guide to accomplish this: http://www.stevenfettig.com/mythoughts/archives/cat_qmail.php; (Qmail HOWTO 1 thru chapter 3.) I have also read some of the comments and did the change of AUTHMODULES=authvchkpw in /usr/local/etc/courier-imap/authdaemonrc from AUTHMODULES=authdaemon. And my /var/qmail/control/virtualdomains does have this line: mail.birch.se:mail.birch.se Im using thunderbird as my MUA. My user name is kladd Almost everything works fine, I can auth/login via imap-ssl and all. I get the certificate and accept it. However when I look in /var/log/maillog it says: Aug 10 01:50:18 mail imapd-ssl: LOGIN FAILED, ip=[:::192.168.10.201] Aug 10 01:50:18 mail imapd-ssl: LOGOUT, ip=[:::192.168.10.201] (There are more but just the same thing but other date/time stamps) And I can't see/list my mails, And If I send a mail to my self, with the option Place mail in sent folder set. I get an error message saying that it can't do it. I have tried to change the password several times but that does not seem to make any diffrance. I have listed and there are the mail that I have sent to my self in /usr/local/vpopmail/domains/mail.birch.se/kladd/Maildir/new I hope have not forgotten to do something, I can't think of anything that I have forgotten. Perhaps I have missed something but I have also checked the logs in /var/log. I have checked /var/messages and /var/log/qmail/current with tail -f. And there is not more that I can think of that is wrong. Does anybody have a clue on what might be wrong? This has something to do with the auth. I don't know but it might be something to with the open_relay fix/addon in the guide as well. Mvh Mattias Björk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATAPICAM FreeBSD 5.2.1
Hi, Derrick Edwards wrote: Good day to all. I have been going crazy trying to get K3b to work. Everytime I attempt to burn a cd, the system freezes and reboots. I have been on the formus for a month now trying to find a soulution. Seems a lot of other people are having the same issue, and all theses guys are pointing to atapicam. I reinstalled 4.10 for testing and k3b works perfectly. Is atapicam really the problem as I suspect? If so, will this be fixed prior to 5.3 release. Apologize in advance if this is a silly question. Thanks for your assistance, please let me know if you need additional info. Derrick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] When you are burning are you using SCSI, IDE or both in a combination? I have had some problems (on 5.2.1-RELEASE-p5) with using a SCSI CD-reader in combination with my NEC 1100 burner. If I start K3B it freezes my system, but if I removed my SCSI CD-reader the problem went away. But the I only had my IDE NEC 1100 burner left. Note that I had a Hard drive as well attached too my SCSI controller card and that did not cause in my eye's any problems. Perhaps you are having a similar problem? But then again I don't think that my problems is directly related too yours. Thanks Mattias Björk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with qmail and connecting to smtp daemon and problem with my virtual domain.
Hello Peter, Peter Risdon wrote: Mattias Björk wrote: Hi, list(ners) Problem nr 1. I have read the following guide to install qmail: http://www.stevenfettig.com/mythoughts/archives/cat_qmailhowto.php I'll try to help. You might have looked at these already but if not, they're worthwhile: http://cr.yp.to/qmail.html for a general guide, especially the qmail pictures, and: Homepage of qmail, have read some of it from time to time. http://www.lifewithqmail.org - especially read: http://www.lifewithqmail.org/lwq.html#test for some diagnostic and testing guidance. I did know about the page, but I seem to have forgotten about it. The Problem is that the link does not work for me as I type. But I have google and found some other links that I could use. The might perhaps not be so up to date if compared to www.lifewithqmail.org. Probably the starting point for testing a new installation is to look at the output of: #qmailctl stat I do not have that commad/script on the server. to make sure everything is running properly. All uptimes should be 1 second and identical or very close to it. You should see lines for at least qmail-smtpd and qmail-send and their respective logs. I have not installed from source by my self, I found that all programs where avalible thru ports. I will make this as sort as possible, There is disagreement between the author of qmail and the port maintainer about where the service directory should go. djb says /service whereas the port maintainer says /var/service and this can lead to strange mixed installations, especially when you've been following installation or configuration guides that are not specific to FreeBSD. Check that you only have one or the other. If qmailctl stat does not show enough processes, this might be why. I have /var/service, my directory listing is like this: qmail - /var/qmail/service/qmail smtpd - /var/qmail/service/smtpd Section 2.4 qmail-conf on the page: http://stevenfettig.com/mythoughts/archives/91.php Says how to set up the service files/directories, that is so I have done it. The file /var/qmail/service/qmail/run does look like this: #!/bin/sh exec /var/qmail/rc And the file /var/qmail/rc does look like this: #!/bin/sh exec env - PATH=/var/qmail/bin:$PATH \ qmail-start ./Maildir/ /usr/local/bin/multilog t /var/log/qmail qmaill And finaly the file /var/qmail/service/smtpd/run does look like this: #!/bin/sh exec 21 \ envdir ./env \ sh -c ' case $REMOTENAME in h) H=;; p) H=p;; *) H=H;; esac case $REMOTEINFO in r) R=;; [0-9]*) R=t$REMOTEINFO;; *) R=R;; esac exec \ envuidgid qmaild \ softlimit ${DATALIMIT+-d$DATALIMIT} \ /usr/local/bin/tcpserver \ -vDU$H$R \ ${LOCALNAME+-l$LOCALNAME} \ ${BACKLOG+-b$BACKLOG} \ ${CONCURRENCY+-c$CONCURRENCY} \ -xtcp.cdb \ -- ${IP-0} ${PORT-25} \ /var/qmail/bin/qmail-smtpd ' I set up vpopmail with domain setiathome.birch.se. The domain is birch.se, fqdn is setiathome.birch.se for the host. I didn't how ever install everything. I didn't install ezmlm-idx and auotrespond, but its not vital for the operation of the mail-server at this time. That should be fine. I had this problem, that i couldn't send message to the FreeBSD mailinglists, but I solved it by adding my ISP outgoing smtpserver to /var/qmail/control/smtproutes. Perhaps it hade something to do with reversed DNS. I don't think this list checks reverse DNS. Could you send mail anywhere else? Some ISPs do not allow e-mail to be sent through their network unless their smtp server is used, as an anti-spam precaution. Aha okey, but I didn't send my mail through my ISP smtp server to get to anything else but @freebsd.org, didn't work before that. Here are my directory listing from /var/qmail/control/: defaultdomain plusdomain smtproutes locals rcpthosts virtualdomains locals.lock rcpthosts.lock virtualdomains.lock me servercert.pem In the file defaultdomain and plusdomain are the string entry birch.se. In the me file there are the hostname of the mail server. And finaly in the virtualdomains file are the string: setiathome.birch.se:setiathome.birch.se That means you're expecting to receive mail addressed to [EMAIL PROTECTED], not [EMAIL PROTECTED] - is that what you want? There should also be an entry in rcpthosts, just the domain name, setiathome.birch.se in this case. Have you made these entries by hand? You shouldn't need to since you are running vpopmail (see below). Yes, for now. I forgot to say that *.birch.se is my internal domain, and not an domain that works on the internet. How ever I use mutt and thunderbird as my MUA and I have set my mail address to [EMAIL PROTECTED] (as you could se in this mail) I have MX records for setiathome.birch.se and thrawn.birch.se and dasboot.birch.se. So what Im saying is that I understand that [EMAIL PROTECTED]/[EMAIL
Problems with qmail and connecting to smtp daemon and problem with my virtual domain.
Hi, list(ners) Problem nr 1. I have read the following guide to install qmail: http://www.stevenfettig.com/mythoughts/archives/cat_qmailhowto.php I have not installed from source by my self, I found that all programs where avalible thru ports. I will make this as sort as possible, I set up vpopmail with domain setiathome.birch.se. The domain is birch.se, fqdn is setiathome.birch.se for the host. I didn't how ever install everything. I didn't install ezmlm-idx and auotrespond, but its not vital for the operation of the mail-server at this time. I had this problem, that i couldn't send message to the FreeBSD mailinglists, but I solved it by adding my ISP outgoing smtpserver to /var/qmail/control/smtproutes. Perhaps it hade something to do with reversed DNS. Here are my directory listing from /var/qmail/control/: defaultdomain plusdomain smtproutes locals rcpthosts virtualdomains locals.lock rcpthosts.lock virtualdomains.lock me servercert.pem In the file defaultdomain and plusdomain are the string entry birch.se. In the me file there are the hostname of the mail server. And finaly in the virtualdomains file are the string: setiathome.birch.se:setiathome.birch.se My problems is that I can connect to port 25. The problem is that nothing happens, look below: thrawn/usr/home/thrawn/tmp% telnet setiathome.birch.se 25 Trying 192.168.10.10... Connected to setiathome.birch.se. Escape character is '^]'. Connection closed by foreign host. thrawn/usr/home/thrawn/tmp% I don't even press a button before Im in the console again. I run the sockstat command on my server and I get the following output: setiathome/var/qmail/control# sockstat | grep :25 qmaild tcpserve 666453 tcp4 *:25 *:* setiathome/var/qmail/control# And the output of netstat -nl -f inet -p tcp | grep 25 does not show anything how ever. How ever, in the first chapter of the guide. It says the following at 1.6 courier-imap Hack : Because the SMTP after IMAP4(s)/POP3(s) of courier-imap does not work, here is a small wrapper. This hack tracks the IP of the authenticating user and allows for SMTP sending (i.e. a form of authenticated SMTP relay). Perhaps that have something to do with that it doesn't work. Problem nr 2. The other problem is that I have a user named thrawn that is a local user on the system. The home directory of the user is /usr/home/thrawn. And the the Maildir diretory is /usr/home/thrawn/Maildir. When I connect to my mail via imapd-ssl, It uses the local user Maildir. But I have a domain for vpopmail at the following directory /usr/local/vpopmail/domains/setiathome.birch.se And there I also have a user named thrawn and with the same password as the local thrawn account. If I understand it correctly for some reason courier-imap doesn't use my virtual domain, but it does use the local user. Im sure that it might be me that I have done something wrong or the documentation is not completly correct. Perhaps I should use another domain name and se if it works then, I haven't tested that yet. I think that it should work anyway, but I might be wrong. I hope that this information is of some use and I haven't forgotten to mutch information. Thanks Mattias Björk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]