From owner-freebsd-hackers Thu Nov 13 16:00:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA05239 for hackers-outgoing; Thu, 13 Nov 1997 16:00:37 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA05233 for ; Thu, 13 Nov 1997 16:00:30 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id PAA24320; Thu, 13 Nov 1997 15:45:03 -0800 (PST) Received: from UNKNOWN(), claiming to be "current1.whistle.com" via SMTP by alpo.whistle.com, id smtpd024290; Thu Nov 13 15:44:53 1997 Message-ID: <346B9081.15FB7483@whistle.com> Date: Thu, 13 Nov 1997 15:42:57 -0800 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Steven Kehlet CC: hackers@FreeBSD.ORG Subject: Re: diskless freebsd, can't mount local msdos disk References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Steven Kehlet wrote: > > I'm booting FreeBSD 2.2.5 diskless with the kernel's BOOTP features. > It detects the local hardware just fine (e.g. ethernet (obviously), > hard drive, floppy, etc), but if I try to mount the local msdos disk > like I would on a non-diskless station, it doesn't work. Floppy > operations (mounting, hexdumping, fdwriting) seem to work, however. > Anyone know what's wrong, or have any suggestions what I could do? If > I can give any more information, please let me know. > > wdc0 at 0x1f0-0x1f7 irq 14 on isa > wdc0: unit 0 (wd0): > wd0: 3098MB (6346368 sectors), 6296 cyls, 16 heads, 63 S/T, 512 B/S > > # foreach i (1 2 3 4) > ? mount_msdos /dev/wd0s$i /mnt use mount -t msdos does wd0 have 4 DOS slices on it? what does '/sbin/fdisk' have to say about it? do those partitions appear in /dev? > ? end > mount_msdos: /dev/wd0s1: Invalid argument > mount_msdos: /dev/wd0s2: Invalid argument > mount_msdos: /dev/wd0s3: Invalid argument > mount_msdos: /dev/wd0s4: Invalid argument > # > > The msdos module loaded okay: > > mockingbird:/home/kehlet-> modstat > Type Id Off Loadaddr Size Info Rev Module Name > MISC 0 0 f43ea000 0008 f43eb000 1 blank_saver_mod > VFS 1 4 f442f000 001c f4435090 1 msdos > > Weird, too, if I try to hexdump the raw disk, nothing comes up: > > # hd -v /dev/rwd0 |more > # > > Thanks a ton, > > Steve Kehlet >