From owner-freebsd-stable Fri Feb 2 12:49:23 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA23237 for stable-outgoing; Fri, 2 Feb 1996 12:49:23 -0800 (PST) Received: from ki.net (root@ki.net [142.77.249.8]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id MAA23226 Fri, 2 Feb 1996 12:49:01 -0800 (PST) Received: (from scrappy@localhost) by ki.net (8.7.3/8.7.3) id PAA00913; Fri, 2 Feb 1996 15:48:42 -0500 (EST) Date: Fri, 2 Feb 1996 15:48:40 -0500 (EST) From: "Marc G. Fournier" To: stable@freebsd.org, current@freebsd.org Subject: PR: ASUS PC-SC200 panicks at _scsi_attachdevs+0x20 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-stable@freebsd.org Precedence: bulk Hi... I just submitted a problem report for the problem I'm having with the PCI-SC200 card, mainly because I've now got what I think is sufficient data. Today, I realized that I didn't have DDB enabled on my kernel, which is why I could never get a trace on the panic, so, here is what I think is the pertinent data, in its entirety, including teh config file for the kernel I'm using to debug this with. I'm sending this to current, as this might be a problem that was known to be in stable, has been fixed in current, but hasn't been brought back to stable yet...well, I'm hoping it was a known problem at least :( Thanks... ----[ outcome of booting with ASUS PC-SC200 controller ]---- FreeBSD 2.1-STABLE #6: Fri Feb 2 14:09:42 EST 1996 scrappy@ki.net:/home/stable/sys/compile/kinet CPU: i486 DX4 (486-class CPU) Origin = "GenuineIntel" Id = 0x480 Stepping=0 Features=0x3 real memory = 16777216 (16384K bytes) avail memory = 14716928 (14372K bytes) Probing for devices on PCI bus 0: chip0 rev 49 on pci0:5 ncr0 rev 2 int a irq 12 on pci0:11 Fatal Trap 12: page fault while in kernel mode fault virtual address = 0x7 fault code = supervisor read, page not present instruction pointer = 0x8:0xf0173724 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 () interrupt mask = net tty bio kernel: type 12, code = 0 Stopped at _scsi_attachdevs+0x20: cmpb $0,0x7(%ebx) db> tra _scsi_attachdevs() at _scsi_attachdevs+0x20 _ncr_attach() at _ncr_attach+0x192 _pci_bus_config() at _pci_bus_config+0x4b8 _pci_configure() at _pci_configure+0x51 _configure() at _configure+0x2a _cpu_startup() at _cpu_startup+4b6 _main() at _main+0x36 begin() at begin+0x6b db> -----[ config file for kernel being used for testing ]----- machine "i386" cpu "I486_CPU" ident kinet maxusers 32 options "CHILD_MAX=128" options "OPEN_MAX=128" options USER_LDT #allow user-level control of i386 ldt options QUOTA #enable disk quotas options DDB options DODUMP options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 options "SCSI_DELAY=15" #Be pessimistic about Joe SCSI device options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options SYSVSHM options SYSVSEM options SYSVMSG config kernel root on sd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 controller ncr0 controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr controller scbus0 device sd0 device st0 device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.1 options XSERVER # include code for XFree86 device npx0 at isa? port "IO_NPX" irq 13 vector npxintr 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 ep0 at isa? port 0x300 net irq 10 vector epintr pseudo-device loop pseudo-device speaker #Play IBM BASIC-style noises out your speaker pseudo-device ether pseudo-device log pseudo-device tun 1 pseudo-device pty 64 pseudo-device bpfilter 4 ----[ dmesg output for same system without the ncr controller ]---- FreeBSD 2.1-STABLE #6: Fri Feb 2 14:09:42 EST 1996 scrappy@ki.net:/home/stable/sys/compile/kinet CPU: i486 DX4 (486-class CPU) Origin = "GenuineIntel" Id = 0x480 Stepping=0 Features=0x3 real memory = 16777216 (16384K bytes) avail memory = 14716928 (14372K bytes) Probing for devices on PCI bus 0: chip0 rev 49 on pci0:5 vga0 rev 0 on pci0:15 Probing for devices on the ISA bus: vt0 at 0x60-0x6f irq 1 on motherboard vt0: generic, 80 col, color, 8 scr, mf2-kbd, [R3.20-b24] 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 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in aha0 at 0x330-0x333 irq 11 drq 5 on isa aha0 waiting for scsi devices to settle (aha0:0:0): "CONNER CFA540S 13B0" type 0 fixed SCSI 2 sd0(aha0:0:0): Direct-Access 515MB (1056708 512 byte sectors) (aha0:1:0): "QUANTUM LPS340S 020B" type 0 fixed SCSI 2 sd1(aha0:1:0): Direct-Access 327MB (670506 512 byte sectors) (aha0:2:0): "QUANTUM LP240S GM240S01X 4.6" type 0 fixed SCSI 2 sd2(aha0:2:0): Direct-Access 234MB (479350 512 byte sectors) 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 10 on isa ep0: aui/bnc[*BNC*] address 00:a0:24:0a:6d:ce irq 10 npx0 on motherboard npx0: INT 16 interface Marc G. Fournier | POP Mail Telnet Acct DNS Hosting System | WWW Services Database Services | Knowledge, Administrator | | Information and scrappy@ki.net | WWW: http://www.ki.net | Communications, Inc