From owner-freebsd-current Tue Nov 7 0:13:58 2000 Delivered-To: freebsd-current@freebsd.org Received: from cartier.cirx.org (cartier.cirx.org [211.72.15.243]) by hub.freebsd.org (Postfix) with ESMTP id B21AD37B479 for ; Tue, 7 Nov 2000 00:13:48 -0800 (PST) Received: (from clive@localhost) by cartier.cirx.org (8.11.1/8.11.1) id eA78Dbb07034 for freebsd-current@FreeBSD.ORG; Tue, 7 Nov 2000 16:13:37 +0800 (CST) (envelope-from clive) Date: Tue, 7 Nov 2000 16:13:37 +0800 From: Clive Lin To: freebsd-current@FreeBSD.ORG Subject: Reproduceable current kernel panic. Message-ID: <20001107161336.A6911@cartier.cirx.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="9amGYk9869ThD9tj" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-PGP-key: http://freebsd.sinica.edu.tw/~clive/gpgkey.txt Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Sorry to bother/spam this mailing list again. In brief, rescent kernel may panic because of several IPFIREWALL options. The panic message I could tell is about trap 12, swi6: clock and page fault. And the machine hangs solidly right away, I have no idea how to provide a back trace :( There're 2 ways to triger the panic. 1) ssh to a 4.X machine. (In my environment, 4.1.1-RELEASE) 2) Wait and see, it will panic in multi-user mode soon or latter. Attached 2 files are my kernel configuration file and diff against GENERIC. (comments stripped) My /usr/src is about time after cg@FreeBSD.org's es137x mixer fix. The way I buildkernel is make buildkernel. No CFLAGS and COPTFLAGS defined in my /etc/make.conf. Of course, buildworld and installworld has been done successfully before buildkernel. GENERIC kernel works pretty smooth. Thanks for any help, including how to provide more debug infomation. Clive -- CirX - This site doesnt' exist. 9c k9o h9 s1bg s1f=, 7v .y xqx a sj m8r ffg1 vg5 a6 asox tmul h38 =. ant sj m8r ob =? 1fj mwby a1 tao vg5 =. soq df v ' .a. CirX=. --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=GENE machine i386 cpu I686_CPU ident GENE maxusers 256 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options NFS #Network Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_LINUX options VESA options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options SHMALL=4097 options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" options SHMMAXPGS=4097 options SHMMIN=2 options SHMMNI=512 options SHMSEG=1024 options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV # install a CDEV entry in /dev device isa device pci device pcm device sbc device midi device seq device fdc device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices device atkbdc 1 device atkbd device psm device vga device splash device sc 1 device npx device sio device ppc device ppbus # Parallel port bus (required) device lpt # Printer device miibus # MII bus support device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') device ed device random # Entropy device options NOBLOCKRANDOM device loop # Network loopback device ether # Ethernet support device pty 256 # Pseudo-ttys (telnet etc) device snp 4 device bpf 4 # Berkeley packet filter options IPFIREWALL options IPFIREWALL_FORWARD options IPFIREWALL_VERBOSE options IPDIVERT options DUMMYNET --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="GENE.diff" --- GENERIC Tue Nov 7 15:38:33 2000 +++ GENE Tue Nov 7 15:38:11 2000 @@ -1,25 +1,17 @@ machine i386 -cpu I386_CPU -cpu I486_CPU -cpu I586_CPU cpu I686_CPU -ident GENERIC -maxusers 32 -options MATH_EMULATE #Support for x87 emulation +ident GENE +maxusers 256 options INET #InterNETworking -options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support -options MFS #Memory Filesystem -options MD_ROOT #MD is a potential root device options NFS #Network Filesystem -options NFS_ROOT #NFS usable as root device, NFS required -options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem -options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] +options COMPAT_LINUX +options VESA options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor @@ -28,14 +20,21 @@ options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores +options SHMALL=4097 +options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" +options SHMMAXPGS=4097 +options SHMMIN=2 +options SHMMNI=512 +options SHMSEG=1024 options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV # install a CDEV entry in /dev device isa -device eisa device pci -options COMPAT_OLDISA # compatability shims for lnc, le -options COMPAT_OLDPCI # compatability shims for lnc, vx +device pcm +device sbc +device midi +device seq device fdc device ata device atadisk # ATA disk drives @@ -43,32 +42,7 @@ device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering -device ahb # EISA AHA1742 family -device ahc # AHA2940 and onboard AIC7xxx devices -device amd # AMD 53C974 (Teckram DC-390(T)) -device isp # Qlogic family -device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') -device adv -device adw -device bt -device aha 1 -device aic -device ncv # NCR 53C500 -device nsp # Workbit Ninja SCSI-3 -device stg # TMC 18C30/18C50 -device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID -device dpt # DPT Smartcache III, IV - See NOTES for options! -device mly # Mylex AcceleRAID/eXtremeRAID -device scbus # SCSI bus (required) -device da # Direct Access (disks) -device sa # Sequential Access (tape etc) -device cd # CD -device pass # Passthrough device (direct SCSI access) -device aac # Adaptec FSA RAID -device ida # Compaq Smart RAID -device amr # AMI MegaRAID -device mlx # Mylex DAC960 family -device twe # 3ware ATA RAID +options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices device atkbdc 1 device atkbd device psm @@ -76,67 +50,22 @@ device splash device sc 1 device npx -device apm -device card -device pcic device sio device ppc device ppbus # Parallel port bus (required) device lpt # Printer -device plip # TCP/IP over parallel -device ppi # Parallel port interface device -device de # DEC/Intel DC21x4x (``Tulip'') -device fxp # Intel EtherExpress PRO/100B (82557, 82558) -device vx # 3Com 3c590, 3c595 (``Vortex'') -device wx # Intel Gigabit Ethernet Card (``Wiseman'') device miibus # MII bus support -device dc # DEC/Intel 21143 and various workalikes -device pcn # AMD Am79C79x PCI 10/100 NICs -device rl # RealTek 8129/8139 -device sf # Adaptec AIC-6915 (``Starfire'') -device sis # Silicon Integrated Systems SiS 900/SiS 7016 -device ste # Sundance ST201 (D-Link DFE-550TX) -device tl # Texas Instruments ThunderLAN -device tx # SMC 9432TX (83c170 ``EPIC'') -device vr # VIA Rhine, Rhine II -device wb # Winbond W89C840F device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') device ed -device ex -device ep -device fe -device cs -device sn -device wi -device an -device awi -device xe -device ie -device le -device lnc device random # Entropy device -options NOBLOCKRANDOM # avoid any blocking on device random +options NOBLOCKRANDOM device loop # Network loopback device ether # Ethernet support -device sl # Kernel SLIP -device ppp 1 # Kernel PPP -device tun # Packet tunnel. -device pty # Pseudo-ttys (telnet etc) -device md # Memory "disks" -device gif 4 # IPv6 and IPv4 tunneling -device faith 1 # IPv6-to-IPv4 relaying (translation) -device bpf # Berkeley packet filter -device uhci # UHCI PCI->USB interface -device ohci # OHCI PCI->USB interface -device usb # USB Bus (required) -device ugen # Generic -device uhid # "Human Interface Devices" -device ukbd # Keyboard -device ulpt # Printer -device umass # Disks/Mass storage - Requires scbus and da -device ums # Mouse -device urio # Diamond Rio 500 MP3 player -device uscanner # Scanners -device aue # ADMtek USB ethernet -device cue # CATC USB ethernet -device kue # Kawasaki LSI USB ethernet +device pty 256 # Pseudo-ttys (telnet etc) +device snp 4 +device bpf 4 # Berkeley packet filter +options IPFIREWALL +options IPFIREWALL_FORWARD +options IPFIREWALL_VERBOSE +options IPDIVERT +options DUMMYNET --9amGYk9869ThD9tj-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message