Date: Wed, 23 Jan 2002 15:02:45 -0500 From: Jason Andresen <jandrese@mitre.org> To: Simon Dick <simond@irrelevant.org> Cc: freebsd-questions@freebsd.org Subject: Re: New IBM drive setting problem? Message-ID: <3C4F16E5.8177CB81@mitre.org> References: <3C4465B9.50AB6EA1@mitre.org> <20020115190721.GF99371@irrelevant.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <VIA 82C686 ATA100 controller> 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 <IC35L060AVER07-0> [119150/16/63] at ata0-master tagged > > UDMA33 > > acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-116 0122> 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: <Promise ATA100 controller> 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 <IC35L060AVER07-0> [119150/16/63] at ata2-master UDMA100 > ad6: 58644MB <IC35L060AVER07-0> [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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> AMD Features=0xc0480000<<b19>,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: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> 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: <PCI bus> on pcib0 agp0: <VIA Generic host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 agp0: allocating GATT for aperture of size 256M pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> 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: <PCI bus> on pcib1 pci1: <Matrox MGA G200 AGP graphics accelerator> (vendor=0x102b, dev=0x0521) at 0.0 irq 10 bktr0: <BrookTree 878> mem 0xe9002000-0xe9002fff irq 10 at device 8.0 on pci0 iicbb0: <I2C generic bit-banging driver> on bti2c0 iicbus0: <Philips I2C bus> on iicbb0 master-only iicbus: iic devclass not found smbus0: <System Management Bus> on bti2c0 smb0: <SMBus general purpose I/O> 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: <unknown card> (vendor=0x109e, dev=0x0878) at 8.1 irq 10 sis0: <NatSemi DP83815 10/100BaseTX> port 0xd000-0xd0ff mem 0xe9001000-0xe9001fff irq 5 at device 9.0 on pci0 sis0: Ethernet address: 00:02:e3:05:1e:12 miibus0: <MII bus> on sis0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: OUI 0x080017, model 0x0002, rev. 1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: sis0 attached ahc0: <Adaptec 19160B Ultra160 SCSI adapter> 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: <Creative EMU10K1> 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: <PCI to ISA bridge (vendor=1106 device=3074)> at device 17.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C686 ATA100 controller> 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: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 11 at device 17.2 on pci0 using shared irq11. usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xe800-0xe81f irq 11 at device 17.3 on pci0 usb1: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xec00-0xec1f irq 11 at device 17.4 on pci0 usb2: <VIA 83C572 USB controller> 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: <Option ROM> at iomem 0xc0000-0xc7fff on isa0 fdc0: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 psm0: current command byte:0047 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 3 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio0: irq maps: 0x441 0x451 0x441 0x441 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: irq maps: 0x441 0x449 0x441 0x441 sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0 sio1: type 16550A ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: SPP ppc_detect_fifo: PWord not supported ppc0: <Parallel port> at port 0x378-0x37f irq 7 flags 0x8 on isa0 ppc0: Generic chipset (ECP-only) in ECP mode lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 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:0xc00b8000 size:32k gran:32k, buf:0 size:32k 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 0e 0f 00 00 07 80 9c 8e 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 8e 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 8e 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 isa_probe_children: probing PnP devices BIOS Geometries: 0:022afe3f 0..554=555 cylinders, 0..254=255 heads, 1..63=63 sectors 1:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors 2:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: sl0 attached bpf: sl1 attached bpf: lo0 attached IPsec: Initialized Security Association Processing. ata0-master: success setting UDMA2 on VIA chip Creating DISK ad0 ad0: <IC35L060AVER07-0/ER6OA44A> ATA-5 disk at ata0-master ad0: 58644MB (120103200 sectors), 119150 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 32 depth queue, tagged UDMA33 ad0: piomode=4 dmamode=2 udmamode=2 cblid=1 ad0: 58644MB <IC35L060AVER07-0> [119150/16/63] at ata0-master tagged UDMA33 ata1-master: piomode=4 dmamode=2 udmamode=4 dmaflag=1 ata1-master: success setting UDMA4 on VIA chip acd0: <Pioneer DVD-ROM ATAPIModel DVD-116 0122/E1.22> DVD-ROM drive at ata1 as master acd0: read 6894KB/s (37026KB/s), 256KB buffer, UDMA66 acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R, packet acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked Waiting 5 seconds for SCSI devices to settle (noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted. (ahc0:A:4:0): Sending WDTR 1 (ahc0:A:4:0): Received WDTR 1 filtered to 1 ahc0: target 4 using 16bit transfers (ahc0:A:4:0): Sending SDTR period c, offset 7f (ahc0:A:4:0): Received SDTR period c, offset f Filtered to period c, offset f ahc0: target 4 synchronous at 20.0MHz, offset = 0xf (ahc0:A:6:0): Sending PPR bus_width 1, period c, offset 7f, ppr_options 0 (ahc0:A:6:0): Received PPR width 1, period c, offset 3f,options 0 Filtered to width 1, period c, offset 3f, options 0 ahc0: target 6 using 16bit transfers ahc0: target 6 synchronous at 20.0MHz, offset = 0x3f Creating DISK da0 Creating DISK da1 pass0 at ahc0 bus 0 target 4 lun 0 pass0: <IBM DDRS-34560W S97B> Fixed Direct Access SCSI-2 device pass0: Serial Number QDJJ8743 pass0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled pass1 at ahc0 bus 0 target 6 lun 0 pass1: <IBM DDYS-T36950N S80D> Fixed Direct Access SCSI-3 device pass1: Serial Number VFF3B721 pass1: 40.000MB/s transfers (20.000MHz, offset 63, 16bit), Tagged Queueing Enabled da1 at ahc0 bus 0 target 6 lun 0 da1: <IBM DDYS-T36950N S80D> Fixed Direct Access SCSI-3 device da1: Serial Number VFF3B721 da1: 40.000MB/s transfers (20.000MHz, offset 63, 16bit), Tagged Queueing Enabled da1: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) Mounting root from ufs:/dev/da0s1a da0 at ahc0 bus 0 target 4 lun 0 da0: <IBM DDRS-34560W S97B> Fixed Direct Access SCSI-2 device da0: Serial Number QDJJ8743 da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C) da0s1: type 0xa5, start 63, end = 8916074, size 8916012 : OK start_init: trying /sbin/init da1s1: type 0xa5, start 63, end = 71682029, size 71681967 : OK ad0s1: type 0x7, start 63, end = 40949684, size 40949622 : OK ad0s2: type 0xa5, start 40949685, end = 120101939, size 79152255 : OK splash: image decoder found: matrix_saver Linux-ELF exec handler installed /dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570 $ /dev/vmmon: Module vmmon: initialized bpf: vmnet1 attached (da1:ahc0:0:6:0): tagged openings now 128 info: [drm] Checking PCI vendor=4254, device=2168 info: [drm] Checking PCI vendor=4139, device=1313 drm0: <Matrox G200 (AGP)> mem 0xe5000000-0xe57fffff,0xe4000000-0xe4003fff,0xe7000000-0xe7ffffff irq 10 at device 0.0 on pci1 info: [drm] AGP at 0xe0000000 64MB info: [drm] Initialized mga 3.0.2 20010321 on minor -1053156528 (da0:ahc0:0:4:0): tagged openings now 64 -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C4F16E5.8177CB81>