From owner-freebsd-current Sat Apr 15 8:41:28 2000 Delivered-To: freebsd-current@freebsd.org Received: from assurance.rstcorp.com (rstcorp2.daf.concentric.net [216.112.242.2]) by hub.freebsd.org (Postfix) with ESMTP id A58B037B665 for ; Sat, 15 Apr 2000 08:41:21 -0700 (PDT) (envelope-from vshah@rstcorp.com) Received: (from uucp@localhost) by assurance.rstcorp.com (8.9.3/8.9.3) id KAA31911; Sat, 15 Apr 2000 10:43:09 -0400 Received: from sandbox.rstcorp.com(10.1.30.2) by assurance.rstcorp.com via smap (V2.0) id xma031906; Sat, 15 Apr 00 14:42:46 GMT Received: from jabberwock.rstcorp.com (jabberwock.rstcorp.com [10.1.100.5]) by sandbox.rstcorp.com (8.9.3/8.9.3) with ESMTP id LAA08315; Sat, 15 Apr 2000 11:33:46 -0400 (EDT) Received: by jabberwock.rstcorp.com (Postfix, from userid 93) id 5B8F75B04; Sat, 15 Apr 2000 11:40:16 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14584.36192.55759.997336@jabberwock.rstcorp.com> Date: Sat, 15 Apr 2000 11:40:16 -0400 (EDT) From: "Viren R.Shah" To: "Matthew N. Dodd" Cc: freebsd-current@freebsd.org, Ian Cartwright Subject: Re:cvs commit: src/sys/dev/ida ida_eisa.c In-Reply-To: References: <14583.37834.772687.845973@jabberwock.rstcorp.com> X-Mailer: VM 6.72 under 19.16 "Lille" XEmacs Lucid Reply-To: "Viren R.Shah" X-Face: )~y+U*K:yzjz{q<5lzpI_SVef'U.])9g[C9`1N@]u3,MHY7f*l7C)[_NjM4y4K8$uIUh|\u (K&&HS6,M!61&GMTk'mqmB/Qg]]X}"?TzsFl]"2v!bl8']dma.:^IY^a[lbOI>U:b<~FyK3q-p{HmZ mn~g.`~BE!5{2D:}Yi+\_KkWe?XaHj9$ko1k8iKLYv5*_2c8"G=?Up[}hn+7RNM(bzBZ_wWk6!Pf&B ?3Tcm7M7B~W%K/I0aX3]*=jP?aM]H6HBPT`oLk+0n^_;N\2\%|Rhy;p}34Q.jEsM\qtnxcm;ag%Nq Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "MD" == Matthew N Dodd writes: MD> On Fri, 14 Apr 2000, Viren R.Shah wrote: >> >> mainboard0: >> eisa0: unknown card CPQ6101 (0x0e116101) at slot 5 >> ida0: at 0x6000-0x60ff, 0x6c88-0x6c9e >> ida0: irq 15 (level) on eisa0 slot 6 >> ida0: drives=1 firm_rev=1.66 >> idad0: 3002MB (6149631 sectors), blocksize=512 >> eisa0: u >> MD> Well, this isn't a problem with the IDA driver (unless its stomping on MD> something.) Maybe something else is stomping on it's memory? In the version of the IDA driver that it is currently booting with ( 4.0 -current from 03/1999, and Mark Dawson's driver), it shows ida as using "0x6000-0x6fff". While in the current version, it is shown as using "0x6000-0x60ff, 0x6c88-0x6c9e". Maybe it is using memory outside of the 2 ranges here, but within the larger block of memory used by the older driver? or the other way around -- someone else is using memory within the larger range that is also being used by ida [obviously a wild-assed guess on my part] MD> Can you boot verbose with the IDA driver kernel? Here it is: (is there a less painful way of doing this than typing in every line?) CPU: Pentium/P5 (66.66-Mhz586-class CPU) ... real memory = 16777216 (16384k) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00634000 - 0x00ff7fff, 10240000 bytes (2500 pages) fb: new array size 4 avail memory = 10252288 (10012K bytes) Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc061b000. Intel pentium detected, installing workaround for F00F bug. md0: Preloaded image 2949120 bytes at 0xc03492dc Creating DISK md0 md1: Malloc disk Creating DISK md1 Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0xffffffff pci_open(2): mode 2 enable port (0x0cf8) is 0xff npx0: on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 128551227 bytes/sec bzero() bandwidth = 105152471 bytes/sec eisa0: on motherboard mainboard0: eisa0: unknown card CPQ6101 (0x0e116101) at slot 5 ida0: at 0x6000-0x60ff, 0x6c88-0x6c9e ida0: irq 15 (level) on eisa0 slot 6 ida0: drives=1 firm_rev=1.66 idad0: 3002MB (6149631 sectors), blocksize=512 Creating DISK id0 eisa0: [then the panic ensued...this time I couldn't even get a trace. It just kept panic'ing again] MD> Compile a kernel without the IDA driver and boot verbose. [Sorry, couldn't get a verbose boot, the buffer contained only the end of the dmesg -- lots of stuff about stuff not found and sio and my pnp modem. Here's a non-verbose boot with a kernel compiled without ida] real memory = 16777216 (16384k) avail memory = 10260480 (10020K bytes) Preloaded elf kernel "kernel" at 0xc0619000. Preloaded mfs_root "/mfsroot" at 0xc061909c. Intel pentium detected, installing workaround for F00F bug. md0: Preloaded image 2949120 bytes at 0xc0347a98 md1: Malloc disk npx0: on motherboard npx0: INT 16 interface eisa0: on motherboard mainboard0: eisa0: unknown card CPQ6101 (0x0e116101) at slot 5 eisa0: unknown card CPQ4020 (0x0e114020) at slot 6 eisa0: unknown card CPQ4410 (0x0e114410) at slot 9 isa0: on motherboard isa0: too many dependant configs (8) fdc0: at port 0x3f0-0x3f5, 0x3f7 irq 6, drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: cannot reserve I/O port range sn0 at port 0x300-0x30f irq 10 on isa0 adv1: Invalid baseport of 0x2f8 specified. Neerest valid baseport is 0x330. Failing probe. unknown0: at port 0x2f8-0x2ff irq 3 on isa0 Mounting root from ufs:/dev/md0c Here's the output from the currently working kernel on that box: Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Sun Feb 7 16:54:54 EST 1999 viren@bandersnatch:/home/current/usr/src/sys/compile/VIREN10 Calibrating clock(s) ... TSC clock: 66663353 Hz, i8254 clock: 1193341 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 66655217 Hz CPU: Pentium/P5 (66.66-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x513 Stepping=3 Features=0x1bf real memory = 16777216 (16384K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x002c0000 - 0x00ffdfff, 13885440 bytes (3390 pages) config> pnp 1 0 enable os port0 0x2f8 irq0 5 config> quit avail memory = 13930496 (13604K bytes) Other BIOS signatures found: ACPI: 00000000 $PnP: 00000000 Preloaded elf kernel "kernel" at 0xf02af000. Preloaded splash_image_data "/boot/splash1.bmp" at 0xf02af09c. Preloaded elf module "splash_bmp.ko" at 0xf02af0ec. Preloaded userconfig_script "/boot/pnp.setup" at 0xf02af190. Preloaded elf module "vesa.ko" at 0xf02af1dc. Preloaded elf module "if_ppp.ko" at 0xf02af278. Preloaded elf module "if_tun.ko" at 0xf02af318. Preloaded elf module "nfs.ko" at 0xf02af3b8. Preloaded elf module "procfs.ko" at 0xf02af454. Preloaded elf module "blank_saver.ko" at 0xf02af4f4. Preloaded elf module "linux.ko" at 0xf02af598. VESA: information block 56 45 53 41 02 01 34 1d 00 e0 00 00 00 00 14 00 00 01 08 00 14 00 0a 01 09 01 02 01 03 01 04 01 01 01 02 01 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 VESA: 8 mode(s) found VESA: v1.2, 512k memory, flags:0x0, mode table:0xf022be48 (1000014) VESA: Cirrus Logic GD-54xx VGA splash: image@0xf021c5a8, size:31474 bmp_start(): splash_mode:257 splash: image decoder found: splash_bmp eisa0: Probing for devices on the EISA bus eisa0:5 unknown device eisa0:6 unknown device eisa0:9 unknown device pci_open(1): mode 1 addr port (0x0cf8) is 0xffffffff pci_open(2): mode 2 enable port (0x0cf8) is 0xff Probing for PnP devices: Trying Read_Port at 203 CSN 1 Vendor ID: DAV0001 [0x01003610] Serial 0x00000295 Comp ID: @@@0000 [0x00000000] PnP: override config for CSN 1 LDN 0 vend_id 0x01003610 port 0x02f8 0x0000 0x0000 0x0000 irq 3:0 drq 0:0 en 0 Called nullpnp_probe with tag 0x00000001, type 0x01003610 Probing for devices on the ISA bus: atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa sc0 on isa sc0: fb0 kbd0 sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x300-0x31f irq 3 on isa ed0: address 00:20:c5:00:20:24, type NE2000 (16 bit) bpf: ed0 attached atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa kbd0: atkbd0, AT 101/102 (2), config:0x10000, flags:0x3d0000 psm0: current command byte:0065 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fa kbdc: RESET_AUX status:00aa kbdc: RESET_AUX ID:0000 psm: status 00 02 64 psm: status 90 02 3c psm: status 90 02 3c psm: status 90 02 3c psm: status 00 00 28 psm: data 08 00 00 psm: data 08 00 00 psm: status 00 02 64 psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 sio0: irq maps: 0x1 0x11 0x1 0x1 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1: irq maps: 0x1 0x21 0x1 0x1 sio1 at 0x2f8-0x2ff irq 5 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 wdc1 not found at 0x170 ida: hardcoding port 0x6000 for debug purposes ida: this controller is using irq 15 . (switch statement) ctlp: iobase = 0x6000 ident = 236011552 irq = 15 ida0: drvs=1 firm_rev=1.66 ida0 at 0x6000-0x6fff irq 15 on eisa slot 6 ida0: unit 0 (id0): id0: 3002MB (6149631 total sec), 697 cyl, 173 head, 51 sec, bytes/sec 512 ida_eisa_attach:: if block ida: wdc vector stealing on (mode = always, boot major = 0) vga0 at 0x3c0-0x3df maddr 0xa0000 msize 131072 on isa fb0: vga0, vga, type:VGA (5), flags:0x700ff fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xf00b8000 size:32k gran:32k, buf:0x0 size:0k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 07 30 9c ae 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 VGA parameters in BIOS 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 ae 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 EGA/VGA parameters to be used 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 ae 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 npx0 on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 56328507 bytes/sec bzero() bandwidth = 50653429 bytes/sec imasks: bio c0088040, tty c0031032, net c0060008 stray irq 7 BIOS Geometries: 0:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 1:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 2:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 3:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 4:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 5:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 6:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 7:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 0 accounted for Device configuration finished. Intel Pentium detected, installing workaround for F00F bug splash: image decoder found: blank_saver new masks: bio c0088040, tty c0031032, net c007103a bpf: lo0 attached Linux-ELF exec handler installed lo0 XXX: driver didn't set ifq_maxlen Considering FFS root f/s. changing root device to wd0s1a id0s1: type 0xa5, start 51, end = 2091050, size 2091000 : OK id0s2: type 0xa5, start 2091051, end = 6149630, size 4058580 : OK Hope that helps Viren -- Viren R. Shah, {viren @ rstcorp . com} http://www.rstcorp.com/~vshah/ ====== FreeBSD: It's free, it's fast, it's fun. ====== "3 syncs represent the trinity - init, the child and the eternal zombie process." -- Jordan Hubbard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message