From owner-freebsd-current Thu Oct 3 13:41:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CD3537B404 for ; Thu, 3 Oct 2002 13:41:17 -0700 (PDT) Received: from hun.org (hun.org [216.190.27.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33A0B43E42 for ; Thu, 3 Oct 2002 13:41:16 -0700 (PDT) (envelope-from attila@hun.org) Received: by hun.org (Postfix, from userid 1001) id EACFB57AE3; Thu, 3 Oct 2002 20:36:00 +0000 (GMT) Date: Thu, 03 Oct 2002 20:36:00 +0000 (GMT) Message-Id: <20021003203600.MbP0849@hun.org> From: attila! X-Mailer: AttilaMail with XEmacs & Postfix on FreeBSD 5.0-CURRENT X-Ballistic: N 37.218497 W 113.614979 X-Address: 31 N 700 E, St George UT 84770-3028 X-No-Archive: yes To: FreeBSD 5.0-CURRENT Subject: hints on SCSI bus for cd0/1 force it to cd2/3 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="text" Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG kernel slice: 5.0-CURRENT 2002.10.03.12.00 hints for cd0/1 force them to cd2/3 [from dmesg --full list at end] Mounting root from ufs:/dev/da0a cd3 at trm0 bus 0 target 6 lun 0 cd3: Removable CD-ROM SCSI-2 device cd3: 10.000MB/s transfers (10.000MHz, offset 15) cd3: cd present [1218960 x 2048 byte records] cd2 at trm0 bus 0 target 4 lun 0 cd2: Removable CD-ROM SCSI-2 device cd2: 4.032MB/s transfers (4.032MHz, offset 15) cd2: Attempt to query device size failed: NOT READY, Medium not present ALRIGHT! I do notice that the aic7899 is now declaring as ahc0 and ahc1 for the first time this year which probably means I can move the 160s to the B channel and the legacy CDROM, ZIP and DVDRAM to the A channel and it will boot with everything up --hopefully without hints. Checking backward, it looks like it was installed prior to my 29 Sep 1200 GMT slice; I think the cam and and aic revisions went in on 27 Sep, but I don't have the cvsup logs. I'll recable accordingly and test before trying GEOM again after the last two lockups on successive day's builds. ahc0: port 0x1400-0x14ff mem 0xf4002000$ aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0x1800-0x18ff mem 0xf4003000$ ahc1: bus_alloc_resource() failed to allocate IRQ device_probe_and_attach: ahc1 attach returned 12 likewise, hints for sio2 forces the pci card modem to move to sio4 hint.sio.0.at="isa" hint.sio.0.port="0x3F8" hint.sio.0.flags="0x10" hint.sio.0.irq="4" hint.sio.1.at="isa" hint.sio.1.port="0x2F8" hint.sio.1.irq="3" hint.sio.2.at="isa" hint.sio.2.disabled="0" hint.sio.2.port="0x3E8" hint.sio.2.irq="5" hint.sio.3.at="isa" hint.sio.3.disabled="1" hint.sio.3.port="0x2E8" hint.sio.3.irq="9" from dmesg: sio0: <3COM PCI FaxModem> port 0x2018-0x201f irq 11 at device 9.0 on pci0 sio0: moving to sio4 sio4: type 16550A The bottom line is that neither the sio/isa hints nor the SCSI hints work as advertised. Sent: Thu, 03 Oct 2002 07:20:38 +0200 by PHK Message-ID: <3761.1033622438@critter.freebsd.dk> < yes, there is a problem with scsi-cd devices. < < can you please try this patch: < http://phk.freebsd.dk/patch/scsi_cd.c.patch ----- appendix / dmesg from 03 Oct 1200 GMT slice ----- 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 5.0-CURRENT #100: Thu Oct 3 17:07:07 GMT 2002 root@hun.org:/usr/obj/usr/src/sys/hun Preloaded elf kernel "/boot/kernel/kernel" at 0xc08e5000. Preloaded mfs_root "/boot/mfsroot" at 0xc08e50b4. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08e50f8. Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) Processor (1194.68-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xffffffffc0480000 real memory = 536805376 (524224K bytes) avail memory = 511897600 (499900K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 1, version: 0x00040010, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Pentium Pro MTRR support enabled md0: Preloaded image 4423680 bytes at 0xc046bf4c npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. acpi0: sleep button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0x8080-0x80ff,0x8000-0x807f,0xcf8-0xcff iomem 0xdc000-0xdffff on acpi0 pci0: on pcib0 agp0: port 0x2010-0x2013 mem 0xf4005000-0xf4005fff,0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at device 7.1 (no driver attached) pci0: at device 7.3 (no driver attached) pci0: at device 7.4 (no driver attached) trm0: port 0x1000-0x10ff mem 0xf4001000-0xf4001fff irq 10 at device 8.0 on pci0 sio0: <3COM PCI FaxModem> port 0x2018-0x201f irq 11 at device 9.0 on pci0 sio0: moving to sio4 sio4: type 16550A ahc0: port 0x1400-0x14ff mem 0xf4002000-0xf4002fff irq 10 at device 13.0 on pci0 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0x1800-0x18ff mem 0xf4003000-0xf4003fff irq 11 at device 13.1 on pci0 ahc1: bus_alloc_resource() failed to allocate IRQ device_probe_and_attach: ahc1 attach returned 12 xl0: <3Com 3c980C Fast Etherlink XL> port 0x1c00-0x1c7f mem 0xf4004000-0xf400407f irq 5 at device 15.0 on pci0 xl0: Ethernet address: 00:e0:81:03:e2:89 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl1: <3Com 3c980C Fast Etherlink XL> port 0x1c80-0x1cff mem 0xf4004400-0xf400447f irq 11 at device 16.0 on pci0 xl1: couldn't map interrupt device_probe_and_attach: xl1 attach returned 6 atspeaker0 port 0x61 on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: IEEE1284 device found /NIBBLE/ECP/ECP_RLE Probing for PnP devices on ppbus0: ppbus0: PJL,MLC,PCL,PCLXL,POSTSCRIPT lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 orm0: