From owner-freebsd-current Mon Sep 13 13:42:17 1999 Delivered-To: freebsd-current@freebsd.org Received: from shadowmere.student.utwente.nl (wit401305.student.utwente.nl [130.89.236.145]) by hub.freebsd.org (Postfix) with ESMTP id 03A7315121 for ; Mon, 13 Sep 1999 13:42:13 -0700 (PDT) (envelope-from daeron@Wit401305.student.utwente.nl) Received: by shadowmere.student.utwente.nl (Postfix, from userid 1001) id 17C3DE0; Mon, 13 Sep 1999 22:42:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by shadowmere.student.utwente.nl (Postfix) with ESMTP id E9544C0 for ; Mon, 13 Sep 1999 22:42:11 +0200 (CEST) Date: Mon, 13 Sep 1999 22:42:11 +0200 (CEST) From: Pascal Hofstee To: freebsd-current@freebsd.org Subject: ata-driver screws up ? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As of 4.0-CURRENT about a few hours ago the ATA-driver screws up with my secondary master IDE drive ... wd1s1e gets mounted perfectly ... all other wd1s1 entries fail: uname -a: ========= FreeBSD shadowmere.student.utwente.nl 4.0-CURRENT FreeBSD 4.0-CURRENT #7: Mon Sep 13 21:43:49 CEST 1999 root@shadowmere.student.utwente.nl:/usr/src/sys/compile/CHROME i386 dmesg: ====== ata0: master: setting up WDMA2 mode on PIIX3/4 chip OK ad0: ATA-? disk at ata0 as master ad0: 1549MB (3173184 sectors), 3148 cyls, 16 heads, 63 S/T, 512 B/S ad0: piomode=4, dmamode=2, udmamode=-1 ad0: 16 secs/int, 0 depth queue, DMA mode Creating DISK ad0 Creating DISK wd0 ata1: master: setting up UDMA2 mode on PIIX4 chip OK ad1: ATA-4 disk at ata1 as master ad1: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S ad1: piomode=4, dmamode=2, udmamode=2 ad1: 16 secs/int, 31 depth queue, DMA mode Creating DISK ad1 Creating DISK wd1 atapi: piomode=4, dmamode=1, udmamode=-1 atapi: PIO transfer mode set acd0: <20DY/V1.70> CDROM drive at ata0 as slave acd0: drive speed 3447KB/sec, 120KB cache acd0: supported read types: CD-R, CD-DA acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked Considering FFS root f/s. changing root device to wd0s1a wd0s1: type 0xa5, start 63, end = 3173183, size 3173121 : OK start_init: trying /sbin/init wd1s1: type 0xa5, start 0, end = 19807199, size 19807200 : OK wd1: invalid primary partition table: no magic wd1: invalid primary partition table: no magic wd1: invalid primary partition table: no magic wd1s1: type 0xa5, start 0, end = 19807199, size 19807200 : OK WARNING: R/W mount of /usr/obj denied. Filesystem is not clean - run fsck WARNING: R/W mount of /usr/tmp/download denied. Filesystem is not clean - run fsck wd1: invalid primary partition table: no magic wd1: invalid primary partition table: no magic wd1: invalid primary partition table: no magic wd1: invalid primary partition table: no magic I can perfectly run fsck manually on the remaining wd1s1 entries ... And mount them manually ... though at system reboot every bails out, with messages like "wd1s1: device not configured" I currently have the following etc/fstab: ========================================= # Device Mountpoint FStype Options Dump Pass# /dev/wd0s1b none swap sw 0 0 /dev/wd0s1a / ufs rw 1 1 /dev/wd0s1f /home ufs rw 2 2 /dev/wd0s1g /usr ufs rw 2 2 /dev/wd0s1e /var ufs rw 2 2 /dev/wd1s1e /usr/src ufs rw,noauto 2 2 /dev/wd1s1f /usr/obj ufs rw,noauto 2 2 /dev/wd1s1g /usr/tmp/download ufs rw,noauto 2 2 /dev/wd1s1h /var/ftp ufs rw,noauto 2 2 proc /proc procfs rw 0 0 kern /kern kernfs rw 0 0 All the noauto entries can be mounted without a hitch once the system is up ... but having them mounted automacially at boot time bails out as stated before .. -------------------- Pascal Hofstee - daeron@shadowmere.student.utwente.nl -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s+: a-- C++ UB++++ P+ L- E--- W- N+ o? K- w--- O? M V? PS+ PE Y-- PGP-- t+ 5 X-- R tv+ b+ DI D- G e* h+ r- y+ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message