From owner-cvs-all Tue Dec 3 21:26:20 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8C8437B401; Tue, 3 Dec 2002 21:26:00 -0800 (PST) Received: from watery.cc.kogakuin.ac.jp (watery.cc.kogakuin.ac.jp [133.80.152.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B45F43EB2; Tue, 3 Dec 2002 21:25:59 -0800 (PST) (envelope-from nyan@jp.FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) by watery.cc.kogakuin.ac.jp (8.12.6/8.12.6) with ESMTP id gB45Ppnq054053; Wed, 4 Dec 2002 14:25:52 +0900 (JST) (envelope-from nyan@jp.FreeBSD.org) Date: Wed, 04 Dec 2002 14:24:45 +0900 (JST) Message-Id: <20021204.142445.39208982.nyan@jp.FreeBSD.org> To: sos@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-cbus.c ata-disk.c ata-dma.c ata-isa.c ata-pci.c atapi-fd.c From: Takahashi Yoshihiro In-Reply-To: <200212032019.gB3KJcdf074276@repoman.freebsd.org> References: <200212032019.gB3KJcdf074276@repoman.freebsd.org> X-Mailer: Mew version 2.3 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Wed_Dec__4_14:24:45_2002_336)--" Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----Next_Part(Wed_Dec__4_14:24:45_2002_336)-- Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable In article <200212032019.gB3KJcdf074276@repoman.freebsd.org> S=F8ren Schmidt writes: > sos 2002/12/03 12:19:38 PST > Add support for the PC98 platform to the ATA driver. > This mostly consists of functionality to serialize accesses to > the two ATA channels (which can also be used to "fix" certain > PCI based controllers). I have tested the ata driver. But, I can't use the ad1 and ad2 devices. A old kernel with the wd driver has no problem. I attach the dmesgs and geoms. # mount -t msdos /dev/ad1s1 /mnt msdosfs: /dev/ad1s1: Invalid argument # mount -t msdos /dev/ad2s1 /mnt msdosfs: /dev/ad2s1: Invalid argument And, I heard two other reports about your ata patch. They both were their machine hung up at probing ATA devices. BTW, I think ata-isa.c is not necessary for pc98. So, the entry should be moved to MD files. The patch is also attached. --- TAKAHASHI Yoshihiro ----Next_Part(Wed_Dec__4_14:24:45_2002_336)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ata.dmesg" Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1994-2002 FreeBSD(98) porting team. Copyright (c) 1992 A.Kojima F.Ukai M.Ishii (KMC). Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #92: Wed Dec 4 11:59:17 JST 2002 nyan@cerberus.ccs.furiru.org:/usr/src/sys/pc98/compile/YUE Preloaded elf kernel "/boot/kernel.t/kernel" at 0xc0461000. Calibrating clock(s) ... TSC clock: 198948506 Hz, i8254 clock: 2457610 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 2457600 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method TSC initialization skipped: APM enabled. CPU: Pentium Pro (198.95-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x616 Stepping = 6 Features=0xf9ff real memory = 134217728 (128 MB) Physical memory chunk(s): 0x00001000 - 0x0009ffff, 651264 bytes (159 pages) 0x00488000 - 0x00efffff, 10977280 bytes (2680 pages) 0x01000000 - 0x07ff7fff, 117407744 bytes (28664 pages) avail memory = 124477440 (118 MB) bios32: Found BIOS32 Service Directory header at 0xc00f4c40 bios32: Entry = 0xf5612 (c00f5612) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xd90b0+0x1c56b pnpbios: Found PnP BIOS data at 0xc00f51b0 pnpbios: Entry = d8000:3a Rev = 1.0 pnpbios: OEM ID 38394350 Other BIOS signatures found: Initializing GEOMetry subsystem null: random: mem: Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=12378086) pcibios: BIOS_PRESENT call failed apm0: at port 0x6b8e on motherboard apm0: found APM BIOS v1.11, connected at v1.0 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pci0: physical bus=0 found-> vendor=0x8086, dev=0x1237, revid=0x02 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x2280, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1033, dev=0x002c, revid=0x01 bus=0, slot=6, func=0 class=06-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0107, statreg=0x0200, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1033, dev=0x0009, revid=0x02 bus=0, slot=7, func=0 class=03-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 1, range 32, base 20000000, size 22, enabled map[14]: type 1, range 32, base 20400000, size 16, enabled map[18]: type 1, range 32, base 20800000, size 22, enabled found-> vendor=0x1023, dev=0x9660, revid=0xd3 bus=0, slot=8, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0002, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 map[10]: type 3, range 32, base 20410000, size 12, enabled map[14]: type 4, range 32, base 00006000, size 5, enabled map[18]: type 1, range 32, base 20500000, size 20, enabled found-> vendor=0x8086, dev=0x1229, revid=0x01 bus=0, slot=11, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0147, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x57 (2610 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns) intpin=a, irq=3 map[10]: type 4, range 32, base 00006100, size 8, enabled map[14]: type 1, range 32, base 20411000, size 12, enabled found-> vendor=0x9004, dev=0x8178, revid=0x00 bus=0, slot=16, func=0 class=01-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0157, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x54 (2520 ns), mingnt=0x08 (2000 ns), maxlat=0x08 (2000 ns) intpin=a, irq=3 PCI-ISA bridge with incorrect subclass 0x80 PCI-ISA bridge with incorrect subclass 0x80 isab0: at device 6.0 on pci0 isa0: on isab0 pci0: at device 7.0 (no driver attached) pci0: at device 8.0 (no driver attached) fxp0: port 0x6000-0x601f mem 0x20500000-0x205fffff,0x20410000-0x20410fff irq 3 at device 11.0 on pci0 fxp0: using memory space register mapping fxp0: Ethernet address 00:00:4c:8d:1b:04 fxp0: PCI IDs: 8086 1229 0000 0000 0001 fxp0: Dynamic Standby mode is disabled nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: bpf attached ahc0: port 0x6100-0x61ff mem 0x20411000-0x20411fff irq 3 at device 16.0 on pci0 ahc0: Defaulting to MEMIO off ahc0: Reading SEEPROM...done. ahc0: internal 50 cable not present ahc0: external cable not present ahc0: BIOS eeprom is present ahc0: Low byte termination Enabled ahc0: Downloading Sequencer Program... 418 instructions downloaded aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 pnpbios: error 0/82 getting device count/size limit pnpbios: 1 devices, largest 0 bytes pnpbios: error 0x82 fetching node 0 gdc: gdc0 already exists; skipping it sc: sc0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: