Date: Tue, 14 Dec 1999 18:59:55 +0100 (MET) From: Mikael Hybsch <micke@dynas.se> To: freebsd-current@freebsd.org Subject: Last ATA checkin broke the IDE drive on my Toshiba Portege Message-ID: <Pine.GSO.4.10.9912141058001.26922-100000@spirit.dynas.se>
next in thread | raw e-mail | index | archive | help
Got myself a Toshiba Port=E9g=E9 3110CT last week. The IDE controller isn't recognized by the ata driver. It's an Intel(0x8086) with the device ID 0x7199. Until the last DMA related checkins by S=F8ren, the drive was working in PIO mode. Now it says it's using DMA and after the "Mounting root from ..." message, I get =09ad0: ad_timeout: lost disk contact - resetting =09ata0: resetting devices ..=20 and then it hangs with the disk activity led on. Todays ata checkin said "Try to enable DMA on generic controllers ...", but it still doesn't work. Now it also says "ata0: master: success setting up WDMA2 mode on generic chip". The wdc driver seems to work ok with the 0xa0ffa0ff flags. I have tried looking around on developer.intel.com, but couldn't find any reference to the device ID 0x7199. Where can I find which chipset this is? boot -v from last working PIO mode below Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 =09The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #1: Sun Dec 12 23:52:16 GMT 1999 root@h:/usr/src/sys/compile/H Calibrating clock(s) ... TSC clock: 299933222 Hz, i8254 clock: 1193150 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 CPU: Pentium II/Celeron (299.94-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x66a Stepping =3D 10 Features=3D0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,= CMOV,PAT,PSE36,MMX,FXSR> real memory =3D 134086656 (130944K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x0030d000 - 0x07fd7fff, 130854912 bytes (31947 pages) avail memory =3D 126955520 (123980K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f0220 bios32: Entry =3D 0xfc455 (c00fc455) Rev =3D 0 Len =3D 1 pcibios: PCI BIOS entry at 0xedcd pnpbios: Found PnP BIOS data at 0xc00f8ed0 pnpbios: Entry =3D f0000:9344 Rev =3D 1.0 pnpbios: Event flag at 510 pnpbios: OEM ID 1934f351 Other BIOS signatures found: ACPI: 000f0170 Preloaded elf kernel "kernel" at 0xc02f4000. Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 pci_open(1):=09mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a):=09mode1res=3D0x80000000 (0x80000000) pci_cfgcheck:=09device 0 [class=3D060000] [hdr=3D00] is there (id=3D7194808= 6) npx0: <math processor> on motherboard npx0: INT 16 interface pci_open(1):=09mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a):=09mode1res=3D0x80000000 (0x80000000) pci_cfgcheck:=09device 0 [class=3D060000] [hdr=3D00] is there (id=3D7194808= 6) pcib0: <Host to PCI bridge> on motherboard found->=09vendor=3D0x8086, dev=3D0x7194, revid=3D0x01 =09class=3D06-00-00, hdrtype=3D0x00, mfdev=3D0 =09subordinatebus=3D0 =09secondarybus=3D0 found->=09vendor=3D0x1023, dev=3D0x9525, revid=3D0x49 =09class=3D03-00-00, hdrtype=3D0x00, mfdev=3D0 =09subordinatebus=3D0 =09secondarybus=3D0 =09intpin=3Da, irq=3D11 =09map[10]: type 1, range 32, base ff400000, size 22 =09map[14]: type 1, range 32, base ff3e0000, size 17 =09map[18]: type 1, range 32, base fec00000, size 22 found->=09vendor=3D0x8086, dev=3D0x7198, revid=3D0x01 =09class=3D06-80-00, hdrtype=3D0x00, mfdev=3D1 =09subordinatebus=3D0 =09secondarybus=3D0 found->=09vendor=3D0x8086, dev=3D0x7199, revid=3D0x00 =09class=3D01-01-80, hdrtype=3D0x00, mfdev=3D0 =09subordinatebus=3D0 =09secondarybus=3D0 =09map[20]: type 1, range 32, base 0000fff0, size 4 found->=09vendor=3D0x8086, dev=3D0x719a, revid=3D0x00 =09class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D0 =09subordinatebus=3D0 =09secondarybus=3D0 =09intpin=3Dd, irq=3D11 =09map[20]: type 1, range 32, base 0000ff80, size 5 found->=09vendor=3D0x8086, dev=3D0x719b, revid=3D0x00 =09class=3D06-80-00, hdrtype=3D0x00, mfdev=3D0 =09subordinatebus=3D0 =09secondarybus=3D0 found->=09vendor=3D0x1179, dev=3D0x0d01, revid=3D0x00 =09class=3D0d-00-00, hdrtype=3D0x00, mfdev=3D0 =09subordinatebus=3D0 =09secondarybus=3D0 =09intpin=3Da, irq=3D11 =09map[10]: type 1, range 32, base 0000ff60, size 5 found->=09vendor=3D0x1179, dev=3D0x0617, revid=3D0x20 =09class=3D06-07-00, hdrtype=3D0x02, mfdev=3D1 =09subordinatebus=3D14 =09secondarybus=3D14 =09intpin=3Da, irq=3D255 found->=09vendor=3D0x125d, dev=3D0x1978, revid=3D0x10 =09class=3D04-01-00, hdrtype=3D0x00, mfdev=3D0 =09subordinatebus=3D0 =09secondarybus=3D0 =09intpin=3Da, irq=3D11 =09map[10]: type 1, range 32, base 0000fc00, size 8 found->=09vendor=3D0x11c1, dev=3D0x0441, revid=3D0x01 =09class=3D07-80-00, hdrtype=3D0x00, mfdev=3D0 =09subordinatebus=3D0 =09secondarybus=3D0 =09intpin=3Da, irq=3D3 =09map[10]: type 1, range 32, base ffefff00, size 8 =09map[14]: type 3, range 32, base 000002f8, size 3 =09map[18]: type 1, range 32, base 00001c00, size 8 found->=09vendor=3D0x8086, dev=3D0x1229, revid=3D0x08 =09class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0 =09subordinatebus=3D0 =09secondarybus=3D0 =09intpin=3Da, irq=3D11 =09map[10]: type 1, range 32, base febff000, size 12 =09map[14]: type 1, range 32, base 0000fb40, size 6 =09map[18]: type 1, range 32, base fea00000, size 20 pci0: <PCI bus> on pcib0 vga-pci0: <Trident model 9525 VGA-compatible display device> irq 11 at devi= ce 4.0 on pci0 chip1: <PCI to Other bridge (vendor=3D8086 device=3D7198)> at device 7.0 on= pci0 ata-pci0: <Unknown PCI ATA controller (generic mode)> at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0: iobase=3D0x01f0 altiobase=3D0x03f6 ata0: mask=3D03 status0=3D50 status1=3D00 ata0: mask=3D03 status0=3D50 status1=3D00 ata0: devices =3D 0x1 ata0 at 0x01f0 irq 14 on ata-pci0 ata1: iobase=3D0x0170 altiobase=3D0x0376 ata1: mask=3D00 status0=3Dff status1=3Dff uhci0: <UHCI (generic) USB controller> irq 11 at device 7.2 on pci0 uhci0: (New UHCI DeviceId=3D0x719a8086) usb0: <UHCI (generic) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: (0x719a8086) UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip2: <PCI to Other bridge (vendor=3D8086 device=3D719b)> at device 7.3 on= pci0 pci0: unknown card (vendor=3D0x1179, dev=3D0x0d01) at 9.0 irq 11 chip3: <PCI to CardBus bridge (vendor=3D1179 device=3D0617)> at device 11.0= on pci0 pci0: unknown card (vendor=3D0x125d, dev=3D0x1978) at 12.0 irq 11 pci0: unknown card (vendor=3D0x11c1, dev=3D0x0441) at 13.0 irq 3 fxp0: <Intel EtherExpress Pro 10/100B Ethernet> irq 11 at device 14.0 on pc= i0 =09using shared irq11. fxp0: Ethernet address 00:00:39:21:b0:1a bpf: fxp0 attached eisa0: <EISA bus> on motherboard eisa0: unknown card @@@0000 (0x00000000) at slot 1 isa0: <ISA bus> on motherboard 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 fdc0: <NEC 765 or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 ata-isa0: already registered as ata0 ata1: iobase=3D0x0170 altiobase=3D0x0376 ata1: mask=3D00 status0=3Dff status1=3Dff atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 psm0: current command byte:0047 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 00 00 64 psm: status 00 03 64 psm: status 00 03 64 psm: status 10 00 64 psm: data 08 00 00 psm: status 00 02 64 psm: data 08 00 00 psm: status 00 02 64 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3b0-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=20 bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96=20 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c=20 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff=20 VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81=20 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96=20 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c=20 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff=20 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=20 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96=20 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c=20 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff=20 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=3D0x200> sc0: fb0 kbd0 pcic: polling, can't alloc 0 pcic0: <Intel i82365> on isa0 pccard0: <PC Card bus -- kludge version> on pcic0 sio0: irq maps: 0x41 0x51 0x51 0x51 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 sio1: irq maps: 0x41 0x41 0x41 0x41 sio1: probe failed test(s): 0 1 2 4 ppc: parallel port found at 0x378 ppc: chipset forced to generic ppc0: ECP SPP SPP ppc0 at port 0x378-0x37f irq 7 flags 0x40 on isa0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip: irq 7 plip0: <PLIP network interface> on ppbus 0 bpf: lp0 attached lpt0: <generic printer> on ppbus 0 lpt0: Interrupt-driven port ppi0: <generic parallel i/o> on ppbus 0 isa_probe_children: probing PnP devices BIOS Geometries: 0:0313fe3f 0..787=3D788 cylinders, 0..254=3D255 heads, 1..63=3D63 sectors 0 accounted for Device configuration finished. bpf: sl0 attached bpf: ppp0 attached new masks: bio 40084840, tty 40031092, net 40071892 bpf: lo0 attached ad0: piomode=3D4 dmamode=3D2 udmamode=3D2 cblid=3D0 ad0: <TOSHIBA MK6411MAT/J0.07 H> ATA-4 disk at ata0 as master ad0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, PIO Creating DISK ad0 Creating DISK wd0 Mounting root from ufs:/dev/ad0s2a ad0s1: type 0x6, start 63, end =3D 2056319, size 2056257 : OK ad0s2: type 0xa5, start 2056320, end =3D 7293509, size 5237190 : OK start_init: trying /sbin/init --=20 Mikael Hybsch Email: mhybsch@rsasecurity.com RSA Security AB Phone: +46-8-7250900 Box 10704=09=09=09 Fax: +46-8-6494970 S-121 29 STOCKHOLM, SWEDEN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.9912141058001.26922-100000>