Re: compile kernel problem
Kris Kennaway wrote: On Thu, Feb 10, 2005 at 02:39:38AM +0100, Ivan Roth wrote: no, I don't think so. I read carefully the handbook's section and I quote it: I said to read the comments in the GENERIC kernel, not the handbook. e.g. if you commented out SCSI support, you probably left in the USB mass storage device (umass), which requires SCSI and will leave your kernel uncompilable. Kris ok. I didn't know that and should have read more carrefully :) but it doesn't matter since I realized I need the SCSI support. But for example, do I need to keep all the lines for the SCSI peripherals or can I keep just some of them. How to know if iPod need this one or this other line? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compile kernel problem
On Thu, Feb 10, 2005 at 02:39:38AM +0100, Ivan Roth wrote: > no, I don't think so. I read carefully the handbook's section and I > quote it: I said to read the comments in the GENERIC kernel, not the handbook. e.g. if you commented out SCSI support, you probably left in the USB mass storage device (umass), which requires SCSI and will leave your kernel uncompilable. Kris pgp0uB1EwMM2g.pgp Description: PGP signature
Re: compile kernel problem
no, I don't think so. I read carefully the handbook's section and I quote it: SCSI controllers. Comment out any you do not have in your system. If you have an IDE only system, you can remove these altogether. SCSI peripherals. Again, comment out any you do not have, or if you have only IDE hardware, you can remove them completely. Supported RAID controllers. If you do not have any of these, you can comment them out on http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html or remove them. first I didn't use my ipod so I removed all that lines and it didn't work. I don't think the number of commented lines is limited...am I wrong? Nevermind, the problem is solved since I compiled it succesfully just with RAID off. Now can somebody help me about configuring my kernel in a more personal way? I forgot to mention that I have two Ethernet cards on PCI slots and one on the motherboard. I also have a sound card. I hope I am not too boring. Just tell it if I am. Thanks. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compile kernel problem
On Thu, Feb 10, 2005 at 01:23:16AM +0100, Ivan Roth wrote: > I got problems when trying to compile my new kernel on 5.3-release. I > didn't go to stable yet cause I never did it (really new to unix...) and > I heard that it was better to customize the system first (?). > But when I put a # before lines I don't need like all RAID and SCSI > options, kernel don't want to make properly. Because you put in too many #. Read the comments carefully, they tell you what you can and can't comment out together. Kris pgp3Wc4umC5TD.pgp Description: PGP signature
Re: compile kernel problem
I just try it again cause I didn't want to annoy anybody and it worked! (?) I left the SCSI lines cause I use an iPod (and it seems to be an SCSI drive inside). I commented all the RAID lines and compilation succeeded. Now can you tell me how to be sure that my kernel conf is optimized? I attached my actual kernel. Thanks for your help, I really appreciate it. my physical conf is: AMD Sempron 2400+ (slowed at 1333 MHz cause of only PC 2100 DDR) ASUS A7V8X-X motherboard asus DVD writer 80 GB maxtor HDD one floppy drive ATI Radeon 64 MB DDR VIVO (if VIVO is useable on freeBSD I'd like to know how :) I think I didn't forget anything. Thanks, Ivan. # # TENSHI -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24 18:02:52 scottl Exp $ machine i386 cpu I686_CPU ident TENSHI # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. options CPU_ENABLE_SSE # used by DVD options USER_LTD# used by many apps options SCHED_4BSD # 4BSD scheduler options INET# InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT# NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_GPT# GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic# I/O APIC # Bus support. Do not remove isa, even if you have no isa slots device isa device eisa device pci device sound device "snd_emu10k1" # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI Controllers device ahb # EISA AHA1742 family device ahc # AHA2940 and onboard AIC7xxx devices device ahd # AHA39320/29320 and onboard AIC79xx devices device amd # AMD 53C974 (Tekram DC-390(T)) device isp # Qlogic family device mpt # LSI-Logic MPT-Fusion #device ncr # NCR/Symbios Logic device sym