From owner-freebsd-questions Mon Nov 18 20:53:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 341C637B401 for ; Mon, 18 Nov 2002 20:53:35 -0800 (PST) Received: from www.reppep.com (www.reppep.com [66.92.104.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7744D43E75 for ; Mon, 18 Nov 2002 20:53:34 -0800 (PST) (envelope-from pepper@reppep.com) Received: from [66.92.104.201] (g4.reppep.com [66.92.104.201]) by www.reppep.com (Postfix) with ESMTP id 7B173AC6F for ; Mon, 18 Nov 2002 23:53:32 -0500 (EST) Mime-Version: 1.0 X-Sender: pepper@mail.reppep.com Message-Id: Date: Mon, 18 Nov 2002 23:47:21 -0500 To: freebsd-questions@FreeBSD.ORG From: Chris Pepper Subject: Confirmation: ext2fs requires kernel rebuild? Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Folks, I'm trying to get at a file on an ext2fs slice. I'm a bit confused about kernel recompiles vs. KLDs for Linux compatibility, though. Am I reading correctly at & , that I can run Linux applications with a single command or rc.conf entry, but accessing files on ext2 file systems requires a kernel rebuild? This seems a bit backwards -- is anyone aware of work to make ext2fs a standard module, so it can be loaded under GENERIC? Thanks, Chris Pepper >[www:sys/i386/conf] root# uname -a >FreeBSD www.reppep.com 4.7-STABLE FreeBSD 4.7-STABLE #7: Mon Nov 4 >11:15:00 EST 2002 >root@www.reppep.com:/usr/obj/usr/src/sys/GENERIC i386 >[www:sys/i386/conf] root# kldstat >Id Refs Address Size Name > 1 4 0xc0100000 419b78 kernel > 2 1 0xc1d02000 6000 ipfw.ko > 3 1 0xc1d7b000 3000 daemon_saver.ko > 4 1 0xc1d89000 14000 linux.ko >[www:sys/i386/conf] root# lsvfs >Filesystem Refs Flags >-------------------------------- ----- --------------- >msdos 0 >procfs 1 synthetic >mfs 0 >ufs 4 >cd9660 0 read-only >nfs 0 network >[www:sys/i386/conf] root# mount >mount mount_fdesc mount_mfs mount_ntfs >mount_portal mount_std mountd >mount_cd9660 mount_kernfs mount_msdos mount_null >mount_procfs mount_umap >mount_ext2fs mount_linprocfs mount_nfs mount_nwfs >mount_smbfs mount_union >[www:sys/i386/conf] root# mount >mount mount_fdesc mount_mfs mount_ntfs >mount_portal mount_std mountd >mount_cd9660 mount_kernfs mount_msdos mount_null >mount_procfs mount_umap >mount_ext2fs mount_linprocfs mount_nfs mount_nwfs >mount_smbfs mount_union >[www:sys/i386/conf] root# !mount >mount /win >ext2fs: vfsload(ext2fs): No such file or directory >Rebooting... >Copyright (c) 1992-2002 The FreeBSD Project. >Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. >FreeBSD 4.7-STABLE #7: Mon Nov 4 11:15:00 EST 2002 > root@www.reppep.com:/usr/obj/usr/src/sys/GENERIC >Timecounter "i8254" frequency 1193182 Hz >CPU: Pentium III/Pentium III Xeon/Celeron (1102.50-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x68a Stepping = 10 > >Features=0x383fbff >real memory = 401539072 (392128K bytes) >config> di pcic0 >config> di sn0 >config> di lnc0 >config> di ie0 >config> di fe0 >config> di ed0 >config> di cs0 >config> di bt0 >config> di ata1 >config> di ata0 >config> di aic0 >config> di aha0 >config> di adv0 >config> q >avail memory = 385167360 (376140K bytes) >Preloaded elf kernel "kernel" at 0xc051b000. >Preloaded userconfig_script "/boot/kernel.conf" at 0xc051b09c. >Pentium Pro MTRR support enabled >md0: Malloc disk >Using $PIR table, 9 entries at 0xc00fdf30 >npx0: on motherboard >npx0: INT 16 interface >pcib0: on motherboard >pci0: on pcib0 >pci0: at 1.0 irq 9 >pcib1: at device 30.0 on pci0 >pci1: on pcib1 >xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x2000-0x207f mem >0xf4100000-0xf410007f irq 9 at device 9.0 on pci1 >xl0: Ethernet address: 00:04:76:df:f2:82 >miibus0: on xl0 >xlphy0: <3c905C 10/100 internal PHY> on miibus0 >xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >pci1: (vendor=0x11c1, dev=0x044e) at 10.0 irq 10 >isab0: at device 31.0 on pci0 >isa0: on isab0 >atapci0: port 0x10a0-0x10af at device >31.1 on pci0 >ata0: at 0x1f0 irq 14 on atapci0 >ata1: at 0x170 irq 15 on atapci0 >uhci0: port 0x1080-0x109f irq >11 at device 31.2 on pci0 >usb0: on uhci0 >usb0: USB revision 1.0 >uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub0: 2 ports with 2 removable, self powered >uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2 >uhub1: 4 ports with 4 removable, self powered >pci0: (vendor=0x8086, dev=0x2413) at 31.3 irq 9 >chip1: port >0x1300-0x133f,0x1200-0x12ff irq 0 at device 31.5 on pci0 >orm0: