LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-16-2005, 08:50 PM   #1
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 441

Rep: Reputation: 30
Troubleshooting Newly Compiled Kernel


I have recently compiled kernel 2.6.9. I have gotton the system to boot, but there are several little annoyances. I'm hoping that you guys will help me work through them.

1. Slackware 10.1 was the distribution I was using. The tty's were set to have a resolution of 1024 by 768. After installing the new bzImage, the resolution changes for a brief moment but then goes back to 80 by 25 characters. As far as I know nothing has changed in the rc scripts. What should I look at to help solve the problem?

2. I believe I have built DMA accesss into the kernel for ATA hard drives. Yet, on boot fsck complains that DMA access is off. What should I check to help solve the problem?

I hesitate to post my .config file that I used to compile the kernel because of length. However, if that's what you need, I will copy the file here immediatly. Let me know of any other information that you need. Thanks in advance.
 
Old 11-17-2005, 02:59 PM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
1. Did you enable framebuffer support in the kernel? Do you still get the Tux picture during bootup?

2. Did you enable support for your specific ATA chipset? I use an Asus Nforce2 motherboard, I had to enable Silicon Image support to get SATA working. What does "hdparm -Tt (harddrive)" report?
 
Old 11-20-2005, 04:06 AM   #3
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 441

Original Poster
Rep: Reputation: 30
Thanks for the advice. The DMA problem was solved. I had to enable Intel PIIx support. The name is kind of confusing. In windows, my ATA driver is called Intel(R) 82801DB. Any ways the Intel PIIx support worked.
I did enable frame buffer support, and I do get the Tux picture on startup. This is the message from the last boot recorded in /var/log/syslog.

Jul 3 04:47:09 Blacktop kernel: Linux version 2.4.29 (root@midas) (gcc version 3.3.4) #6 Thu Jan 20 16:30:37 PST 2005
Jul 3 04:47:09 Blacktop kernel: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
Jul 3 04:47:09 Blacktop kernel: BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
Jul 3 04:47:09 Blacktop kernel: BIOS-e820: 0000000000100000 - 000000001ff75000 (usable)
Jul 3 04:47:09 Blacktop kernel: BIOS-e820: 000000001ff75000 - 000000001ff77000 (ACPI NVS)
Jul 3 04:47:09 Blacktop kernel: BIOS-e820: 000000001ff77000 - 000000001ff98000 (ACPI data)
Jul 3 04:47:09 Blacktop kernel: BIOS-e820: 000000001ff98000 - 0000000020000000 (reserved)
Jul 3 04:47:09 Blacktop kernel: BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
Jul 3 04:47:09 Blacktop kernel: BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
Jul 3 04:47:09 Blacktop kernel: BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
Jul 3 04:47:09 Blacktop kernel: On node 0 totalpages: 130933
Jul 3 04:47:09 Blacktop kernel: zone(0): 4096 pages.
Jul 3 04:47:09 Blacktop kernel: zone(1): 126837 pages.
Jul 3 04:47:09 Blacktop kernel: zone(2): 0 pages.
Jul 3 04:47:09 Blacktop kernel: Kernel command line: BOOT_IMAGE=Linux ro root=302
Jul 3 04:47:09 Blacktop kernel: Detected 2392.094 MHz processor.
Jul 3 04:47:09 Blacktop kernel: Console: colour dummy device 80x25
Jul 3 04:47:09 Blacktop kernel: Calibrating delay loop... 4771.02 BogoMIPS
Jul 3 04:47:09 Blacktop kernel: Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
Jul 3 04:47:09 Blacktop kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 07
Jul 3 04:47:09 Blacktop kernel: POSIX conformance testing by UNIFIX
Jul 3 04:47:09 Blacktop kernel: mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
Jul 3 04:47:09 Blacktop kernel: mtrr: detected mtrr type: Intel
Jul 3 04:47:09 Blacktop kernel: PCI: Probing PCI hardware (bus 00)
Jul 3 04:47:09 Blacktop kernel: Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
Jul 3 04:47:09 Blacktop kernel: Initializing RT netlink socket
Jul 3 04:47:09 Blacktop kernel: Starting kswapd
Jul 3 04:47:09 Blacktop kernel: Console: switching to colour frame buffer device 128x48
Jul 3 04:47:09 Blacktop kernel: pty: 512 Unix98 ptys configured
Jul 3 04:47:09 Blacktop kernel: lspci -vv, this message (14e4,4212,1028,0002)
Jul 3 04:47:09 Blacktop kernel: and the manufacturer and name of serial board or modem board
Jul 3 04:47:09 Blacktop kernel: to serial-pci-info@lists.sourceforge.net.
...

I tried to change the resolution from 80x25 to a different resolution. It seems that the console did not even get the message because of the colour dummy device 80x25. However, I think Slackware is using something other than lilo to change the resolution on startup. In the original lilo.conf file they write:

# VESA framebuffer console @ 1024x768x64k
vga = 790
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788

Are they using another program that connects to lilo or is this normal?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
newly compiled kernel, boot fails class_struggle Linux - Newbie 2 07-30-2004 09:10 AM
Newly compiled kernel behaves as if it was the old one? grayFalcon Linux - Software 4 06-03-2004 04:52 AM
PROBLEM with grub and my newly compiled kernel! maestro52 Linux - Newbie 8 02-02-2004 05:14 PM
Problem with newly compiled 2.4.22 kernel Xero720 Slackware 2 09-06-2003 12:23 PM
cdrom troubles with newly compiled kernel N_A_J_M Linux - General 9 12-09-2002 04:14 AM


All times are GMT -5. The time now is 09:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration