Date: Thu, 13 Nov 1997 14:50:17 -0800 (PST) From: Steven Kehlet <kehlet@dt.wdc.com> To: hackers@freebsd.org Subject: diskless freebsd, can't mount local msdos disk Message-ID: <Pine.NEB.3.96.971113142259.3347A-100000@mockingbird.dt.wdc.com>
next in thread | raw e-mail | index | archive | help
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): <WDC AC33200L> 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 ? 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 Here's some other info, just for fun: mockingbird:/home/kehlet-> uname -a FreeBSD mockingbird 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Wed Nov 12 17:13:41 PST 1997 kehlet@daemon:/usr/src/sys.2.2.5/compile/DISKLESS i386 mockingbird:/home/kehlet-> dmesg Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.5-RELEASE #0: Wed Nov 12 17:13:41 PST 1997 kehlet@daemon:/usr/src/sys.2.2.5/compile/DISKLESS CPU: Pentium (166.34-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 33554432 (32768K bytes) avail memory = 30560256 (29844K bytes) Probing for devices on PCI bus 0: chip0 <generic PCI bridge (vendor=8086 device=7100 subclass=0)> rev 1 on pci0:0 chip1 <generic PCI bridge (vendor=8086 device=7110 subclass=1)> rev 1 on pci0:7:0 pci0:7:1: Intel Corporation, device=0x7111, class=storage (ide) [no driver assigned] pci0:7:2: Intel Corporation, device=0x7112, class=0x0c, subclass=0x03 int d irq 11 [no driver assigned] chip2 <generic PCI bridge (vendor=8086 device=7113 subclass=128)> rev 1 on pci0:7:3 vga0 <VGA-compatible display device> rev 154 int a irq ?? on pci0:8 vx0 <3COM 3C905 Fast Etherlink XL PCI> rev 0 int a irq 5 on pci0:13 mii[*mii*]: disable 'auto select' with DOS util! address 00:60:08:32:cb:96 vga1 <VGA-compatible display device> rev 1 int a irq 9 on pci0:14 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x300 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 not found at 0x2f8 lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): <WDC AC33200L> wd0: 3098MB (6346368 sectors), 6296 cyls, 16 heads, 63 S/T, 512 B/S ep0 not found at 0x300 npx0 on motherboard npx0: INT 16 interface bootpc_init: using network interface 'vx0' Bootpc testing starting bootpc hw address is 0:60:8:32:cb:96 My ip address is 172.31.10.16 Server ip address is 172.31.2.30 Gateway ip address is 0.0.0.0 Server name is bootes boot file is /kernel Subnet mask is 255.255.0.0 Router is 172.31.1.254 rootfs is 172.31.6.4:/diskless/FreeBSD/rootfs/mockingbird Hostname is mockingbird swapfs is 172.31.6.4:/diskless/FreeBSD/swapfs md_lookup_swap: Swap size is 32768 KB NFS SWAP: 172.31.6.4:/diskless/FreeBSD/swapfs NFS ROOT: 172.31.6.4:/diskless/FreeBSD/rootfs/mockingbird
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.971113142259.3347A-100000>