From owner-freebsd-scsi@FreeBSD.ORG Sun Feb 22 02:01:27 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 309E516A4CE for ; Sun, 22 Feb 2004 02:01:27 -0800 (PST) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2942F43D1D for ; Sun, 22 Feb 2004 02:01:27 -0800 (PST) (envelope-from yh@techie.com) Received: from ws1-7.us4.outblaze.com (ws1-7.us4.outblaze.com [205.158.62.57]) B219E180067C for ; Sun, 22 Feb 2004 10:01:26 +0000 (GMT) Received: by ws1-7.us4.outblaze.com (Postfix, from userid 1001) id AE65A2AAC5; Sun, 22 Feb 2004 10:01:26 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [202.156.36.135] by ws1-7.us4.outblaze.com with http for yh@techie.com; Sun, 22 Feb 2004 05:01:26 -0500 From: "yh tan" To: freebsd-scsi@freebsd.org Date: Sun, 22 Feb 2004 05:01:26 -0500 X-Originating-Ip: 202.156.36.135 X-Originating-Server: ws1-7.us4.outblaze.com Message-Id: <20040222100126.AE65A2AAC5@ws1-7.us4.outblaze.com> Subject: ServeRAID-6M on x335 with Freebsd 5.2 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 10:01:27 -0000 Just to share my experience with Freebsd5.2 with the following h/w configs which may help some who are having the similar problem(s) to resolve. os: freebsd 5.2 hw: ibm eserver x335 with onboard LSI1030 ext. scsi controller: ibm serveRaid-6m details: * the system scsi hdd (36GB) is tied to the LSI1030 scsi controller. * serverRaid-6m on pci-x slot2, with a set of disk array connected via scsi. (remember to config the disk array 1st, synchronized them and get them ready to be used.) - installation of freebsd 5.2 required to disabled ACPI on boot. - after installation, remember to choose to disable ACPI on boot permanently via sysinstall or "set hw.acpi.0.disabled=1" via boot loader prompt. ("set boot_verbose=YES" helps u to debug system booting and h/w detection.) impt: freebsd 5.2 is said to be supporting serveRaid-6m, however it is not so with the newer batch of Adaptec serverRaid-6m cards! because the vendor id and hardware id hardcoded in ips.h are not updated!) - with the os setup properly, next is to config the serverRaid-6m. you need to know how to recompile your kernel and drivers, as the hardcoded IDs for the serverRaid-6m scsi card needs to be changed. references: refer to linux >= 2.5.x kernel sources if u can, and look for the ips.h header file for the ips driver modules, which is what the serverRaid-6m card required. file shld be located in the linux kernel src, {kernel_src}/drivers/scsi/ips.h while freebsd 5.2 kernel sources, /usr/src/sys/dev/ips/ips.h impt: adaptec serverRaid-6m: VENDOR_ID=9005, DEVICE_ID=0279 ibm serverRaid-6m: VENDOR_ID=1014, DEVICE_ID=0279 - edit /usr/src/sys/dev/ips/ips.h, ---original_code-> #define IPS_VENDOR_ID 0x1014 #define IPS_MORPHEUS_DEVICE_ID 0x01BD ---modified_code-> #define IPS_VENDOR_ID 0x9005 #define IPS_MORPHEUS_DEVICE_ID 0x0279 Then recompile this modified kernel sources and install it. Refer to the Freebsd Handbook on building & installing new kernel. If u couldn't do it, then wait for someone to update the kernel, release a patch for it. The serverRaid-6m card will be detected and disk array(s) can be used after that. :-) Have fun! regds, yh -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm From owner-freebsd-scsi@FreeBSD.ORG Sun Feb 22 02:05:44 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9610616A4CE for ; Sun, 22 Feb 2004 02:05:44 -0800 (PST) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 772B543D1D for ; Sun, 22 Feb 2004 02:05:44 -0800 (PST) (envelope-from yh@techie.com) Received: from ws1-7.us4.outblaze.com (ws1-7.us4.outblaze.com [205.158.62.57]) 6CB60180096F for ; Sun, 22 Feb 2004 10:05:44 +0000 (GMT) Received: by ws1-7.us4.outblaze.com (Postfix, from userid 1001) id 68FF02AADC; Sun, 22 Feb 2004 10:05:44 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [202.156.36.135] by ws1-7.us4.outblaze.com with http for yh@techie.com; Sun, 22 Feb 2004 05:05:44 -0500 From: "yh tan" To: freebsd-scsi@freebsd.org Date: Sun, 22 Feb 2004 05:05:44 -0500 X-Originating-Ip: 202.156.36.135 X-Originating-Server: ws1-7.us4.outblaze.com Message-Id: <20040222100544.68FF02AADC@ws1-7.us4.outblaze.com> Subject: Re: ServeRAID-6M on x335 with Freebsd 5.2 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 10:05:44 -0000 Pardon me. Its "ServeRaid-6m" not "serverRaid-6m"! Typo error. -yh ----- Original Message ----- From: "yh tan" Date: Sun, 22 Feb 2004 05:01:26 -0500 To: freebsd-scsi@freebsd.org Subject: ServeRAID-6M on x335 with Freebsd 5.2 > Just to share my experience with Freebsd5.2 with the > following h/w configs which may help some who are > having the similar problem(s) to resolve. > > os: freebsd 5.2 > hw: ibm eserver x335 with onboard LSI1030 > ext. scsi controller: ibm serveRaid-6m > details: > * the system scsi hdd (36GB) is tied to the LSI1030 scsi controller. > * serverRaid-6m on pci-x slot2, with a set of disk array connected via scsi. > (remember to config the disk array 1st, synchronized them and get them > ready to be used.) > > - installation of freebsd 5.2 required to disabled ACPI on boot. > - after installation, remember to choose to disable ACPI on boot permanently > via sysinstall or "set hw.acpi.0.disabled=1" via boot loader prompt. > ("set boot_verbose=YES" helps u to debug system booting and h/w detection.) > impt: > freebsd 5.2 is said to be supporting serveRaid-6m, however it is not so with > the newer batch of Adaptec serverRaid-6m cards! because the vendor id and > hardware id hardcoded in ips.h are not updated!) > > - with the os setup properly, next is to config the serverRaid-6m. you need to > know how to recompile your kernel and drivers, as the hardcoded IDs for the > serverRaid-6m scsi card needs to be changed. > > references: > refer to linux >= 2.5.x kernel sources if u can, and look for the ips.h > header file for the ips driver modules, which is what the serverRaid-6m card > required. file shld be located in the linux kernel src, > {kernel_src}/drivers/scsi/ips.h > while freebsd 5.2 kernel sources, > /usr/src/sys/dev/ips/ips.h > > impt: > adaptec serverRaid-6m: VENDOR_ID=9005, DEVICE_ID=0279 > ibm serverRaid-6m: VENDOR_ID=1014, DEVICE_ID=0279 > > - edit /usr/src/sys/dev/ips/ips.h, > ---original_code-> > #define IPS_VENDOR_ID 0x1014 > #define IPS_MORPHEUS_DEVICE_ID 0x01BD > > ---modified_code-> > #define IPS_VENDOR_ID 0x9005 > #define IPS_MORPHEUS_DEVICE_ID 0x0279 > > Then recompile this modified kernel sources and install it. > Refer to the Freebsd Handbook on building & installing new kernel. > If u couldn't do it, then wait for someone to update the kernel, > release a patch for it. > > The serverRaid-6m card will be detected and disk array(s) can be used > after that. :-) > > > Have fun! > > regds, > yh > -- > ___________________________________________________________ > Sign-up for Ads Free at Mail.com > http://promo.mail.com/adsfreejump.htm > > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm From owner-freebsd-scsi@FreeBSD.ORG Mon Feb 23 17:31:04 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EE9716A4CE for ; Mon, 23 Feb 2004 17:31:04 -0800 (PST) Received: from peggy.comcast.net (c-67-167-0-2.client.comcast.net [67.167.0.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA5A243D2D for ; Mon, 23 Feb 2004 17:31:03 -0800 (PST) (envelope-from david_kanter@comcast.net) Received: from david by peggy.comcast.net with local (Exim 4.30; FreeBSD) id 1AvRPc-0005E7-0m for freebsd-scsi@freebsd.org; Mon, 23 Feb 2004 19:31:04 -0600 Date: Mon, 23 Feb 2004 19:31:03 -0600 From: David Kanter To: freebsd-scsi@freebsd.org Message-ID: <20040224013103.GA20066@peggy.comcast.net> Mail-Followup-To: freebsd-scsi@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Cannot use USB CD-RW with -STABLE X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 01:31:04 -0000 I've got 4-STABLE and can't get my USB CD-RW to read or write CDs. The CD-RW is connected to the computer via a USB 2.0 PCI card. I've got a ATA DVD-ROM that works perfectly fine. When I boot, dmesg shows the USB CD-RW: umass0: IOMEGA CDRW64892EXT3-B , rev 2.00/0.02, addr 2 All the USB-through-SCSI options are built into the kernel. When I try to mount a CD in the drive, I get: > sudo mount /cdrom cd9660: /dev/cd0c: Invalid argument dscheck(#cd/2): b_bcount 2048 is not on a sector boundary (ssize 385875968) yet mounting the CD in the DVD-ROM (/cdrom1) drive works just fine. Also, when running camcontrol: > sudo camcontrol devlist -v scbus0 on umass-sim0 bus 0: at scbus0 target 0 lun 0 (pass0,cd0) scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) When trying to burn a CD with XCDroast the USB CD-RW is recognized on start-up. But when trying to write to the drive the green access light flashes every other second for a minute or so and then I get an error that no devices can be found. Incidentally, when I tried to install FreeBSD from this USB drive I was told that the CD looked like it was an audio CD. (The install went fine with the DVD-ROM.) Any ideas? I've tried using 5.X, but when trying to burn a CD I get the "umass BBB bulk-in TIMEOUT" errors and the whole system freezes. That's why I thought I'd try -STABLE. From owner-freebsd-scsi@FreeBSD.ORG Tue Feb 24 08:32:13 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33B4716A4CE for ; Tue, 24 Feb 2004 08:32:13 -0800 (PST) Received: from sigma.ripn.net (sigma.ripn.net [194.226.64.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id 370DB43D1D for ; Tue, 24 Feb 2004 08:32:12 -0800 (PST) (envelope-from korotin@sigma.ripn.net) Received: from korotin by sigma.ripn.net with local (RIPN) id 1AvfTe-0002J1-Q0 for freebsd-scsi@freebsd.org; Tue, 24 Feb 2004 19:32:10 +0300 Date: Tue, 24 Feb 2004 19:32:10 +0300 From: Anton Korotin To: freebsd-scsi@freebsd.org Message-ID: <20040224163210.GC794@sigma.ripn.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: HostRAID not detected on -current X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 16:32:13 -0000 Hello, I've got a server box based on Intel SE7501WV2 board, SR2300 chassis. When I tried to install 5.2.1-RC2 on it SCSI was detected only with HostRAID disabled. When I enabled HostRAID SCSI i got: pci4: at device 7.0 (no driver attached) pci4: at device 7.1 (no driver attached) I've updated to -current on 19th of February and now what I can see with HostRAID enabled and situatiuon changed as follows. Looks like system "knows" that pci4:7:0 is a 'subclass = RAID' device but incorrectly shows ahd device with four physical drives available while two of them are formatted as raid-1 array by HostRAID. Copyright (c) 1992-2004 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.2-CURRENT #0: Thu Feb 19 17:41:58 GMT 2004 root@aaa:/usr/obj/usr/src/sys/DELTA-2 Preloaded elf kernel "/boot/kernel/kernel" at 0xc09d4000. Preloaded elf module "/boot/modules/acpi.ko" at 0xc09d426c. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.29-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1073676288 (1023 MB) avail memory = 1041129472 (992 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 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 - [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 - [LEDP] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0671: *** Warning: Type override - [GPEN] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0671: *** Warning: Type override - [GPST] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0671: *** Warning: Type override - [WUES] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0671: *** Warning: Type override - [WUSE] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0671: *** Warning: Type override - [SBID] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0671: *** Warning: Type override - [SWCE] had invalid type (String) for Scope operator, changed to (Scope) ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard ioapic2 irqs 48-71 on motherboard lapic0: Forcing LINT1 to edge trigger Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 19 entries at 0xc00f3630 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pcib1: at device 3.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P5 - AE_NOT_FOUND pci2: on pcib1 pci2: at device 28.0 (no driver attached) pcib2: at device 29.0 on pci2 pci4: on pcib2 ahd0: port 0x4000-0x40ff,0x3800-0x38ff mem 0xfe9e0000-0xfe9e1fff irq 50 at device 7.0 on pci4 aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs ahd1: port 0x3400-0x34ff,0x3000-0x30ff mem 0xfe9f0000-0xfe9f1fff irq 49 at device 7.1 on pci4 aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs pci2: at device 30.0 (no driver attached) pcib3: at device 31.0 on pci2 pci3: on pcib3 em0: port 0x2040-0x207f mem 0xfe6c0000-0xfe6dffff irq 30 at device 7.0 on pci3 em0: Speed:N/A Duplex:N/A em1: port 0x2000-0x203f mem 0xfe6e0000-0xfe6fffff irq 31 at device 7.1 on pci3 em1: Speed:N/A Duplex:N/A pci0: at device 3.1 (no driver attached) uhci0: port 0x5020-0x503f irq 16 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x5000-0x501f irq 19 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pcib4: at device 30.0 on pci0 pci1: on pcib4 pci1: at device 12.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x3a0-0x3af,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 31.3 (no driver attached) 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 acpi_ec0: port 0xca7,0xca6 on acpi0 fdc0: I/O to control range incorrect sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 fdc0: I/O to control range incorrect orm0: