|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hi there,
I just recompiled the FreeBSD kernel first time and I need some help with the errors after rebooting. I got these lines in the "dmesg": config> di pcic0 No such device: pcic0 Invalid command or syntax. Type `?' for help. config> di sn0 No such device: sn0 Invalid command or syntax. Type `?' for help. config> di lnc0 No such device: lnc0 ... these are things which I disabled in the config file, why they will appear here? and the last line: uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 9 at device 4.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) 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 link_elf: symbol seminfo undefined I have disabled all USBs in the config file. Last thing I would like to know: what this option does: options UCONSOLE Thanks! ![]() |
|
#2
|
|||
|
|||
|
When you disabled stuffs in kernel, then you will have to disable those features in BIOS too as well.
|
|
#3
|
|||
|
|||
|
For the USB, if I disable it in bios, the FreeBSD wont boot and freeze. I am using Asus P2B, it only let me disable the irq used by USB.
The other things I disabled are not present in my computer, they are ISA lan cards and SCSI cards. But I have found a file "kernel.conf" which loads them in the /boot directory. Is it means I need to remove it? Thanks! ![]() |
|
#4
|
|||
|
|||
|
>> I got these lines in the "dmesg"
Just ignore them as long as your box is able to boot with your new kernel. >> what this option does: options UCONSOLE Read GENERIC or LINT >> the FreeBSD wont boot and freeze Then don't disable it. >> But I have found a file "kernel.conf" Is it means I need to remove it? No. If you need to change anything in /boot/defaults/loader.conf, append that to /boot/loader.conf instead. For example: userconfig_script_load="YES" hw.ata.ata_dma="0" And the values must be in double quotes. >> I just recompiled the FreeBSD kernel first time BTW an average newbie needs roughly 20 times to get it right. If something screws up, just boot your old kernel back. |
|
#5
|
|||
|
|||
|
Rename the kern.conf file. Reboot. You should no longer see the "error" messages. If so, wait a few days, then delete the kern.conf file.
Do you have linux_enable="YES" in your /etc/rc.conf file? Did you remove the Code:
options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores
__________________
Linux is for those who hate Windows. FreeBSD is for those who love UNIX. ------- Have you read The Handbook yet? How about The FAQ? Have you searched the mailing lists? Or read any of the man pages? Have you searched the web for BSD resources? In short, have you done your homework yet?
|
|
#6
|
|||
|
|||
|
I don't have linux_enabled=yes, I have not disable any system V options in kernenl conf.
The Asus P2B does not disable USB actually, it disables the irq used by USB. If I boot the computer and disable the usb irq in bios, FreeBSD will freeze. It will freeze even I boot from the FreeBSD release CDROM. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > missing files after recompile the kernel! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|