From owner-freebsd-questions Wed Jan 23 12: 3:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [128.29.154.90]) by hub.freebsd.org (Postfix) with ESMTP id 7DFD337B400 for ; Wed, 23 Jan 2002 12:03:27 -0800 (PST) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.11.3/8.11.3) with ESMTP id g0NK2oc00280; Wed, 23 Jan 2002 15:02:50 -0500 (EST) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtpsrv2.mitre.org (8.11.3/8.11.3) with ESMTP id g0NK2li29443; Wed, 23 Jan 2002 15:02:48 -0500 (EST) Received: from dhcp-105-164.mitre.org (128.29.105.164) by mailhub2.mitre.org with SMTP id 9005458; Wed, 23 Jan 2002 15:02:45 -0500 Message-ID: <3C4F16E5.8177CB81@mitre.org> Date: Wed, 23 Jan 2002 15:02:45 -0500 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.75 [en]C-20000818M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Simon Dick Cc: freebsd-questions@freebsd.org Subject: Re: New IBM drive setting problem? References: <3C4465B9.50AB6EA1@mitre.org> <20020115190721.GF99371@irrelevant.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Simon Dick wrote: > > On Tue, Jan 15, 2002 at 12:24:09PM -0500, Jason Andresen wrote: > > I have a rather annoying problem my ide controller on a VIA KT133a. > > > > Both the drive and the controller support UDMA100, and I have an UDMA100 > > cable attached, but the drive only comes up as UDMA33. More annoying > > is the DVD-ROM drive attached to the second controller that comes up > > as ATA66. > > > > Is there any knob I can tweak to make the drive realize it's ATA100 > > compliant? > > > > This is running on: > > FreeBSD escaflowne.el.hazard 4.4-STABLE FreeBSD 4.4-STABLE #9: Mon Dec > > 31 18:21:52 EST 2001 > > > > Here are the relevant messages from boot: > > atapci0: port 0xe000-0xe00f at device > > 17.1 on pci 0 > > ata0: at 0x1f0 irq 14 on atapci0 > > ata1: at 0x170 irq 15 on atapci0 > > > > ad0: 58644MB [119150/16/63] at ata0-master tagged > > UDMA33 > > acd0: DVD-ROM at ata1-master > > using UDMA66 > > The drive should just work as ATA100, mine do: > FreeBSD 4.4-RELEASE-p1 #1: Sun Dec 16 21:20:07 GMT 2001 > atapci1: port 0x8000-0x803f,0x8400-0x8403,0x8800-0x8807,0x9000-0x9003,0x9400-0x9407 mem 0xe2000000-0xe201ffff irq 10 at device 17.0 on pci0 > ata2: at 0x9400 on atapci1 > ata3: at 0x8800 on atapci1 > ad4: 58644MB [119150/16/63] at ata2-master UDMA100 > ad6: 58644MB [119150/16/63] at ata3-master UDMA100 > > You may want to try sending the output of boot -v to the list. Ok: Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-STABLE #9: Mon Dec 31 18:21:52 EST 2001 root@escaflowne.el.hazard:/usr/src/sys/compile/ESCAFLOWNE Calibrating clock(s) ... TSC clock: 1477618038 Hz, i8254 clock: 1193277 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 1477508214 Hz CPU: AMD Athlon(tm) XP 1700+ (1477.51-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383f9ff AMD Features=0xc0480000<,AMIE,DSP,3DNow!> Data TLB: 32 entries, fully associative Instruction TLB: 16 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 256 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative real memory = 268369920 (262080K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00472000 - 0x0ffe7fff, 263675904 bytes (64374 pages) avail memory = 256925696 (250904K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fadc0 bios32: Entry = 0xfb230 (c00fb230) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xb260 pnpbios: Found PnP BIOS data at 0xc00fbd20 pnpbios: Entry = f0000:bd50 Rev = 1.0 Other BIOS signatures found: ACPI: 000f67c0 Preloaded elf kernel "kernel" at 0xc044b000. Preloaded elf module "usb.ko" at 0xc044b0a8. Preloaded elf module "agp.ko" at 0xc044b144. Preloaded elf module "mga.ko" at 0xc044b1e0. link_elf: symbol linux_ioctl_register_handler undefined VESA: information block 56 45 53 41 00 02 fd 6e 00 c0 01 00 00 00 a7 6b 00 c0 00 01 07 02 12 6f 00 c0 19 6f 00 c0 22 6f 00 c0 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 00 00 00 00 VESA: 11 mode(s) found VESA: v2.0, 16384k memory, flags:0x1, mode table:0xc00c6ba7 (c0006ba7) VESA: Matrox Graphics Inc. VESA: Matrox MGA-G200 00 Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 pci_open(1): mode 1 addr port (0x0cf8) is 0x80010014 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=30991106) Using $PIR table, 6 entries at 0xc00fdf10 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x1106, dev=0x3099, revid=0x00 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base e0000000, size 26 found-> vendor=0x1106, dev=0xb099, revid=0x00 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x109e, dev=0x036e, revid=0x02 class=04-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base e9002000, size 12 found-> vendor=0x109e, dev=0x0878, revid=0x02 class=04-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base e9000000, size 12 found-> vendor=0x100b, dev=0x0020, revid=0x00 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=5 map[10]: type 1, range 32, base 0000d000, size 8 map[14]: type 1, range 32, base e9001000, size 12 found-> vendor=0x9005, dev=0x0081, revid=0x02 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 0000d400, size 8 map[14]: type 1, range 64, base e9003000, size 12 found-> vendor=0x1102, dev=0x0002, revid=0x08 class=04-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 0000d800, size 5 found-> vendor=0x1102, dev=0x7002, revid=0x08 class=09-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 0000dc00, size 3 found-> vendor=0x1106, dev=0x3074, revid=0x00 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1106, dev=0x0571, revid=0x06 class=01-01-8a, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=255 map[20]: type 1, range 32, base 0000e000, size 4 found-> vendor=0x1106, dev=0x3038, revid=0x1b class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=11 map[20]: type 1, range 32, base 0000e400, size 5 found-> vendor=0x1106, dev=0x3038, revid=0x1b class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=11 map[20]: type 1, range 32, base 0000e800, size 5 found-> vendor=0x1106, dev=0x3038, revid=0x1b class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=11 map[20]: type 1, range 32, base 0000ec00, size 5 pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 agp0: allocating GATT for aperture of size 256M pcib1: at device 1.0 on pci0 found-> vendor=0x102b, dev=0x0521, revid=0x01 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base e7000000, size 24 map[14]: type 1, range 32, base e4000000, size 14 map[18]: type 1, range 32, base e5000000, size 23 pci1: on pcib1 pci1: (vendor=0x102b, dev=0x0521) at 0.0 irq 10 bktr0: mem 0xe9002000-0xe9002fff irq 10 at device 8.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicbus: iic devclass not found smbus0: on bti2c0 smb0: on smbus0 brooktree0: PCI bus latency is 32. bktr0: buffer size 3555328, addr 0x5000000 bktr0: GPIO is 0x00fff7c3 bktr0: subsystem 0x1461 0x0001 bktr0: AVer Media TV/FM, Philips FR1236 NTSC FM tuner. pci0: (vendor=0x109e, dev=0x0878) at 8.1 irq 10 sis0: port 0xd000-0xd0ff mem 0xe9001000-0xe9001fff irq 5 at device 9.0 on pci0 sis0: Ethernet address: 00:02:e3:05:1e:12 miibus0: on sis0 ukphy0: on miibus0 ukphy0: OUI 0x080017, model 0x0002, rev. 1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: sis0 attached ahc0: port 0xd400-0xd4ff mem 0xe9003000-0xe9003fff irq 11 at device 10.0 on pci0 ahc0: Reading SEEPROM...done. ahc0: BIOS eeprom is present ahc0: Secondary Low byte termination Enabled ahc0: Primary Low Byte termination Enabled ahc0: Primary High Byte termination Enabled ahc0: Downloading Sequencer Program... 419 instructions downloaded aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs pcm0: port 0xd800-0xd81f irq 10 at device 12.0 on pci0 emu: setmap (51000, 800), nseg=1, error=0 emu: setmap (472000, 1000), nseg=1, error=0 pcm0: ac97 codec id 0x43525914 (Cirrus Logic CS4297B) pcm0: ac97 codec features headphone, 20 bit DAC, 18 bit ADC, 6 bit master volume, Crystal Semi 3D Stereo Enhancement pcm0: ac97 primary codec extended features AMAP using shared irq10. emu: setmap (4b2000, 1000), nseg=1, error=0 emu: setmap (4f2000, 1000), nseg=1, error=0 emu: setmap (532000, 1000), nseg=1, error=0 emu: setmap (572000, 1000), nseg=1, error=0 pcm: setmap 5b2000, 1000; 0xcfd5a000 -> 5b2000 pcm: setmap 5f2000, 1000; 0xcfd9a000 -> 5f2000 pcm: setmap 632000, 1000; 0xcfdda000 -> 632000 isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0xe000-0xe00f at device 17.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xe000 ata0: mask=03 status0=50 status1=00 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI probe a=00 b=00 ata0-slave: ATAPI probe a=00 b=00 ata0: mask=03 status0=50 status1=00 ata0-master: ATA probe a=01 b=a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xe008 ata1: mask=03 status0=50 status1=00 ata1: mask=03 ostat0=50 ostat2=00 ata1-slave: ATAPI probe a=00 b=00 ata1-master: ATAPI probe a=14 b=eb ata1: mask=03 status0=00 status1=00 ata1: devices=04 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xe400-0xe41f irq 11 at device 17.2 on pci0 using shared irq11. usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe800-0xe81f irq 11 at device 17.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xec00-0xec1f irq 11 at device 17.4 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered 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 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: