Date: Mon, 18 Nov 2002 23:47:21 -0500 From: Chris Pepper <pepper@reppep.com> To: freebsd-questions@FreeBSD.ORG Subject: Confirmation: ext2fs requires kernel rebuild? Message-ID: <p05200f1ab9ff72b26ae1@[66.92.104.201]>
next in thread | raw e-mail | index | archive | help
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 <http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html> & <http://www.seabug.org/archive/2000-05/msg00086.html>, 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> >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: <math processor> on motherboard >npx0: INT 16 interface >pcib0: <Intel 82810 (i810 GMCH) Host To Hub bridge> on motherboard >pci0: <PCI bus> on pcib0 >pci0: <Intel 82810 (i810 GMCH) SVGA controller> at 1.0 irq 9 >pcib1: <Intel 82801AA (ICH) Hub to PCI bridge> at device 30.0 on pci0 >pci1: <PCI bus> 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: <MII bus> on xl0 >xlphy0: <3c905C 10/100 internal PHY> on miibus0 >xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >pci1: <unknown card> (vendor=0x11c1, dev=0x044e) at 10.0 irq 10 >isab0: <Intel 82801AA (ICH) PCI to LPC bridge> at device 31.0 on pci0 >isa0: <ISA bus> on isab0 >atapci0: <Intel ICH ATA66 controller> port 0x10a0-0x10af at device >31.1 on pci0 >ata0: at 0x1f0 irq 14 on atapci0 >ata1: at 0x170 irq 15 on atapci0 >uhci0: <Intel 82801AA (ICH) USB controller> port 0x1080-0x109f irq >11 at device 31.2 on pci0 >usb0: <Intel 82801AA (ICH) USB controller> 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: <unknown card> (vendor=0x8086, dev=0x2413) at 31.3 irq 9 >chip1: <Intel 82801AA (ICH) AC'97 Audio Controller> port >0x1300-0x133f,0x1200-0x12ff irq 0 at device 31.5 on pci0 >orm0: <Option ROMs> at iomem >0xc0000-0xc9fff,0xd8000-0xdbfff,0xe0000-0xe07ff on isa0 >fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 >fdc0: FIFO enabled, 8 bytes threshold >fd0: <1440-KB 3.5" drive> on fdc0 drive 0 >atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 >atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 >kbd0 at atkbd0 >psm0: <PS/2 Mouse> irq 12 on atkbdc0 >psm0: model Generic PS/2 mouse, device ID 0 >vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >sc0: <System console> at flags 0x100 on isa0 >sc0: VGA <16 virtual consoles, flags=0x300> >sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 >sio0: type 16550A >sio1 at port 0x2f8-0x2ff irq 3 on isa0 >sio1: type 16550A >ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 >ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode >ppc0: FIFO with 16/16/8 bytes threshold >plip0: <PLIP network interface> on ppbus0 >lpt0: <Printer> on ppbus0 >lpt0: Interrupt-driven port >ppi0: <Parallel I/O> on ppbus0 >ad0: 38166MB <WDC WD400AB-22BTA0> [77545/16/63] at ata0-master UDMA66 >acd0: CDROM <OEM CD-ROM F522B> at ata1-master PIO4 >Mounting root from ufs:/dev/ad0s2a >IP packet filtering initialized, divert disabled, rule-based >forwarding enabled, default to deny, logging disabled -- Chris Pepper: <http://www.reppep.com/~pepper/> Rockefeller University: <http://www.rockefeller.edu/> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05200f1ab9ff72b26ae1>