From owner-freebsd-current Thu Nov 4 22:47:43 1999 Delivered-To: freebsd-current@freebsd.org Received: from tantivy.stanford.edu (tantivy.Stanford.EDU [36.118.0.70]) by hub.freebsd.org (Postfix) with ESMTP id 6CE2614DA4 for ; Thu, 4 Nov 1999 22:47:38 -0800 (PST) (envelope-from techie@tantivy.stanford.edu) Received: (from techie@localhost) by tantivy.stanford.edu (8.9.3/8.9.1) id WAA40360; Thu, 4 Nov 1999 22:44:54 -0800 (PST) Date: Thu, 4 Nov 1999 22:44:54 -0800 (PST) From: Bob Vaughan Message-Id: <199911050644.WAA40360@tantivy.stanford.edu> To: andrews@technologist.com, techie@roadwarrior.stanford.edu Subject: Re: boot problems with todays kernel Cc: current@FreeBSD.ORG In-Reply-To: <3.0.6.32.19991104222248.008b3e10@mail.psn.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok.. I tweaked the conf, and re-cvsup'd.. and i now have a bootable kernel.. but there is now another problem.. (see below) > From andrews@technologist.com Thu Nov 4 19:36:38 1999 > Date: Thu, 04 Nov 1999 22:22:48 -0500 > To: Bob Vaughan > From: Will Andrews > Subject: Re: boot problems with todays kernel > Cc: current@FreeBSD.ORG > > At 04:42 PM 11/4/99 -0800, you wrote: > > Seems to me like a simple problem: > > >devclass_alloc_unit: npx0 already exists, using next available unit number > > >device npx0 at isa? port IO_NPX irq 13 > > Shouldn't this be "at nexus?" ? Like apm0 is. I'm not quite sure it was > the problem that Mike Smith just fixed (vfs_conf.c, that is). > > Or was npx0's assignment changed in a recent commit? > I'm now running into issues with pccard and the ep driver, where ep0 (3c574B) is seen at boot time, at a familiar port/irq, but with a bogus mac address.. (4b:57:4b:57:4b:57). ifconfig -a will immediately lock up the system, with a reboot following a minute or two later.. this only happens when there is a card inserted.. roadwarrior shutdown: reboot by techie: roadwarrior syslogd: exiting on signal 15 roadwarrior /kernel: roadwarrior /kernel: syncing disks... done roadwarrior /kernel: Rebooting... roadwarrior /kernel: Copyright (c) 1992-1999 The FreeBSD Project. roadwarrior /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993 roadwarrior /kernel: The Regents of the University of California. All rights reserved. roadwarrior /kernel: FreeBSD 4.0-CURRENT #3: Thu Nov 4 21:16:03 PST 1999 roadwarrior /kernel: techie@roadwarrior.stanford.edu:/c1/current/src/sys/compile/ROADWARRIOR roadwarrior /kernel: Timecounter "i8254" frequency 1193182 Hz roadwarrior /kernel: CPU: Pentium/P55C (233.87-MHz 586-class CPU) roadwarrior /kernel: Origin = "GenuineIntel" Id = 0x543 Stepping = 3 roadwarrior /kernel: Features=0x8001bf roadwarrior /kernel: real memory = 100663296 (98304K bytes) roadwarrior /kernel: avail memory = 93634560 (91440K bytes) roadwarrior /kernel: Preloaded elf kernel "kernel" at 0xc03bf000. roadwarrior /kernel: Preloaded elf module "splash_bmp.ko" at 0xc03bf09c. roadwarrior /kernel: Preloaded elf module "vesa.ko" at 0xc03bf140. roadwarrior /kernel: Preloaded splash_image_data "/boot/splash.bmp" at 0xc03bf1dc. roadwarrior /kernel: Preloaded elf module "cd9660.ko" at 0xc03bf22c. roadwarrior /kernel: Preloaded elf module "linux.ko" at 0xc03bf2cc. roadwarrior /kernel: Preloaded elf module "atapi.ko" at 0xc03bf36c. roadwarrior /kernel: link_elf: symbol atapi_drvtab undefined roadwarrior /kernel: Intel Pentium detected, installing workaround for F00F bug roadwarrior /kernel: VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c7a88 (c0007a88) roadwarrior /kernel: VESA: Copyright 1994 TRIDENT MICROSYSTEMS INC. roadwarrior /kernel: roadwarrior /kernel: apm0: on motherboard roadwarrior /kernel: apm: found APM BIOS v1.2, connected at v1.2 roadwarrior /kernel: npx0: on motherboard roadwarrior /kernel: npx0: INT 16 interface roadwarrior /kernel: pcib0: on motherboard roadwarrior /kernel: pci0: on pcib0 roadwarrior /kernel: isab0: at device 1.0 on pci0 roadwarrior /kernel: isa0: on isab0 roadwarrior /kernel: ide_pci0: at device 1.1 on pci0 roadwarrior /kernel: uhci0: irq 0 at device 1.2 on pci0 roadwarrior /kernel: uhci0: could not map ports roadwarrior /kernel: device_probe_and_attach: uhci0 attach returned 6 roadwarrior /kernel: chip1: at device 1.3 on pci0 roadwarrior /kernel: vga-pci0: at device 2.0 on pci0 roadwarrior /kernel: pcic-pci0: irq 10 at device 3.0 on pci0 roadwarrior /kernel: pcic-pci1: irq 10 at device 3.1 on pci0 roadwarrior /kernel: fdc0: at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 roadwarrior /kernel: fdc0: FIFO enabled, 8 bytes threshold roadwarrior /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 roadwarrior /kernel: wdc0 at port 0x1f0-0x1f7 irq 14 on isa0 roadwarrior /kernel: wdc0: unit 0 (wd0): roadwarrior /kernel: wd0: 3909MB (8007552 sectors), 7944 cyls, 16 heads, 63 S/T, 512 B/S roadwarrior /kernel: wdc1 at port 0x170-0x177 irq 15 on isa0 roadwarrior /kernel: wdc1: unit 0 (atapi): , removable, accel, dma, iordy roadwarrior /kernel: wcd0: drive speed 2416KB/sec, 128KB cache roadwarrior /kernel: wcd0: supported read types: CD-DA roadwarrior /kernel: wcd0: Audio: play, 16 volume levels roadwarrior /kernel: wcd0: Mechanism: ejectable tray roadwarrior /kernel: wcd0: Medium: no/blank disc inside, unlocked roadwarrior /kernel: atkbdc0: at port 0x60-0x6f on isa0 roadwarrior /kernel: atkbd0: irq 1 on atkbdc0 roadwarrior /kernel: psm0: irq 12 on atkbdc0 roadwarrior /kernel: psm0: model Generic PS/2 mouse, device ID 0 roadwarrior /kernel: vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 roadwarrior /kernel: sc0: on isa0 roadwarrior /kernel: sc0: VGA <16 virtual consoles, flags=0x200> roadwarrior /kernel: pcic0: at irq 10 on isa0 roadwarrior /kernel: pccard0: on pcic0 roadwarrior /kernel: pccard1: on pcic0 roadwarrior /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 roadwarrior /kernel: sio0: type 16550A roadwarrior /kernel: sio1: configured irq 3 not in bitmap of probed irqs 0 roadwarrior /kernel: sio2: not probed (disabled) roadwarrior /kernel: sio3: not probed (disabled) roadwarrior /kernel: ppc0 at port 0x378-0x37f irq 7 flags 0x40 on isa0 roadwarrior /kernel: ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode roadwarrior /kernel: plip0: on ppbus 0 roadwarrior /kernel: lpt0: on ppbus 0 roadwarrior /kernel: lpt0: Interrupt-driven port roadwarrior /kernel: ppi0: on ppbus 0 roadwarrior /kernel: unknown0: at port 0x800-0x807 on isa0 roadwarrior /kernel: pcm0: at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0 roadwarrior /kernel: unknown1: at port 0x201 on isa0 roadwarrior /kernel: Mounting root from ufs:/dev/wd0s1a roadwarrior /kernel: pccard: card inserted, slot 0 roadwarrior pccardd[62]: Using I/O addr 0x240, size 32 roadwarrior pccardd[62]: Setting config reg at offs 0x10000 to 0x41, Reset time = 50 ms roadwarrior lpd[144]: restarted roadwarrior pccardd[62]: Assigning I/O window 0, start 0x240, size 0x20 flags 0x7 roadwarrior pccardd[62]: Assign ep0, io 0x240-0x25f, mem 0x0, 0 bytes, irq 3, flags 0 roadwarrior /kernel: ep0: <3Com 3C574B, Megahertz 3CCFE574BT or Fast Etherlink 3C574-TX> at port 0x240-0x25f irq 3 slot 0 on pccard0 roadwarrior /kernel: ep0: Ethernet address 4b:57:4b:57:4b:57 roadwarrior pccardd[62]: pccardd started roadwarrior /kernel: roadwarrior /kernel: roadwarrior /kernel: Fatal trap 12: page fault while in kernel mode roadwarrior /kernel: fault virtual address = 0x0 roadwarrior /kernel: fault code = supervisor read, page not present roadwarrior /kernel: instruction pointer = 0x8:0x0 roadwarrior /kernel: stack pointer = 0x10:0xc7523de4 roadwarrior /kernel: frame pointer = 0x10:0xc7523e08 roadwarrior /kernel: code segment = base 0x0, limit 0xfffff, type 0x1b roadwarrior /kernel: = DPL 0, pres 1, def32 1, gran 1 roadwarrior /kernel: processor eflags = interrupt enabled, resume, IOPL = 0 roadwarrior /kernel: current process = 310 (ifconfig) roadwarrior /kernel: interrupt mask = net tty roadwarrior /kernel: trap number = 12 roadwarrior /kernel: panic: page fault roadwarrior /kernel: roadwarrior /kernel: syncing disks... 24 24 20 12 done roadwarrior /kernel: Automatic reboot in 15 seconds - press a key on the console to abort and again at a different location.. (same kernel.) roadwarrior /kernel: Mounting root from ufs:/dev/wd0s1a roadwarrior /kernel: pccard: card inserted, slot 0 roadwarrior pccardd[60]: Using I/O addr 0x240, size 32 roadwarrior pccardd[60]: Setting config reg at offs 0x10000 to 0x41, Reset time = 50 ms roadwarrior lpd[144]: restarted roadwarrior pccardd[60]: Assigning I/O window 0, start 0x240, size 0x20 flags 0x7 roadwarrior pccardd[60]: Assign ep0, io 0x240-0x25f, mem 0x0, 0 bytes, irq 3, flags 0 roadwarrior /kernel: ep0: <3Com 3C574B, Megahertz 3CCFE574BT or Fast Etherlink 3C574-TX> at port 0x240-0x25f irq 3 slot 0 on pccard0 roadwarrior /kernel: ep0: Ethernet address 4b:57:4b:57:4b:57 roadwarrior pccardd[60]: pccardd started roadwarrior /kernel: roadwarrior /kernel: roadwarrior /kernel: Fatal trap 12: page fault while in kernel mode roadwarrior /kernel: fault virtual address = 0x0 roadwarrior /kernel: fault code = supervisor read, page not present roadwarrior /kernel: instruction pointer = 0x8:0x0 roadwarrior /kernel: stack pointer = 0x10:0xc74edde4 roadwarrior /kernel: frame pointer = 0x10:0xc74ede08 roadwarrior /kernel: code segment = base 0x0, limit 0xfffff, type 0x1b roadwarrior /kernel: = DPL 0, pres 1, def32 1, gran 1 roadwarrior /kernel: processor eflags = interrupt enabled, resume, IOPL = 0 roadwarrior /kernel: current process = 312 (ifconfig) roadwarrior /kernel: interrupt mask = net tty roadwarrior /kernel: trap number = 12 roadwarrior /kernel: panic: page fault roadwarrior /kernel: roadwarrior /kernel: syncing disks... 7 7 3 done roadwarrior /kernel: Automatic reboot in 15 seconds - press a key on the console to abort I'm rebuilding modules again as i type this, and we'll see what develops.. -- Welcome My Son, Welcome To The Machine -- Bob Vaughan | techie@{w6yx|tantivy}.stanford.edu | kc6sxc@w6yx.ampr.org | P.O. Box 9792, Stanford, Ca 94309-9792 -- I am Me, I am only Me, And no one else is Me, What could be simpler? -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message