From owner-freebsd-questions Thu Jan 29 21:28:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA18572 for questions-outgoing; Thu, 29 Jan 1998 21:28:20 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA18562 for ; Thu, 29 Jan 1998 21:28:15 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id VAA01519; Thu, 29 Jan 1998 21:28:07 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Thu, 29 Jan 1998 21:28:07 -0800 (PST) From: Doug White Reply-To: Doug White To: Douglas Ray cc: questions@FreeBSD.ORG Subject: Re: grief booting 2.2.5-R on wd0s4 In-Reply-To: <199801290739.SAA01619@nara.off.connect.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" On Thu, 29 Jan 1998, Douglas Ray wrote: > /dev/wd0s4a on /: Specified device does not match mounted device Can you be painfully specific as to where this appears? > 2.2.5-R installed on wd0s4 (via FTP for 12h, X-DEVELOPER): > 1579 cyl, 16 heads, 63 S/T > offset size END Name PType Desc SubType FLAGS > 0 63 62 - 6 unused 0 > 63 34208 34270 wd0s1 2 fat 6 > 34271 1 34271 wd0s2 2 fat 6 > 34272 40320 74591 wd0s3 2 fat 6 > 74592 1516032 1590623 wd0s4 3 freebsd 165 C > 1590624 1008 1591631 - 6 unused 0 Those are fruity DOS partitions: one that's 1 sector long?!? > wd0s4 (777Mb) has default partitioning (but I didn't > transcribe the details) > wd0s4a / > wd0s4b swap > wd0s4e var > wd0s4f usr > > The target info appears to be ignored: > boot: 0:wd(4,a)? This isn't wd4 (first disk on tertiary controller). wd4->wd0 is probably wrapping around. > load kernel, complain about no kernel.GENERIC.config, go > through boot sequence up to just before the fsck's where it > changes the root device (and before swapon). At that point > > boot: 0:wd(4,a)kernel.GENERIC It should be just /kernel. > says > changing root device to wd4a > panic : cannot mount root > and reboots (yes, that's wd4a not wd0s4a), but Yes, that's what you told it. > boot: 0:wd(0,a)kernel.GENERIC > runs through swapon, the fsck's, and fails on the subsequent > rw re-mount of / with diagnostic message > > /dev/wd0s4a on /: Specified device does not match mounted device Hm... sounds like it's getting wd0a and wd0s4a confused. > > This is some way down the debug trail. I first saw fstab with > /dev/wd0a / > and I had to mount /wd0s4a on /mnt to update it (didn't have > man page, and "mount -w /dev/wd0s4a /" failed with the device > mismatch diagnostic), and a couple of fsck's later we can now > get to the rw re-mount point in the boot sequence. Try `mount -u /' instead of your mount command line (you're trying to mount the same device twice). What's the output of just `mount' after the error message? I assume you're getting dropped to single-user mode after the error. > Platform is digital's multia. That's a PC, right? Or have you worked some serious magic on an Alpha? :) Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major