Date: Tue, 14 Jan 1997 12:16:00 -0800 (PST) From: David Lowe <dlowe@sirius.com> To: questions@freebsd.org Subject: AHA-2940AU question(s) Message-ID: <Pine.NXT.3.95.970114113420.4520U-100000@ds9>
next in thread | raw e-mail | index | archive | help
I've run into a couple of problems which I suspect have to do with the SCSI adapter and its support under FreeBSD. Here's a description - Machine: Pentium 133 running FreeBSD-2.2-BETA, 128MB RAM, with an AHA-2940AU PCI SCSI host adapter, hosting two identical 1GB hard drives. Description: FreeBSD finds the SCSI adapter and recognizes it as an AHA-2940A, and finds both drives without problems. The machine runs very smoothly under most circumstances. Problem 1: This may be a purely hardware problem, but whenever the machine is rebooted, the host adapter fails to find the drives. In order to reboot successfully, I need to power cycle the machine. Problem 2: I needed to clone the contents of disk 1 onto disk 2. Using dd: dd if=/dev/sd0 of=/dev/sd1 worked fine, but was really slow. I had done the same thing on an older FreeBSD machine with an AHA-2940A controller, and to speed things up had set the blocksize to 32k, without problems: dd if=/dev/sd0 of=/dev/sd1 bs=32k However, doing this on this current machine/setup caused the machine to lock up after a few seconds. It starts fine, and then at some point all disk access stops, and the machine is completely frozen - no panics or coredumps or log errors, power cycle necessary to restart. After a bit of testing, I found that any blocksize of larger than 1k causes this crash. So, are there any ideas as to what may be causing this behavior? I'm eager to get this machine into production, and would really appreciate any help anyone can offer. --- Jan 14 03:19:53 news3 /kernel: FreeBSD 2.2-BETA_A #0: Fri Jan 10 08:57:02 PST 1997 Jan 14 03:19:53 news3 /kernel: root@news3.sirius.com:/usr/src/sys/compile/FRUMPY Jan 14 03:19:53 news3 /kernel: Calibrating clock(s) relative to mc146818A clock ... i586 clock: 132635859 Hz, i8254 clock: 1193223 Hz Jan 14 03:19:53 news3 /kernel: CPU: Pentium (132.63-MHz 586-class CPU) Jan 14 03:19:53 news3 /kernel: Origin = "GenuineIntel" Id = 0x52c Stepping=12 Jan 14 03:19:53 news3 /kernel: Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> Jan 14 03:19:53 news3 /kernel: real memory = 134217728 (131072K bytes) Jan 14 03:19:53 news3 /kernel: avail memory = 127434752 (124448K bytes) Jan 14 03:19:53 news3 /kernel: Probing for devices on PCI bus 0: Jan 14 03:19:53 news3 /kernel: chip0 <Intel 82437FX PCI cache memory controller> rev 1 on pci0:0 Jan 14 03:19:53 news3 /kernel: chip1 <Intel 82371FB PCI-ISA bridge> rev 2 on pci0:7:0 Jan 14 03:19:53 news3 /kernel: chip2 <Intel 82371FB IDE interface> rev 2 on pci0:7:1 Jan 14 03:19:53 news3 /kernel: de0 <Digital 21140 Fast Ethernet> rev 18 int a irq 9 on pci0:13 Jan 14 03:19:53 news3 /kernel: de0: SMC 9332 21140 [10-100Mb/s] pass 1.2 Jan 14 03:19:53 news3 /kernel: de0: address 00:00:c0:6f:ee:e7 Jan 14 03:19:53 news3 /kernel: de0: enabling 10baseT port Jan 14 03:19:53 news3 /kernel: de1 <Digital 21140 Fast Ethernet> rev 18 int a irq 10 on pci0:14 Jan 14 03:19:53 news3 /kernel: de1: SMC 9332 21140 [10-100Mb/s] pass 1.2 Jan 14 03:19:53 news3 /kernel: de1: address 00:00:c0:6b:ee:e7 Jan 14 03:19:53 news3 /kernel: de1: enabling 10baseT port Jan 14 03:19:53 news3 /kernel: ahc0 <Adaptec 2940A Ultra SCSI host adapter> rev 1 int a irq 11 on pci0:15 Jan 14 03:19:53 news3 /kernel: ahc0: aic7860 Single Channel, SCSI Id=7, 3 SCBs Jan 14 03:19:53 news3 /kernel: (ahc0:0:0): "DEC L4PL-IDT H44I" type 0 fixed SCSI 2 Jan 14 03:19:53 news3 /kernel: sd0(ahc0:0:0): Direct-Access 1021MB (2091144 512 byte sectors) Jan 14 03:19:53 news3 /kernel: (ahc0:1:0): "DEC L4PL-IDT H44I" type 0 fixed SCSI 2 Jan 14 03:19:53 news3 /kernel: sd1(ahc0:1:0): Direct-Access 1021MB (2091144 512 byte sectors) Jan 14 03:19:54 news3 /kernel: Probing for devices on the ISA bus: Jan 14 03:19:54 news3 /kernel: sc0 at 0x60-0x6f irq 1 on motherboard Jan 14 03:19:54 news3 /kernel: sc0: VGA color <14 virtual consoles, flags=0x0> Jan 14 03:19:54 news3 /kernel: lpt0 at 0x378-0x37f irq 7 on isa Jan 14 03:19:54 news3 /kernel: lpt0: Interrupt-driven port Jan 14 03:19:54 news3 /kernel: lp0: TCP/IP capable interface Jan 14 03:19:54 news3 /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa Jan 14 03:19:54 news3 /kernel: sio0: type 16550A Jan 14 03:19:54 news3 /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa Jan 14 03:19:54 news3 /kernel: fdc0: NEC 72065B Jan 14 03:19:54 news3 /kernel: fd0: 1.44MB 3.5in Jan 14 03:19:54 news3 /kernel: npx0 on motherboard Jan 14 03:19:54 news3 /kernel: npx0: INT 16 interface
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NXT.3.95.970114113420.4520U-100000>