BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old April 7th, 2002, 10:43 AM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up missing files after recompile the kernel!

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!

Reply With Quote
  #2  
Old April 7th, 2002, 02:28 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
When you disabled stuffs in kernel, then you will have to disable those features in BIOS too as well.

Reply With Quote
  #3  
Old April 7th, 2002, 07:24 PM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
  #4  
Old April 8th, 2002, 04:51 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> 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.

Reply With Quote
  #5  
Old May 13th, 2002, 03:17 AM
phoenix_rizzen phoenix_rizzen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Kamloops, BC, Canada
Posts: 55 phoenix_rizzen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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
lines from your kernel?? That's probably what's causing the last error in the dmesg output.
__________________
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?

Reply With Quote
  #6  
Old May 14th, 2002, 12:35 AM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > missing files after recompile the kernel!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway