From root@akhe22qcy12il.ab.hsia.telus.net Mon May 13 00:12:21 2002 Return-Path: Received: from akhe22qcy12il.ab.hsia.telus.net (akhe22qcy12il.ab.hsia.telus.net [66.222.134.214]) by hub.freebsd.org (Postfix) with ESMTP id 3525037B432 for ; Mon, 13 May 2002 00:11:50 -0700 (PDT) Received: (from root@localhost) by akhe22qcy12il.ab.hsia.telus.net (8.11.6/8.11.6) id g4D7BbZ21410; Mon, 13 May 2002 01:11:37 -0600 (MDT) (envelope-from root) Message-Id: <200205130711.g4D7BbZ21410@akhe22qcy12il.ab.hsia.telus.net> Date: Mon, 13 May 2002 01:11:37 -0600 (MDT) From: soralx@cydem.zp.ua To: FreeBSD-gnats-submit@freebsd.org Subject: kernel panic with devices 'sio' removed from kernel X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 38024 >Category: kern >Synopsis: kernel panic with devices 'sio' removed from kernel >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 13 00:20:04 PDT 2002 >Closed-Date: Fri Aug 15 21:36:27 PDT 2003 >Last-Modified: Fri Aug 15 21:36:27 PDT 2003 >Originator: SorAlx >Release: FreeBSD 4.5-RELEASE i386 (updated from 'FreeBSD 4.4-RELEASE i386') >Organization: none >Environment: System: FreeBSD soralx.home 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Sun May 5 23:57:12 MDT 2002 root@soralx.home:/usr/src/sys/compile/SORALX i386 [kernel.old] Hardware: Asus Socket7 P/I-P55TVP4 mboard (+last FLASH BIOS update); CPU: Pentium/P54C (200.45-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 75497472 (73728K bytes) [4 SIMMs] Intel Pentium detected, installing workaround for F00F bug; VESA: v2.0, 4096k memory, flags:0x1, mode table:0xc00c34c8 (c00034c8) VESA: Alliance Semiconductor AT3D; xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xe000-0xe03f irq 12 at device 9.0 on pci0; sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A; ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0; aic0: at port 0x340-0x35f irq 11 on isa0; sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0; ad0: 9773MB [19857/16/63] at ata0-master WDMA2 [bad blocks] [root]; acd0: CDROM at ata1-master using BIOSPIO; da0: Fixed Direct Access SCSI-2 device; Macrobug (M$) mouse hangs on sio1, using 'PS/2 -> serial' adapter; panics too when I disconnect the adapter. >Description: Sorry if this is a known problem - "FreeBSD.org"'s PR search doesn't work. After removing all Serial ports ("sio*") from kernel, kernel panics after loading: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present [...] Cause of the problem unknown yet I tried to test the kernel without "sio*" coz someone told me that 'ep' NIC worked poorly ([dropped packets?], was slow, BAD pings, etc... I can get more info on this if needed) before 'sio's were added back to kernel. ---------------------------saw here - kernel config------------------------- machine i386 cpu I586_CPU ident SORALX maxusers 32 options CLK_USE_TSC_CALIBRATION options CLK_USE_I8254_CALIBRATION 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 UFS_DIRHASH #Improve performance on big directories #options MFS #Memory Filesystem #options NFS #Network Filesystem #options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=1500 #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 P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev device isa device pci device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? pseudo-device splash device sc0 at isa? flags 0x100 #device vt0 at isa? #options FAT_CURSOR # start with block cursor device npx0 at nexus? port IO_NPX irq 13 device apm0 at nexus? flags 0x20 # Advanced Power Management #device sio0 at isa? port IO_COM1 flags 0x10 irq 4 #device sio1 at isa? port IO_COM2 irq 3 device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device device miibus # MII bus support device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device tun # Packet tunnel. pseudo-device gzip # Run gzipped a.out's pseudo-device vn # Vnode driver (turns a file into a device) #pseudo-device md # Memory "disks" pseudo-device bpf #Berkeley packet filter options PNPBIOS options CPU_SUSP_HLT options TCP_DROP_SYNFIN options VESA options VGA_WIDTH90 options COMPAT_LINUX #option COMPAT_SVR4 options ROOTDEVNAME=\"ufs:/dev/ad0s2a\" options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" options SC_NORM_REV_ATTR="(FG_BLACK|BG_GREEN)" options SC_KERNEL_CONS_ATTR="(FG_LIGHTBLUE|BG_BLACK)" options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_BLUE)" #options IPSEC #IP security #options IPSEC_ESP #IP security (crypto; define w/ IPSEC) #options IPSEC_DEBUG #debug for IP security #options IPFIREWALL #firewall #options IPFIREWALL_VERBOSE #print information about #options IPFIREWALL_FORWARD #enable transparent proxy support #options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity #options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default #options IPDIVERT #divert sockets #options IPFILTER #ipfilter support #options IPFILTER_LOG #ipfilter logging options RANDOM_IP_ID options SMBFS #SMB/CIFS filesystem options NETSMB #SMB/CIFS requester options NETSMBCRYPTO #encrypted password support for SMB options LIBMCHAIN #mbuf management library options LIBICONV #mbuf management library device uhci # UHCI 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 uscanner # Scanners device sbc device pcm0 at sbc? device aic0 at isa? # Adaptec 152x 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) ----------------------------------------------------------------------------- >How-To-Repeat: remove "sio*" from your kernel config, install new kernel, reboot [test NIC] >Fix: don't disable "sio*"? >Release-Note: >Audit-Trail: State-Changed-From-To: open->feedback State-Changed-By: kris State-Changed-When: Mon Jul 14 03:28:28 PDT 2003 State-Changed-Why: Does this problem persist in recent releases? If so, please obtain a debugging traceback as explained in http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html http://www.freebsd.org/cgi/query-pr.cgi?pr=38024 State-Changed-From-To: feedback->closed State-Changed-By: kris State-Changed-When: Fri Aug 15 21:36:09 PDT 2003 State-Changed-Why: Feedback timeout http://www.freebsd.org/cgi/query-pr.cgi?pr=38024 >Unformatted: