Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2000 19:21:44 +0000
From:      Gustavo Vieira Goncalves Coelho Rios <kernel@tdnet.com.br>
To:        qmail@list.cr.yp.to, stable@freebsd.org
Subject:   qmail + freebsd = reboot
Message-ID:  <39BFD3C8.5167FF96@tdnet.com.br>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX
>
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.
grios@etosha:/var/log$ /sbin/dmesg 
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX>
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: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443LX (440 LX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443LX (440 LX) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib1
pci1: <S3 ViRGE GX2 graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 12
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at
device 7.3 on pci0
ahc0: <Adaptec 2940 Ultra SCSI adapter> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> 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: <Parallel port> 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: <HEWLETT-PACKARD DESKJET 610C> MLC,PCL,PML
lpt0: <Printer> 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: <Creative SB AWE64> 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: <SB DSP 4.16> on sbc0
unknown0: <Game> at port 0x200-0x207 on isa0
unknown1: <WaveTable> at port 0x620-0x623 on isa0
IP packet filtering initialized, divert enabled, rule-based forwarding
disabled, default to accept, unlimited logging
ad0: 8063MB <QUANTUM FIREBALL SE8.4A> [16383/16/63] at ata0-master using
UDMA33
afd0: 96MB <IOMEGA ZIP 100 ATAPI Floppy> [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: <QUANTUM VIKING II 9.1WSE 5520> 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 <stdio.h>

#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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39BFD3C8.5167FF96>