Date: Thu, 17 Sep 1998 18:07:06 +0200 (CEST) From: Blaz Zupan <blaz@gold.amis.net> To: freebsd-current@FreeBSD.ORG Subject: More CAM trouble Message-ID: <Pine.BSF.4.02A.9809171757310.381-100000@gold.amis.net>
next in thread | raw e-mail | index | archive | help
I was running a Sep 2 kernel before doing a make world yesterday and upgrading to the latest -current. Now when I try to boot the kernel, I see that FreeBSD mounts the disks and then the box hangs with the drive light on. The last message I see is the one from the /etc/rc script doing the "mount -a". Really looks like a SCSI hang to me. Here is the output I get with the old (working) kernel (withouth CAM): ahc0: <Adaptec 2940 Ultra SCSI host adapter> rev 0x00 int a irq 9 on pci0.13.0 ahc0: aic7880 Single Channel, SCSI Id=7, 16/255 SCBs ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 sd0 at scbus0 target 0 lun 0 sd0: <QUANTUM LPS540S 5900> type 0 fixed SCSI 2 sd0: Direct-Access 516MB (1057616 512 byte sectors) sd1 at scbus0 target 1 lun 0 sd1: <NEC D3847 0307> type 0 fixed SCSI 2 sd1: Direct-Access 1547MB (3170160 512 byte sectors) cd0 at scbus0 target 3 lun 0 cd0: <TEAC CD-ROM CD-532S 1.0A> type 5 removable SCSI 2 cd0: CD-ROM can't get the size The FreeBSD disk is sd1, sd0 has Win95. The disks are fairly old (the Quantum is something like 5 years old, was even used in my old trusty Amiga), the NEC is about 3 years old. I tried booting the CAM kernel with -v, but nothing useful comes up. I also recompiled the kernel with CAMDEBUG (is that the only thing I need?), but did not see any useful messages when the box boots. I am fairly sure the cabling and termination is correct, and the box was working with a non-CAM kernel and it also works under Win95 (yikes). An interesting observation: I can boot single-user and then mount all disks with "mount -a". After that I can create a zero-length file ("echo >x") just fine, and also "sync" the disk afterwards, without a hang. But as soon as I do a "umount -a", the SCSI bus hangs. I am running softupdates, but tried turning them off with no visible effect. Anybody ideas appreciated, if you need more info, just ask. Here is the complete dmesg with a September 2nd kernel: Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Wed Sep 2 17:55:43 CEST 1998 root@gold.amis.net:/usr/home/blaz/FreeBSD/src/sys/compile/GOLD Timecounter "i8254" frequency 1193182 Hz cost 5555 ns CPU: AMD Am5x86 Write-Back (486-class CPU) Origin = "AuthenticAMD" Id = 0x4f4 Stepping=4 Features=0x1<FPU> real memory = 67108864 (65536K bytes) avail memory = 63209472 (61728K bytes) Probing for devices on PCI bus 0: chip0: <SiS 85c496> rev 0x31 on pci0.5.0 vga0: <S3 Trio graphics accelerator> rev 0x53 int a irq 11 on pci0.11.0 ahc0: <Adaptec 2940 Ultra SCSI host adapter> rev 0x00 int a irq 9 on pci0.13.0 ahc0: aic7880 Single Channel, SCSI Id=7, 16/255 SCBs ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 sd0 at scbus0 target 0 lun 0 sd0: <QUANTUM LPS540S 5900> type 0 fixed SCSI 2 sd0: Direct-Access 516MB (1057616 512 byte sectors) sd1 at scbus0 target 1 lun 0 sd1: <NEC D3847 0307> type 0 fixed SCSI 2 sd1: Direct-Access 1547MB (3170160 512 byte sectors) cd0 at scbus0 target 3 lun 0 cd0: <TEAC CD-ROM CD-532S 1.0A> type 5 removable SCSI 2 cd0: CD-ROM can't get the size Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x300-0x31f irq 10 on isa ed0: address 00:80:48:ed:41:8e, type NE2000 (16 bit) sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 at 0x3e8-0x3ef irq 5 on isa sio2: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fd0: 1.44MB 3.5in isic0 at 0xd80 irq 12 flags 0x4 on isa isic0: Teles S0/16.3 isic0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2) (Addr=0x960) isic0: HSCX 82525 or 21525 Version 2.1 (AddrA=0x160, AddrB=0x560) npx0 on motherboard npx0: INT 16 interface i4b: ISDN call control device attached i4bisppp: 4 ISDN SyncPPP device(s) attached i4bctl: ISDN system control port attached i4bipr: 4 IP over raw HDLC ISDN device(s) attached i4btel: 2 ISDN telephony interface device(s) attached i4brbch: 4 raw B channel access device(s) attached i4btrc: 4 ISDN trace device(s) attached changing root device to sd1s4a ffs_mountfs: superblock updated ffs_mountfs: superblock updated Blaz Zupan, blaz@medinet.si, http://home.amis.net/blaz Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9809171757310.381-100000>