Date: Fri, 2 Jan 2004 12:15:34 -0700 From: "John R. Shannon" <john@johnrshannon.com> To: freebsd-hardware@freebsd.org Subject: Re: umass conflicts with scsi disk drives Message-ID: <200401021215.35921.john@johnrshannon.com> In-Reply-To: <200401021148.59704.john@johnrshannon.com> References: <200401021148.59704.john@johnrshannon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It appears that I misinterpreted the events because they scroll by so quick= ly.=20 The disk assignments are simply changing depending on whether the umass=20 device is attached or not. Question: How do I fix the device assignments (da) so that the system disk= =20 will always have the same device number? On Friday 02 January 2004 11:48 am, John R. Shannon wrote: > SuperMicro 370DE6 motherboard > dual P3 > > I'm experiencing a problem where umass is appropriating da0 and da1 after > these have been assigned to SCSI hard-drives. This is only a problem if t= he > Sandisk CF card reader is attached when the system boots; otherwise, devi= ce > assignment looks correct. > > Dmesg output, CF reader inserted after system boot, follows: > > FreeBSD 5.2-CURRENT #0: Thu Jan 1 14:37:39 MST 2004 > root@pablo.internal.johnrshannon.com:/usr/obj/usr/src/sys/MYKERNEL > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0770000. > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc077026c. > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel Pentium III (999.52-MHz 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0x686 Stepping =3D 6 > =20 > Features=3D0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE= ,MCA >,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory =3D 1073676288 (1023 MB) > avail memory =3D 1045360640 (996 MB) > ACPI APIC Table: <RCC RCCNILE > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0 <Version 1.1> irqs 0-15 on motherboard > ioapic1 <Version 1.1> irqs 16-31 on motherboard > Pentium Pro MTRR support enabled > ACPI-0671: *** Warning: Type override - [DEB_] had invalid type > (Integer) for Scope operator, changed to (Scope) > ACPI-0671: *** Warning: Type override - [MLIB] had invalid type > (Integer) for Scope operator, changed to (Scope) > ACPI-0671: *** Warning: Type override - [IO__] had invalid type > (Integer) for Scope operator, changed to (Scope) > ACPI-0671: *** Warning: Type override - [DATA] had invalid type > (String) for Scope operator, changed to (Scope) > ACPI-0671: *** Warning: Type override - [SIO_] had invalid type > (String) for Scope operator, changed to (Scope) > ACPI-0671: *** Warning: Type override - [SB__] had invalid type > (String) for Scope operator, changed to (Scope) > ACPI-0671: *** Warning: Type override - [PM__] had invalid type > (String) for Scope operator, changed to (Scope) > ACPI-0671: *** Warning: Type override - [ICNT] had invalid type > (String) for Scope operator, changed to (Scope) > ACPI-0671: *** Warning: Type override - [ACPI] had invalid type > (String) for Scope operator, changed to (Scope) > ACPI-0671: *** Warning: Type override - [OSB4] had invalid type > (String) for Scope operator, changed to (Scope) > ACPI-0671: *** Warning: Type override - [PM__] had invalid type > (String) for Scope operator, changed to (Scope) > ACPI-0671: *** Warning: Type override - [BIOS] had invalid type > (Integer) for Scope operator, changed to (Scope) > ACPI-0671: *** Warning: Type override - [CMOS] had invalid type > (Integer) for Scope operator, changed to (Scope) > npx0: [FAST] > npx0: <math processor> on motherboard > npx0: INT 16 interface > acpi0: <RCC RCCNILE > on motherboard > acpi0: Power Button (fixed) > acpi0: Sleep Button (fixed) > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > pcibios: BIOS version 2.10 > Using $PIR table, 10 entries at 0xc00f5350 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 > acpi_cpu0: <CPU> on acpi0 > acpi_cpu1: <CPU> on acpi0 > acpi_cpu1: Failed to attach throttling P_CNT > acpi_cpu2: <CPU> on acpi0 > device_probe_and_attach: acpi_cpu2 attach returned 6 > acpi_cpu2: <CPU> on acpi0 > device_probe_and_attach: acpi_cpu2 attach returned 6 > acpi_button0: <Sleep Button> on acpi0 > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 > pci0: <ACPI PCI bus> on pcib0 > pcib0: slot 15 INTA is routed to irq 10 > pcib1: <ACPI PCI-PCI bridge> at device 0.1 on pci0 > pci1: <ACPI PCI bus> on pcib1 > pci1: <display, VGA> at device 0.0 (no driver attached) > ohci0: <OPTi 82C861 (FireLink) USB controller> mem 0xfeafc000-0xfeafcfff > irq 16 at device 1.0 on pci0 > usb0: OHCI version 1.0, legacy support > usb0: <OPTi 82C861 (FireLink) USB controller> on ohci0 > usb0: USB revision 1.0 > uhub0: OPTi OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > pci0: <multimedia, audio> at device 2.0 (no driver attached) > ahc0: <Adaptec 3960D Ultra160 SCSI adapter> port 0xc400-0xc4ff mem > 0xfeafd000-0xfeafdfff irq 28 at device 4.0 on pci0 > aic7899: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs > ahc1: <Adaptec 3960D Ultra160 SCSI adapter> port 0xc800-0xc8ff mem > 0xfeafe000-0xfeafefff irq 29 at device 4.1 on pci0 > aic7899: Ultra160 Wide Channel B, SCSI Id=3D7, 32/253 SCBs > ahc2: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd000-0xd0ff mem > 0xfeadc000-0xfeadcfff irq 26 at device 5.0 on pci0 > aic7899: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs > ahc3: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd800-0xd8ff mem > 0xfeadf000-0xfeadffff irq 27 at device 5.1 on pci0 > aic7899: Ultra160 Wide Channel B, SCSI Id=3D7, 32/253 SCBs > fxp0: <Intel 82559 Pro/100 Ethernet> port 0xd400-0xd43f mem > 0xfe900000-0xfe9fffff,0xfeadd000-0xfeaddfff irq 31 at device 6.0 on pci0 > fxp0: Ethernet address 00:30:48:10:79:16 > miibus0: <MII bus> on fxp0 > inphy0: <i82555 10/100 media interface> on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > isab0: <PCI-ISA bridge> port 0x580-0x58f at device 15.0 on pci0 > isa0: <ISA bus> on isab0 > atapci0: <ServerWorks ROSB4 UDMA33 controller> port 0xffa0-0xffaf at devi= ce > 15.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata0: [MPSAFE] > ata1: at 0x170 irq 15 on atapci0 > ata1: [MPSAFE] > ohci1: <OHCI (generic) USB controller> mem 0xfeaff000-0xfeafffff irq 10 at > device 15.2 on pci0 > usb1: OHCI version 1.0, legacy support > usb1: <OHCI (generic) USB controller> on ohci1 > usb1: USB revision 1.0 > uhub1: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 4 ports with 4 removable, self powered > pcib2: <ACPI Host-PCI bridge> on acpi0 > pci2: <ACPI PCI bus> on pcib2 > atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 > atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: <PS/2 Mouse> irq 12 on atkbdc0 > psm0: model Generic PS/2 mouse, device ID 0 > fdc0: cmd 3 failed at out byte 1 of 3 > sio0 port 0x3f8-0x3ff irq 4 on acpi0 > sio0: type 16550A > sio1 port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 > ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > ppbus0: <Parallel port bus> on ppc0 > lpt0: <Printer> on ppbus0 > lpt0: Interrupt-driven port > ppi0: <Parallel I/O> on ppbus0 > acpi_cpu2: <CPU> on acpi0 > device_probe_and_attach: acpi_cpu2 attach returned 6 > acpi_cpu2: <CPU> on acpi0 > device_probe_and_attach: acpi_cpu2 attach returned 6 > fdc0: cmd 3 failed at out byte 1 of 3 > orm0: <Option ROMs> at iomem > 0xcd000-0xd2fff,0xcc000-0xccfff,0xc0000-0xcafff on isa0 > pmtimer0 on isa0 > fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port > 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > sc0: <System console> at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=3D0x300> > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounters tick every 10.000 msec > Waiting 15 seconds for SCSI devices to settle > acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0% > GEOM: create disk cd0 dp=3D0xc5fe6600 > GEOM: create disk da0 dp=3D0xc601b050 > GEOM: create disk da1 dp=3D0xc5fd8c50 > GEOM: create disk da2 dp=3D0xc6002c50 > GEOM: create disk da3 dp=3D0xc6028050 > da0 at ahc2 bus 0 target 0 lun 0 > da0: <SEAGATE ST318452LW 0004> Fixed Direct Access SCSI-3 device > da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing > Enabled > da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) > SMP: AP CPU #1 Launched! > da1 at ahc3 bus 0 target 1 lun 0 > da1: <IBM DNES-318350W SA30> Fixed Direct Access SCSI-3 device > da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing > Enabled > da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) > da2 at ahc3 bus 0 target 8 lun 0 > da2: <IBM DNES-318350W SA30> Fixed Direct Access SCSI-3 device > da2: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing > Enabled > da2: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) > da3 at ahc3 bus 0 target 9 lun 0 > da3: <IBM DNES-318350W SA30> Fixed Direct Access SCSI-3 device > da3: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing > Enabled > da3: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) > cd0 at ahc0 bus 0 target 5 lun 0 > cd0: <YAMAHA CRW2100S 1.0H> Removable CD-ROM SCSI-2 device > cd0: 20.000MB/s transfers (20.000MHz, offset 7) > cd0: cd present [65191 x 2048 byte records] > Mounting root from ufs:/dev/da0s1a > fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 > fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 > umass0: SanDisk Corporation ImageMate CF-SM, rev 1.10/1.00, addr 2 > GEOM: create disk da4 dp=3D0xc5e0cc50 > da4 at umass-sim0 bus 0 target 0 lun 0 > da4: <SanDisk ImageMate CF-SM 0100> Removable Direct Access SCSI-0 device > da4: 1.000MB/s transfers > da4: Attempt to query device size failed: NOT READY, Medium not present > (da4:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 > (da4:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da4:umass-sim0:0:0:0): SCSI Status: Check Condition > (da4:umass-sim0:0:0:0): NOT READY asc:3a,0 > (da4:umass-sim0:0:0:0): Medium not present > (da4:umass-sim0:0:0:0): Unretryable error > Opened disk da4 -> 6 > (da4:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 > (da4:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da4:umass-sim0:0:0:0): SCSI Status: Check Condition > (da4:umass-sim0:0:0:0): NOT READY asc:3a,0 > (da4:umass-sim0:0:0:0): Medium not present > (da4:umass-sim0:0:0:0): Unretryable error > Opened disk da4 -> 6 > GEOM: create disk da5 dp=3D0xc5e5b850 > da5 at umass-sim0 bus 0 target 0 lun 1 > da5: <SanDisk ImageMate CF-SM 0100> Removable Direct Access SCSI-0 device > da5: 1.000MB/s transfers > da5: Attempt to query device size failed: NOT READY, Medium not present > (da5:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 > (da5:umass-sim0:0:0:1): CAM Status: SCSI Status Error > (da5:umass-sim0:0:0:1): SCSI Status: Check Condition > (da5:umass-sim0:0:0:1): NOT READY asc:3a,0 > (da5:umass-sim0:0:0:1): Medium not present > (da5:umass-sim0:0:0:1): Unretryable error > Opened disk da5 -> 6 > (da5:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 > (da5:umass-sim0:0:0:1): CAM Status: SCSI Status Error > (da5:umass-sim0:0:0:1): SCSI Status: Check Condition > (da5:umass-sim0:0:0:1): NOT READY asc:3a,0 > (da5:umass-sim0:0:0:1): Medium not present > (da5:umass-sim0:0:0:1): Unretryable error > Opened disk da5 -> 6 =2D --=20 John R. Shannon john@johnrshannon.com =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (NetBSD) iEYEARECAAYFAj/1w1YACgkQOKbCxya4HYtcpgCcCQVzSeQng9OqnfR+Qro/4DPi 2vMAmwb0EetFJg9R3WN0hFi6BWWmorbv =3DOlUc =2D----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401021215.35921.john>