From owner-freebsd-scsi Wed Jan 14 14:19:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA04331 for freebsd-scsi-outgoing; Wed, 14 Jan 1998 14:19:01 -0800 (PST) (envelope-from owner-freebsd-freebsd-scsi@FreeBSD.ORG) Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA04100; Wed, 14 Jan 1998 14:17:30 -0800 (PST) (envelope-from seb@erix.ericsson.se) Received: from super.du.etx.ericsson.se (root@super.du.etx.ericsson.se [150.236.14.16]) by penguin.wise.edt.ericsson.se (8.7.5/8.7.3/glacier-1.12) with ESMTP id XAA03310; Wed, 14 Jan 1998 23:17:25 +0100 (MET) Received: from scotch.du.etx.ericsson.se (seb@scotch.du.etx.ericsson.se [150.236.14.76]) by super.du.etx.ericsson.se (8.8.8/8.8.8/erix-1.1) with ESMTP id XAA15083; Wed, 14 Jan 1998 23:17:24 +0100 (MET) Received: by scotch.du.etx.ericsson.se (8.8.5/client-1.4) id XAA07158; Wed, 14 Jan 1998 23:17:23 +0100 (CET) Date: Wed, 14 Jan 1998 23:17:23 +0100 (CET) Message-Id: <199801142217.XAA07158@scotch.du.etx.ericsson.se> From: Sebastian Strollo To: freebsd-scsi@FreeBSD.ORG, freebsd-hardware@FreeBSD.ORG Subject: running 2.2.5-RELEASE on a ASUS P2L97-S Sender: owner-freebsd-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi everyone! I am having trouble with a newly purchased machine that I have put together. Below is the specs. At first the system would completely lock up (i.e. only respond to the Mighty Big Reset Button) when putting load on the SCSI disk. By load I mean e.g. trying to install the system on it or running "bonnie" on it. So I have been trying some different combinations: * removing the CDROM - no difference, still locks up. * removing all SCSI devices - no lockups, but I want to use SCSI :-( * disabling the L2 cache - no difference, still locks up. * disabling Ultra in the SCSI bios - no difference, still locks up. * putting a 100MB SCSI disk on the 50pin bus, and writing to files on that one - this locks up the machine as well. * Installed WinCrap95 on a partition on the SCSI disk, it worked but after a while the whole machine started to act flaky, crashing left and right. * back to FreeBSD, and now the machine is starting to fall all over the place. "Fatal trap 12: page fault while in kernel mode" and "Double Fault" (what is this?). Please help me with suggestions on what might be wrong, or new things to try out. Eagerly awaiting your input, -- Sebastian ---------------------------------------------------------------------- FreeBSD version: 2.2.5-RELEASE Hardware: Motherboard/CPU: ASUS P2L97-S (has a 440LX, PIIX4 and AIC7880 onboard) with an Intel Pentium II 233MHz 1 (one) 64MB SDRAM 100MHz module IDE disk: IBM Deskstar 8.4GB, IBM-DHEA-38451 SCSI disk: 4,5GB U2W FUJITSU MAB3045SP 0105 SCSI CDROM: NEC CD-ROM DRIVE:464 1.04 Ethernet card: 3COM 3C905 Fast Etherlink XL PCI graphics board: ATI Video Boost (2MB, Mach64) I have terminated the SCSI bus accordingly (T meaning termination): +---+ +----+ T=| A |=========|FUJ.|=T========|- +-------+ | I | | HD | |- (external connector) T=| CDROM |=========| C |=========| |=T========|- +-------+ +---+ +----+ Info on the system: (One thing which I don't understand is why the ethernet card, the adaptec chip (and the USB chip) gets the same irq 11? This is done by the BIOS(?) - I tried to wire the PCI slot which the ethernet card sits in to a different irq, which just lead to that all three devices that were previously mapped to irq 11 now got mapped to the new irq) # dmesg Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.5-RELEASE #2: Wed Jan 14 21:13:02 GMT 1998 root@fatburen.du.etx.ericsson.se:/usr/src/sys/compile/FATBUREN Calibrating clock(s) ... i586 clock: 233866561 Hz, i8254 clock: 1193196 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency CLK_USE_I586_CALIBRATION not specified - using old calibration method CPU: Pentium Pro (233.86-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping=4 Features=0x80f9ff,MTRR,PGE,MCA,CMOV> real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00241000 - 0x03ffdfff, 64737280 bytes (15805 pages) avail memory = 62484480 (61020K bytes) pcibus_setup(1): mode 1 addr port (0x0cf8) is 0x8000005c pcibus_setup(1a): mode1res=0x80000000 (0x80000000) pcibus_check: device 0 is there (id=71808086) Probing for devices on PCI bus 0: configuration mode 1 allows 32 devices. chip0 rev 3 on pci0:0 mapreg[10] type=0 addr=e4000000 size=4000000. chip1 rev 3 on pci0:1 bridge from pci0 to pci1 through 1. mapping regs: io:22a0d0e0 mem:e3e0e3f0 pmem:e3f0e400 chip2 rev 1 on pci0:4:0 pci0:4:1: Intel Corporation, device=0x7111, class=storage (ide) [no driver assigned] map(20): io(d800) pci0:4:2: Intel Corporation, device=0x7112, class=0x0c, subclass=0x03 int d irq 11 [no driver assigned] map(20): io(d400) chip3 rev 1 on pci0:4:3 ahc0 rev 0 int a irq 11 on pci0:6 mapreg[10] type=1 addr=0000d000 size=0100. mapreg[14] type=0 addr=e3000000 size=1000. reg16: ioaddr=0xd000 size=0x100 ahc0: Reading SEEPROM...done. low byte termination disabled, high byte termination enabled ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0: Resetting Channel A ahc0: Downloading Sequencer Program...ahc0: 366 instructions downloaded Done ahc0: Probing channel A ahc0 waiting for scsi devices to settle ahc0: target 0 using 16Bit transfers ahc0: target 0 synchronous at 10.0MHz, offset = 0x8 (ahc0:0:0): "FUJITSU MAB3045SP 0105" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 4343MB (8895370 512 byte sectors) sd0(ahc0:0:0): with 8491 cyls, 5 heads, and an average 209 sectors/track ahc0: target 4 synchronous at 10.0MHz, offset = 0xf (ahc0:4:0): "NEC CD-ROM DRIVE:464 1.04" type 5 removable SCSI 2 cd0(ahc0:4:0): CD-ROM can't get the size probe0(ahc0:9:0): scsi_cmd probe0(ahc0:9:0): scsi_done (ahc0:9:0): command: 0,0,0,0,0,0-[0 bytes] probe0(ahc0:9:0): scsi_cmd probe0(ahc0:9:0): scsi_done (ahc0:9:0): command: 12,0,0,0,2c,0-[44 bytes] ------------------------------ 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 032: 00 00 00 00 00 00 00 00 00 00 00 00 ------------------------------ vx0 <3COM 3C905 Fast Etherlink XL PCI> rev 0 int a irq 11 on pci0:9 mapreg[10] type=1 addr=0000b800 size=0040. mii[*mii*]: disable 'auto select' with DOS util! address 00:60:08:68:c4:11 using shared irq 11. vga0 rev 64 on pci0:11 mapreg[10] type=0 addr=e2000000 size=1000000. mapreg[14] type=1 addr=0000b400 size=0100. pci0: uses 83890176 bytes of memory from e2000000 upto e7ffffff. pci0: uses 576 bytes of I/O space from b400 upto dfff. pci0: subordinate busses from 1 upto 1. Probing for devices on PCI bus 1: Probing for devices on the ISA bus: sc0: the current keyboard controller command byte 0047 kbdio: DIAGNOSE status:0055 kbdio: TEST_KBD_PORT status:0000 kbdio: RESET_KBD return code:00fa kbdio: RESET_KBD status:00aa sc0 at 0x60-0x6f irq 1 on motherboard sc0: BIOS video mode:3 sc0: VGA registers upon power-up 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: video mode:24 sc0: VGA registers for mode:24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0: current command byte:0047 kbdio: TEST_AUX_PORT status:0000 kbdio: RESET_AUX return code:00fa kbdio: RESET_AUX status:00aa kbdio: RESET_AUX ID:0000 psm0: status after reset 00 02 64 psm: status 00 00 64 (get_mouse_buttons) psm0: status 00 02 64 psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0, 2 buttons fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S npx0 flags 0x1 on motherboard npx0: INT 16 interface apm0: disabled, not probed. imasks: bio c0004840, tty c003109a, net c0020800 BIOS Geometries: 0:03fe0f3f 0..1022=1023 cylinders, 0..15=16 heads, 1..63=63 sectors 0 accounted for Device configuration finished. Considering FFS root f/s. configure() finished. new masks: bio c0004840, tty c003109a, net c003189a wd0s1: type 0xa5, start 63, end = 16514063, size 16514001 : OK sd0s1: type 0x6, start 63, end = 417689, size 417627 : OK sd0s2: type 0xa5, start 417690, end = 8883944, size 8466255 : OK sd0s1: type 0x6, start 63, end = 417689, size 417627 : OK sd0s2: type 0xa5, start 417690, end = 8883944, size 8466255 : OK sd0s1: type 0x6, start 63, end = 417689, size 417627 : OK sd0s2: type 0xa5, start 417690, end = 8883944, size 8466255 : OK # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/wd0s1b none swap sw 0 0 /dev/wd0a / ufs rw 1 1 /dev/wd0s1f /usr ufs rw 2 2 /dev/wd0s1e /var ufs rw 2 2 proc /proc procfs rw 0 0 /dev/sd0s2e /test1 ufs rw 2 2 /dev/sd0s2f /test2 ufs rw 2 2 # cat /sys/i386/conf/FATBUREN # # FATBUREN # machine "i386" cpu "I686_CPU" ident FATBUREN maxusers 16 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options "CD9660" #ISO 9660 Filesystem options QUOTA #enable disk quotas options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=4 #Be pessimistic about Joe SCSI device options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor # MAXMEM specifies the amount of RAM on the machine; if this is not # specified, FreeBSD will read the amount of memory from the CMOS RAM, # so the amount of memory will be limited to 64MB or 16MB depending on # the BIOS. The amount is in kilobytes, so for a machine with 128MB of # RAM, it would be 131072 (128 * 1024). options MAXMEM=131072 options DDB config kernel root on wd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 options "CMD640" # work around CMD640 chip deficiency controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 options SCSIDEBUG # A single entry for any of these controllers (ncr, ahb, ahc, amd) is # sufficient for any number of installed devices. controller ahc0 controller scbus0 device sd0 device st0 device cd0 #Only need one of these, the code dynamically grows # syscons is the default console driver, resembling an SCO console device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint #options XSERVER # support for X server #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std # Mandatory, don't remove device npx0 at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr # # Laptop support (see LINT for more options) # device apm0 at isa? disable # Advanced Power Management options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. device vx0 pseudo-device loop pseudo-device ether pseudo-device log pseudo-device ppp 1 pseudo-device vn 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing # This provides support for System V shared memory. (Needed by X11?) # options SYSVSHM options SYSVSEM options SYSVMSG