Date: Thu, 23 May 2002 21:13:24 -0700 (PDT) From: Mikko Tyolajarvi <mikko@dynas.se> To: sos@freebsd.dk Cc: stable@freebsd.org Subject: Re: ATA observations in FreeBSD 4.6-RC Message-ID: <200205240413.g4O4DOBi092895@mikko.na.rsa.net> References: <3CE9F4AB.E2F55150@svzserv.kemerovo.su> <200205211721.g4LHLfSs029780@freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
In local.freebsd.stable you write: >It seems Eugene Grosbein wrote: >[ Charset KOI8-R unsupported, converting... ] >> "S?ren Schmidt" wrote: >> >> > Of cause it should, and belive me I'm doing all I can to try get this >> > nailed. But I do have a real life as well, and a fulltime job, 3 kids, >> > vife and lots of other important things to care for, so excuse me if >> > I dont work 24 hours a day on this problem... >> >> Of course. How about backing out new ATA code and stick with old >> for the sake of 4.6-RELEASE stability? >Yeah, right, thats to prove that progress comes hard or what ? >Anyhow, could those haivng this problem try this patch: >Index: ata-disk.c >=================================================================== >RCS file: /home/ncvs/src/sys/dev/ata/ata-disk.c,v >retrieving revision 1.60.2.22 Still no go. It no longer panics, but it is unable to mount /. Tags worked on this box before "The MFC" (which also brought a lot of good stuff, by the way). No problems w/o tags. atlas# atacontrol list ATA channel 0: Master: ad0 <IC35L060AVER07-0/ER6OA44A> ATA/ATAPI rev 5 Slave: ad1 <IC35L060AVER07-0/ER6OA44A> ATA/ATAPI rev 5 ATA channel 1: Master: acd0 <PLEXTOR CD-R PX-W1210A/1.08> ATA/ATAPI rev 0 Slave: acd1 <Pioneer DVD-ROM ATAPIModel DVD-114 0124/E1.24> ATA/ATAPI rev 4 boot -v output below. $.02, /Mikko Copyright (c) 1992-2002 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.6-RC #10: Thu May 23 20:36:38 PDT 2002 mikko@atlas.home:/z/obj/usr/src/sys/ATLAS Calibrating clock(s) ... TSC clock: 855921610 Hz, i8254 clock: 1193088 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 855993303 Hz CPU: AMD Athlon(tm) Processor (855.99-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x621 Stepping = 1 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> AMD Features=0xc0400000<AMIE,DSP,3DNow!> Data TLB: 24 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: 512 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative real memory = 268369920 (262080K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x0031f000 - 0x0ffe7fff, 265064448 bytes (64713 pages) avail memory = 258150400 (252100K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f8140 bios32: Entry = 0xfd6e0 (c00fd6e0) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x12c pnpbios: Found PnP BIOS data at 0xc00f8190 pnpbios: Entry = f0000:ac15 Rev = 1.0 Other BIOS signatures found: ACPI: 000f8170 Preloaded elf kernel "kernel" at 0xc02f8000. Preloaded elf module "snd_es137x.ko" at 0xc02f80a8. Preloaded elf module "snd_pcm.ko" at 0xc02f814c. Preloaded elf module "usb.ko" at 0xc02f81ec. Preloaded elf module "ulpt.ko" at 0xc02f8288. Pentium Pro MTRR support enabled pci_open(1): mode 1 addr port (0x0cf8) is 0x80002104 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=70061022) Using $PIR table, 9 entries at 0xc00fdf30 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <AMD-751 host to PCI bridge> on motherboard found-> vendor=0x1022, dev=0x7006, revid=0x25 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base f4000000, size 26 map[14]: type 1, range 32, base f0001000, size 12 found-> vendor=0x1022, dev=0x7007, revid=0x01 class=06-04-00, hdrtype=0x01, mfdev=1 subordinatebus=1 secondarybus=1 found-> vendor=0x1106, dev=0x0686, revid=0x21 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1106, dev=0x0571, revid=0x10 class=01-01-8a, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 00001860, size 4 found-> vendor=0x1106, dev=0x3038, revid=0x10 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=9 map[20]: type 1, range 32, base 00001840, size 5 found-> vendor=0x1106, dev=0x3057, revid=0x30 class=0c-05-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x10cd, dev=0x1300, revid=0x03 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 00001000, size 8 map[14]: type 1, range 32, base f0000000, size 8 found-> vendor=0x109e, dev=0x036e, revid=0x11 class=04-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base f0002000, size 12 found-> vendor=0x109e, dev=0x0878, revid=0x11 class=04-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base f0003000, size 12 found-> vendor=0x11ad, dev=0x0002, revid=0x20 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base 00001400, size 8 map[14]: type 1, range 32, base f0000400, size 8 found-> vendor=0x1274, dev=0x5880, revid=0x02 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 00001800, size 6 pci0: <PCI bus> on pcib0 agp0: <AMD 751 host to AGP bridge> mem 0xf0001000-0xf0001fff,0xf4000000-0xf7ffffff at device 0.0 on pci0 agp0: allocating GATT for aperture of size 64M agp0: gatt -> ag_pdir f8b7000 agp0: allocating GATT for 16384 AGP page entries pcib1: <AMD-751 PCI-PCI (1x/2x AGP) bridge> at device 1.0 on pci0 found-> vendor=0x1002, dev=0x5246, revid=0x00 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base f8000000, size 26 map[14]: type 1, range 32, base 00009000, size 8 map[18]: type 1, range 32, base f0100000, size 14 pci1: <PCI bus> on pcib1 pci1: <ATI Rage128-RF graphics accelerator> (vendor=0x1002, dev=0x5246) at 5.0 irq 11 isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C686 ATA66 controller> port 0x1860-0x186f at device 4.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1860 ata0: mask=03 ostat0=50 ostat2=50 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=50 ata0-master: ATA 01 a5 ata0-slave: ATA 01 a5 ata0: devices=03 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1868 ata1: mask=03 ostat0=50 ostat2=50 ata1-master: ATAPI 14 eb ata1-slave: ATAPI 14 eb ata1: mask=03 stat0=00 stat1=00 ata1: devices=0c ata1: at 0x170 irq 15 on atapci0 uhci0: <VIA 83C572 USB controller> port 0x1840-0x185f irq 9 at device 4.2 on pci0 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 ulpt0: EPSON USB Printer, rev 1.00/1.00, addr 2, iclass 7/1 pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 4.4 adv0: <AdvanSys ASC3030/50 SCSI controller> port 0x1000-0x10ff mem 0xf0000000-0xf00000ff irq 11 at device 13.0 on pci0 adv0: Warning EEPROM Checksum mismatch. Using default device parameters adv0: AdvanSys SCSI Host Adapter, SCSI ID 7, queue depth 16 bktr0: <BrookTree 878> mem 0xf0002000-0xf0002fff irq 10 at device 15.0 on pci0 iicbb0: <I2C bit-banging driver> on bti2c0 iicbus0: <Philips I2C bus> on iicbb0 master-only iicbus: iic devclass not found iicbus1: <Philips I2C bus> on iicbb0 master-only iicbus: iic devclass not found smbus0: <System Management Bus> on bti2c0 smbus: smb devclass not found brooktree0: PCI bus latency is 132. bktr0: buffer size 3555328, addr 0x5000000 bktr0: GPIO is 0x00ffffdb bktr0: subsystem 0x0070 0x13eb bktr0: Hauppauge Model 44371 B123 bktr0: Detected a MSP3435G-B6 at 0x80 bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c stereo, remote control. pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 15.1 irq 10 pci0: <unknown card> (vendor=0x11ad, dev=0x0002) at 16.0 irq 9 pcm0: <Creative CT5880-C> port 0x1800-0x183f irq 11 at device 17.0 on pci0 pcm0: ac97 codec id 0x83847608 (SigmaTel STAC9708/9711) pcm0: ac97 codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, SigmaTel 3D Enhancement pcm0: ac97 primary codec extended features surround DAC using shared irq11. pcm0: sndbuf_setmap f848000, 1000; 0xc11d4000 -> f848000 pcm0: sndbuf_setmap f82a000, 1000; 0xc11d6000 -> f82a000 ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number 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 ata2 failed to probe at port 0x1f0 irq 14 on isa0 ata3 failed to probe at port 0x170 irq 15 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: current command byte:0047 psm0: <PS/2 Mouse> flags 0x8000 irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0-38, 3 buttons psm0: config:00008000, flags:00000000, packet size:3 psm0: syncmask:08, syncbits:08 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f 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 0d 0e 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 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio0: irq maps: 0x1 0x11 0x1 0x1 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: irq maps: 0x1 0x9 0x1 0x1 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: EPP SPP ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: IEEE1284 device found /NIBBLE/NIBBLE_ID/Extensibility Link Probing for PnP devices on ppbus0: ppbus0: <EPSON Stylus Photo 1270> PRINTER ESCPL2,BDC,D4 ppi0: <Parallel I/O> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port isa_probe_children: probing PnP devices BIOS Geometries: 0:03feef3f 0..1022=1023 cylinders, 0..239=240 heads, 1..63=63 sectors 1:03feef3f 0..1022=1023 cylinders, 0..239=240 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: lo0 attached ad0: success setting UDMA4 on VIA chip Creating DISK ad0 ar: FreeBSD check1 failed ad0: <IC35L060AVER07-0/ER6OA44A> ATA-5 disk at ata0-master ad0: 58644MB (120103200 sectors), 119150 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 32 depth queue, tagged UDMA66 ad0: piomode=4 dmamode=2 udmamode=5 cblid=1 ad1: success setting UDMA4 on VIA chip Creating DISK ad1 ar: FreeBSD check1 failed ad1: <IC35L060AVER07-0/ER6OA44A> ATA-5 disk at ata0-slave ad1: 58644MB (120103200 sectors), 119150 C, 16 H, 63 S, 512 B ad1: 16 secs/int, 32 depth queue, tagged UDMA66 ad1: piomode=4 dmamode=2 udmamode=5 cblid=1 ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1 ata1-master: success setting WDMA2 on VIA chip acd0: <PLEXTOR CD-R PX-W1210A/1.08> CD-RW drive at ata1 as master acd0: read 5512KB/s (3271KB/s) write 2067KB/s (2067KB/s), 2048KB buffer, WDMA2 acd0: Reads: CD-R, CD-RW, CD-DA stream, packet acd0: Writes: CD-R, CD-RW, test write, burnproof acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: CD-ROM unknown ata1-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1 ata1-slave: success setting UDMA2 on VIA chip acd1: <Pioneer DVD-ROM ATAPIModel DVD-114 0124/E1.24> DVD-ROM drive at ata1 as slave acd1: 512KB buffer, UDMA33 acd1: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R acd1: Writes: acd1: Audio: play, 256 volume levels acd1: Mechanism: ejectable tray, unlocked acd1: Medium: no/blank disc Waiting 2 seconds for SCSI devices to settle pass0 at adv0 bus 0 target 1 lun 0 pass0: <AGFA SNAPSCAN 310 1.20> Fixed Scanner SCSI-2 device pass0: Serial Number I pass0: 3.300MB/s transfers pass0 at adv0 bus 0 target 1 lun 0 pass0: <AGFA SNAPSCAN 310 1.20> Fixed Scanner SCSI-2 device pass0: Serial Number I pass0: 3.300MB/s transfers Mounting root from ufs:/dev/ad0s2a ad0: invalid primary partition table: no magic ad0: timeout waiting for READY ad0: invalidating queued requests - resetting ata0: resetting devices .. ata0: mask=03 ostat0=51 ostat2=50 ad0: ATAPI 00 00 ad1: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=50 ad0: ATA 01 a5 ad1: ATA 01 a5 ata0: devices=03 ad0: invalidating queued requests ad0: DMA limited to UDMA33, non-ATA66 cable or device ad0: success setting UDMA2 on VIA chip ad1: invalidating queued requests ad1: success setting UDMA4 on VIA chip done ad0: no request for tag=0 ad0: invalidating queued requests ad0: READ command timeout tag=0 serv=0 - resetting ad0: invalidating queued requests ata0: resetting devices .. ata0: mask=03 ostat0=51 ostat2=50 ad0: ATAPI 00 00 ad1: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=50 ad0: ATA 01 a5 ad1: ATA 01 a5 ata0: devices=03 ad0: invalidating queued requests ad0: DMA limited to UDMA33, non-ATA66 cable or device ad0: success setting UDMA2 on VIA chip ad1: invalidating queued requests ad1: success setting UDMA4 on VIA chip done ad0: no request for tag=0 ad0: invalidating queued requests ad0: READ command timeout tag=0 serv=0 - resetting ad0: invalidating queued requests ata0: resetting devices .. ata0: mask=03 ostat0=51 ostat2=50 ad0: ATAPI 00 00 ad1: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=50 ad0: ATA 01 a5 ad1: ATA 01 a5 ata0: devices=03 ad0: invalidating queued requests ad0: DMA limited to UDMA33, non-ATA66 cable or device ad0: success setting UDMA2 on VIA chip ad1: invalidating queued requests ad1: success setting UDMA4 on VIA chip done ad0: no request for tag=0 ad0: invalidating queued requests ad0: READ command timeout tag=0 serv=0 - resetting ad0: invalidating queued requests ad0: success setting PIO4 on generic chip ad0: trying fallback to PIO mode ata0: resetting devices .. ata0: mask=03 ostat0=50 ostat2=50 ad0: ATAPI 00 00 ad1: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=50 ad0: ATA 01 a5 ad1: ATA 01 a5 ata0: devices=03 ad0: invalidating queued requests ad0: success setting PIO4 on generic chip ad1: invalidating queued requests ad1: success setting UDMA4 on VIA chip done Root mount failed: 6 Manual root filesystem specification: <fstype>:<device> Mount <device> using filesystem <fstype> eg. ufs:/dev/da0s1a ? List valid disk boot devices <empty line> Abort manual input mountroot> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205240413.g4O4DOBi092895>