From owner-freebsd-stable Wed Sep 13 18:53:41 2000 Delivered-To: freebsd-stable@freebsd.org Received: from ns1.jonelrienton.org (dsl-64-34-25-237.telocity.com [64.34.25.237]) by hub.freebsd.org (Postfix) with SMTP id 9B31437B423 for ; Wed, 13 Sep 2000 18:53:31 -0700 (PDT) Received: (qmail 55719 invoked from network); 14 Sep 2000 02:10:55 -0000 Received: from debian (10.29.22.23) by zeus with SMTP; 14 Sep 2000 02:10:55 -0000 Message-ID: <003f01c01df0$164dd510$17161d0a@jonelrienton.org> From: "Jonel Rienton" To: "Gustavo Vieira Goncalves Coelho Rios" , , References: <39BFD3C8.5167FF96@tdnet.com.br> Subject: Re: qmail + freebsd = reboot Date: Wed, 13 Sep 2000 21:04:16 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 that sounds kinda odd, i've been using qmail for almost 4 years now and this is the first time i've heard of such incident. how did you install qmail? Jonel Rienton http://qmail.freebsduser.org sent by qmail-1.03 on a FreeBSD 4.1-STABLE - ----- Original Message ----- From: "Gustavo Vieira Goncalves Coelho Rios" To: ; Sent: Wednesday, September 13, 2000 2:21 PM Subject: qmail + freebsd = reboot | Dear gentleman, | | i have just installed qmail in my freebsd box, but after request | qmail to send my message, i got my box reboot. At a first look, the | machine is not supposed to be reboot under a software error, if it | does it is an operating system problem matter. | | FreeBSD is well known for its rock solid performance, but i am | really confused since another server running linux do the job very | well. | | This reboot only happens when i send MANY message to a domain | outside my box one, all local messages are delivered very well. My | qmail version is 1.03 | | here goes my uname -a: | | grios@etosha:~$ uname -a | FreeBSD etosha 4.1-STABLE FreeBSD 4.1-STABLE #0: Sun Sep 10 | 17:59:18 GMT 2000 root@etosha:/usr/obj/usr/src/sys/ETOSHA i386 | | | All i got in /var/log/messages is (only the part pertinent to | qmail) | | Sep 13 17:12:21 etosha /kernel: pid 3197 (qmail-remote), uid 1008: | exited on sig | nal 11 | | | my dmesg is:Copyright (c) 1992-2000 The FreeBSD Project. | Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, | 1994 | The Regents of the University of California. All rights | reserved. | FreeBSD 4.1-STABLE #0: Sun Sep 10 17:59:18 GMT 2000 | root@etosha:/usr/obj/usr/src/sys/ETOSHA | Timecounter "i8254" frequency 1193182 Hz | CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU) | Origin = "GenuineIntel" Id = 0x634 Stepping = 4 | | Features=0x80f9ff real memory = 134217728 (131072K bytes) | avail memory = 127643648 (124652K bytes) | Preloaded elf kernel "kernel" at 0xc030c000. | Preloaded userconfig_script "/boot/kernel.conf" at 0xc030c09c. | Preloaded elf module "vesa.ko" at 0xc030c0ec. | VESA: v2.0, 4096k memory, flags:0x0, mode table:0xc00c6d9d | (c0006d9d) VESA: Diamond Multimedia Systems, Inc. | Pentium Pro MTRR support enabled | apm0: on motherboard | apm: found APM BIOS v1.2, connected at v1.2 | npx0: on motherboard | npx0: INT 16 interface | pcib0: on motherboard | pci0: on pcib0 | pcib1: at device 1.0 | on pci0 | pci1: on pcib1 | pci1: at 0.0 irq 11 | isab0: at device 7.0 on pci0 | isa0: on isab0 | atapci0: port 0xf000-0xf00f at | device 7.1 on pci0 | ata0: at 0x1f0 irq 14 on atapci0 | ata1: at 0x170 irq 15 on atapci0 | pci0: at 7.2 irq 12 | chip1: port | 0x5000-0x500f at device 7.3 on pci0 | ahc0: port 0xe400-0xe4ff mem | 0xe9000000-0xe9000fff irq 11 at device 11.0 on pci0 | ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs | isa0: too many dependant configs (8) | isa0: unexpected small tag 14 | atkbdc0: at port 0x60,0x64 on isa0 | atkbd0: irq 1 on atkbdc0 | vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff | on isa0 | sc0: on isa0 | sc0: VGA <10 virtual consoles, flags=0x200> | sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0 | sio1: type 16550A | sio2 at port 0x3e8-0x3ef irq 4 on isa0 | sio2: type 16550A | ppc0: at port 0x378-0x37f irq 7 on isa0 | ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode | ppbus0: IEEE1284 device found /NIBBLE/ECP | Probing for PnP devices on ppbus0: | ppbus0: MLC,PCL,PML | lpt0: on ppbus0 | lpt0: Interrupt-driven port | ed0 at port 0x300-0x31f iomem 0xd8000 irq 10 on isa0 | ed0: address 00:00:21:6c:8f:e0, type NE2000 (16 bit) | sbc0: at port | 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 | sbc0: setting card to irq 5, drq 1, 5 | pcm0: on sbc0 | unknown0: at port 0x200-0x207 on isa0 | unknown1: at port 0x620-0x623 on isa0 | IP packet filtering initialized, divert enabled, rule-based | forwarding disabled, default to accept, unlimited logging | ad0: 8063MB [16383/16/63] at ata0-master | using UDMA33 | afd0: 96MB [96/64/32] at ata1-master | using PIO0 | acd0: CDROM <34X CD-ROM> at ata1-slave using UDMA33 | Mounting root from ufs:/dev/da0s1a | da0 at ahc0 bus 0 target 6 lun 0 | da0: Fixed Direct Access SCSI-2 | device da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), | Tagged Queueing Enabled | da0: 8709MB (17836668 512 byte sectors: 64H 32S/T 8709C) | WARNING: / was not properly dismounted | | | | I am really confused how this error could reboot my box, since i | have no knowledge on freebsd internals. | | | | Everything i did to send message was: | | grios@etosha:~/personal$ ./mail kernel@tdnet.com.br | <~guest/teste_mail.txt | | | And the source code for mail.c is: | | grios@etosha:~/personal$ more mail.c | #include | | #define MAIL_BINARY "/usr/bin/mail" | | int | main(int argc, char *argv[]) | { | FILE *out; | char buffer[255], | input[50000]; | int count; | | sprintf(buffer, "%s %64s", MAIL_BINARY, argv[1]); | out = popen(buffer, "w"); | | fprintf(out, "\bContent-Type: | multipart-mixed;\nboundary=\"---1234567890df | \";\n"); | | count = read(0, input, 49999); | input[count]='\0'; | fprintf(out, "-----1234567890df\n"); | fprintf(out, "Content-Type: text/html; | charset=iso-8859-1\n" | "Content-Transfer-Encoding: 8bit\n"); | fprintf(out, input); | | pclose(out); | } | | | I would like to known if some of you have faced such a problem! | Please let me know and how you did solve it! I am desperatly to fix | this | problem! | | Thanks a lot for your time and cooperation, | best regards! | | | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-stable" in the body of the message -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use iQA/AwUBOcAyHqQ0pAI9Fl/WEQLjgwCcC+XmMAK8WW2Da9VNIbK5BtJ0+o0AoMdo zLVyBBfAKsKL2BwSACbfJVkv =g6FT -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message