Date: Mon, 13 May 2002 01:11:37 -0600 (MDT) From: soralx@cydem.zp.ua To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/38024: kernel panic with devices 'sio' removed from kernel Message-ID: <200205130711.g4D7BbZ21410@akhe22qcy12il.ab.hsia.telus.net>
next in thread | raw e-mail | index | archive | help
>Number: 38024
>Category: kern
>Synopsis: kernel panic with devices 'sio' removed from kernel
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 13 00:20:04 PDT 2002
>Closed-Date:
>Last-Modified:
>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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
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: <Parallel port> 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: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0;
aic0: <Adaptec 6260/6360 SCSI controller> at port 0x340-0x35f irq 11 on isa0;
sbc0: <Creative SB16/SB32> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0;
ad0: 9773MB <FUJITSU MPF3102AT> [19857/16/63] at ata0-master WDMA2 [bad blocks] [root];
acd0: CDROM <MATSHITA CR-574> at ata1-master using BIOSPIO;
da0: <QUANTUM FIREBALL540S 1Q09> 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:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205130711.g4D7BbZ21410>
