From owner-freebsd-questions Sat Dec 28 11:38:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54F7137B401 for ; Sat, 28 Dec 2002 11:38:34 -0800 (PST) Received: from ns1.vagner.com (ns1.vagner.com [65.39.87.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 926B243EC5 for ; Sat, 28 Dec 2002 11:38:33 -0800 (PST) (envelope-from freebsd@vagner.com) Received: (from root@localhost) by ns1.vagner.com (8.12.5/8.12.5) id gBSJcPpQ078016 for freebsd-questions@freebsd.org; Sat, 28 Dec 2002 12:38:25 -0700 (MST) (envelope-from freebsd@vagner.com) Received: from vagner.com (www.vagner.com [65.39.87.179]) by ns1.vagner.com (8.12.5/8.12.5av) with SMTP id gBSJcJ78078007 for ; Sat, 28 Dec 2002 12:38:19 -0700 (MST) (envelope-from freebsd@vagner.com) Date: Sat, 28 Dec 2002 12:38:19 -0700 (MST) Message-Id: <200212281938.gBSJcJ78078007@ns1.vagner.com> From: "Freebsd" To: freebsd-questions@freebsd.org Subject: ata detection problems X-Mailer: eCorrei/1.2 (http://ecorrei.sf.net/) X-eCorrei-Host: vagner.com X-Virus-Scanned: by AMaViS perl-11 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 I am having some strange problems with detection of my ata hard drive, first here is my system config. Asus A7V8X, AMD 2000 512mb DDR400 ram, Geforce4 Ti4200 video, Adaptec 29160, Seagate 18gig LVD, WD31600 HDD on primary, Lite-on cd-rw secondary master, Memorex cd-rom secondary slave. Sometimes Freebsd cannot detect the IDE drive unless i fiddle with bios settings, I have been unable to determine the bios setting causing this since it seems to be different every time i change something. The error i get during boot up is below. ad0: hard error reading fsbn 3173121 of 0-3 (ad0 bn 3173121; cn 3147 tn 15 sn 0) trying PIO mode ad0: hard error reading fsbn 3173121 of 0-3 (ad0 bn 3173121; cn 3147 tn 15 sn 0) status=59 error=04 4.7-stable dec 19th. Play with bios settings and sometimes it will detect correctly as shown below but not always. I tried various combinations of bios settings with unpredictable results such as reset all to defaults and it detected ok, changed boot virus detection to no and it still detected ok, changed 4th boot device from int18 to scsi/ata100 boot and it detected fine, changed full screen logo to disabled and it wouldnt detect the ata drive, changed everything back to defaults and it still wont detect the ata drive. disabled the ata 100 raid and set dram to ddr400 and it detected again. so its not consistant if you know what I mean. it works good at WDMA but dont work at PIO mode. this is an older drive that is on an 80 pin cable with a 80 pin pullout type removeable drive. I been using Freebsd since 2.2.2 release also tried setting hw.ata.ata_dma=\"YES\" in /boot/loader.conf but it seemed to ignore this. Anyone have a clue? CPU: AMD Athlon(TM) XP 2000+ (1666.74-MHz 686-class CPU) Origin = \"AuthenticAMD\" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0400000 real memory = 536854528 (524272K bytes) avail memory = 515436544 (503356K bytes) Preloaded elf kernel \"kernel\" at 0xc06b8000. Preloaded elf module \"linux.ko\" at 0xc06b809c. Preloaded elf module \"nvidia.ko\" at 0xc06b813c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 12 entries at 0xc00f1cd0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xe7800000-0xe787ffff,0xe8000000-0xefffffff,0xe6000000-0xe6ffffff irq 11 at device 0.0 on pci1 pci0: (vendor=0x1106, dev=0x3044) at 7.0 irq 5 pci0: (vendor=0x105a, dev=0x3376) at 8.0 irq 5 pci0: (vendor=0x14e4, dev=0x4401) at 9.0 irq 9 ahc0: port 0xb400-0xb4ff mem 0xe3800000-0xe3800fff irq 11 at device 13.0 on pci0 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs sis0: port 0xb000-0xb0ff mem 0xe3000000-0xe3000fff irq 5 at device 14.0 on pci0 sis0: Ethernet address: 00:09:5b:0b:5e:17 miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto uhci0: port 0xa800-0xa81f irq 9 at device 16.0 on pci0 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 0xa400-0xa41f irq 9 at device 16.1 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 0xa000-0xa01f irq 9 at device 16.2 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 pci0: at 16.3 irq 9 isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0x9800-0x980f at device 17.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcm0: port 0xe000-0xe0ff irq 9 at device 17.5 on pci0 fdc0: 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: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, unlimited logging ad0: 1549MB [3148/16/63] at ata0-master WDMA2 acd0: CD-RW at ata1-master PIO4 acd1: CDROM at ata1-slave PIO4 Waiting 15 seconds for SCSI devices to settle Mounting root from ufs:/dev/da0s1a da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 17501MB (35843671 512 byte sectors: 255H 63S/T 2231C) fire_saver: the console does not support M_VGA_CG320 module_register_init: MOD_LOAD (fire_saver, c238e6c0, 0) error 19 nvidia: rebuild nvidia.ko for FreeBSD AGPGART support. amd2000# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message