From owner-freebsd-stable Sun Mar 16 0:29:20 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDC0B37B401 for ; Sun, 16 Mar 2003 00:29:08 -0800 (PST) Received: from helios.earthmagic.org (helios.earthmagic.org [198.78.66.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAADD43FAF for ; Sun, 16 Mar 2003 00:29:06 -0800 (PST) (envelope-from lonewolf@earthmagic.org) Received: (qmail 10885 invoked from network); 16 Mar 2003 08:29:03 -0000 Received: from ppp224.vic.padsl.internode.on.net (HELO ilythia.earthmagic.org) (eo-lonewolf@150.101.208.223) by helios.earthmagic.org with DES-CBC3-SHA encrypted SMTP; 16 Mar 2003 08:29:03 -0000 Message-Id: <5.1.0.14.2.20030316190631.01c67ac0@helios.earthmagic.org> X-Sender: eo-lonewolf@helios.earthmagic.org X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 16 Mar 2003 19:30:50 +1100 To: freebsd-stable@freebsd.org, sos@freebsd.org From: "J.'LoneWolf' Mattsson" Subject: Sil 0680 ATA133 not attaching properly Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all/Soren, Quite a few months ago I purchased what turned out to be a Silicon Image Sil 0680 ATA133 pci controller card. At the time it wasn't even supported by the ATA driver, but that was quickly remedied by Soren - much to my delight :) Today, I finally got around to swap out the motherboard/cpu/ram from under the setup I was using (an old P120 system), to an ABIT BE6, P3-450, 768MB which until very recently was my windoze box. Unfortunately, for some reason the Silicon Image controller is not attaching properly under the new system, and hence I've lost access to 140gig worth of storage. I've fiddled with the BIOS settings with no luck. In the BIOS summary screen I see that there's a "Mass storage controller" sitting on IRQ 5 (which is what I specified in the BIOS with the last set of changes). When I boot FreeBSD however, the Sil0680 is detected at irq 0, and then reports "Busmastering DMA not configured", followed by a "probe allocation failed" message. Of worth noting could be that the card does not appear to be initialized by the BIOS - I see the Adaptec controller do its bits, the worthless HPT366 on-board IDE controller initialize, but nothing in regards to the Sil0680. I'm not a 100% sure if it used to show anything before (the system doesn't normally have a monitor attached), but I find it a bit suspect never the less. Could it by any chance be that the HPT366 is interfering and blocking the initialization of the Sil? I should probably mention that when I was using this system for windows, I did have an external IDE controller connected to it as well, and that was working just fine (a WinFast-100, IIRC). Is there anyone who might have a good idea of what's going on here? I'd really, really like to get access to those two drives hanging off this controller again... :) Below are the verbose dmesg, and a pciconf -v -l listing. The system is of 4.7-RC level. I'd prefer not having to make build/installworld, but if there have been any changes that you believe would resolve this issue, I'll of course have to do so. I'll go and try plugging the card into a different PCI slot now. The system is a pain to access physically, so I thought I'd send out this email before I spent the next couple of hours swapping the controller card around. And before someone suggests it, the HPT366 is not possible to disable (to my knowledge at least). I've already been over the motherboard for a jumper to kill it off, but with no luck. If someone knows how to get rid of it from a BE6 board, please feel free to tell me! And no, it's not capable of handling the two drives hanging off the Sil controller either. It says it is, and it can write to the disks, but then there's the small issue of reading back what was just written - which it can't do. Many thanks in advance, /Johny Verbose dmesg: 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.7-RC #0: Sun Mar 16 18:15:52 EST 2003 root@sarah.zone2.earthmagic.org:/usr/src/sys/compile/TANK Calibrating clock(s) ... TSC clock: 515505330 Hz, i8254 clock: 1193300 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 III/Pentium III Xeon/Celeron (515.46-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383f9ff real memory = 805306368 (786432K bytes) Physical memory chunk(s): 0x00001000 - 0x0009ffff, 651264 bytes (159 pages) 0x00341000 - 0x2fff7fff, 801861632 bytes (195767 pages) avail memory = 779919360 (761640K bytes) bios32: Found BIOS32 Service Directory header at 0xc00faf90 bios32: Entry = 0xfb410 (c00fb410) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xb440 pnpbios: Found PnP BIOS data at 0xc00fc010 pnpbios: Entry = f0000:c038 Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc031a000. Pentium Pro MTRR support enabled Creating DISK md0 md0: Malloc disk pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086) Using $PIR table, 8 entries at 0xc00fdef0 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x8086, dev=0x7190, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base e0000000, size 26 found-> vendor=0x8086, dev=0x7191, revid=0x03 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x8086, dev=0x7110, revid=0x02 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7111, revid=0x01 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000f000, size 4 found-> vendor=0x8086, dev=0x7112, revid=0x01 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=12 map[20]: type 1, range 32, base 0000c000, size 5 found-> vendor=0x8086, dev=0x7113, revid=0x02 class=06-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[90]: type 1, range 32, base 00005000, size 4 found-> vendor=0x10ec, dev=0x8139, revid=0x10 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=15 map[10]: type 1, range 32, base 0000c400, size 8 map[14]: type 1, range 32, base e9000000, size 8 found-> vendor=0x102b, dev=0x0519, 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 e4000000, size 14 map[14]: type 1, range 32, base e5000000, size 23 found-> vendor=0x9004, dev=0x6178, 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 0000c800, size 8 map[14]: type 1, range 32, base e9001000, size 12 found-> vendor=0x1095, dev=0x0680, revid=0x01 class=01-01-85, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[10]: type 1, range 32, base 00000000, size 3 map[14]: type 1, range 32, base 00000000, size 2 map[18]: type 1, range 32, base 00000000, size 3 map[1c]: type 1, range 32, base 00000000, size 2 map[20]: type 1, range 32, base 0000f000, size 4 found-> vendor=0x1103, dev=0x0004, revid=0x01 class=01-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=15 map[10]: type 1, range 32, base 0000cc00, size 3 map[14]: type 1, range 32, base 0000d000, size 2 map[20]: type 1, range 32, base 0000d400, size 8 found-> vendor=0x1103, dev=0x0004, revid=0x01 class=01-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=b, irq=15 map[10]: type 1, range 32, base 0000d800, size 3 map[14]: type 1, range 32, base 0000dc00, size 2 map[20]: type 1, range 32, base 0000e000, size 8 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000 ata0: mask=03 ostat0=50 ostat2=02 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 22 22 ata0: mask=03 stat0=50 stat1=22 ata0-master: ATA 01 a5 ata0-slave: ATA 0f 0f ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x7112) at 7.2 irq 12 chip1: port 0x5000-0x500f at device 7.3 on pci0 rl0: port 0xc400-0xc4ff mem 0xe9000000-0xe90000ff irq 15 at device 11.0 on pci0 using shared irq15. rl0: Ethernet address: 00:40:f4:28:9d:20 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: rl0 attached pci0: (vendor=0x102b, dev=0x0519) at 13.0 irq 10 ahc_pci0: port 0xc800-0xc8ff mem 0xe9001000-0xe9001fff irq 11 at device 15.0 on pci0 ahc_pci0: Reading SEEPROM...done. ahc_pci0: internal 50 cable is present ahc_pci0: external cable not present ahc_pci0: BIOS eeprom not present ahc_pci0: Low byte termination Enabled ahc_pci0: Downloading Sequencer Program... 450 instructions downloaded aic7860: Ultra Single Channel A, SCSI Id=0, 3/253 SCBs atapci1: port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 17.0 on pci0 atapci1: Busmastering DMA not configured ata2: probe allocation failed atapci2: port 0xd400-0xd4ff,0xd000-0xd003,0xcc00-0xcc07 irq 15 at device 19.0 on pci0 ata-: ata2 exists, using next available unit number ata3: iobase=0xcc00 altiobase=0xd002 bmaddr=0xd400 ata3: mask=03 ostat0=20 ostat2=30 ata3-master: ATAPI 20 20 ata3-slave: ATAPI 30 30 ata3: mask=03 stat0=20 stat1=30 ata3-master: ATA 25 25 ata3-slave: ATA 25 25 ata3: devices=00 ata3: at 0xcc00 on atapci2 atapci3: port 0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 15 at device 19.1 on pci0 ata-: ata2 exists, using next available unit number ata4: iobase=0xd800 altiobase=0xdc02 bmaddr=0xe000 ata4: mask=03 ostat0=20 ostat2=30 ata4-master: ATAPI 20 20 ata4-slave: ATAPI 30 30 ata4: mask=03 stat0=20 stat1=30 ata4-master: ATA 25 25 ata4-slave: ATA 25 25 ata4: devices=00 ata4: at 0xd800 on atapci3 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: