LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-13-2004, 11:33 PM   #1
Inchoate
LQ Newbie
 
Registered: Nov 2003
Distribution: Debian (Unstable)
Posts: 12

Rep: Reputation: 0
HELP: Can't Boot SMP 2.6.1 x86_64 (AMD64) [VERY LONG]


I'm at my wits' end as to coming to a solution here, so I'm posting all I know about this. First my system is a dual Opteron 240 on a MSI K8T800 Master2 with 1GB registered (Buffalo PC333) RAM with one 160GB SATA Samsung HD and two 25 GB IDE IBM Deskstar drives on the IDE channel and an Albatron 256MB GeForce 5600 SE/XT(Q) (8x AGP capable). The OS is SuSe 9.0 64-bit as shown below:

Here's a link to an image of the problem:
Image Of Bad Boot

tree@quicksilver:~> uname -a
Linux quicksilver 2.4.21-171-smp #2 SMP Sun Jan 11 21:36:41 CST 2004 x86_64 x86_64 x86_64 GNU/Linux

My video card is running in frame buffer mode and won't run any 3D (openGL apps). I can't even test it with glgears! AGP is also apparently off, so this is craptacular. I wanted to upgrade to 2.6.x to recognize the SATA drive and to compile in the NVIDIA driver for my SMP 64-bit system.

The steps I took were:
1) Download the source from kernel.org (downloaded each, 2.6.1, 2.6.1-mm, 2.6.1-bk2)
1a) Uncompressed the source
2) Read the Documentation/README file and made sure all my utilities were updated as per the docs
3) applied any applicable patches with 'patch -p1 < ../patchName'
4) configured the kernel with 'make menuconfig'
5) make
6) make modules_install

I should note here, that 'make modules_install' shows the following warnings:

..snipped make modules output ...

if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.1; fi
WARNING: /lib/modules/2.6.1/kernel/drivers/acpi/processor.ko needs unknown symbol idle_warning
WARNING: /lib/modules/2.6.1/kernel/drivers/net/wireless/airo.ko needs unknown symbol kernel_locked
WARNING: /lib/modules/2.6.1/kernel/net/ipv4/ipvs/ip_vs.ko needs unknown symbol sys_wait4
WARNING: /lib/modules/2.6.1/kernel/fs/jffs/jffs.ko needs unknown symbol set_special_pids

...end make modules output...

7) make install

... snipped 'make install' output ...

Root device: /dev/\hda3 (mounted on / as reiserfs)
Module list: scsi_mod sd_mod ata_via reiserfs
Kernel version: 2.6.1 (x86_64)
Kernel image: /boot/vmlinuz-2.6.1
Initrd image: /boot/initrd-2.6.1
Shared libs: lib64/ld-2.3.2.so lib64/libc.so.6
Cannot determine dependencies of module ata_via. Is modules.dep up to date?
Cannot determine dependencies of module reiserfs. Is modules.dep up to date?
Modules: kernel/drivers/scsi/scsi_mod.ko kernel/drivers/scsi/sd_mod.ko
Bootsplash: SuSE (1280x1024)
Using grub, re-install of bootloader not required.

...end make install output...

Now, since I KNEW this would fail (my luck) I undid the vmlinuz and initrd links to the new kernel and put them back to the older version (so I could boot when the 2.6.x failed). Then,
8) vi /boot/grub/menu.lst. Here, I copied the root= and other options instead changed vga=normal (since last time it wouldn't even boot with vga=0x31a (my normal setting)) -- my 2.6.1-xxx grub entry is:

... begin grub menu.lst ...

quicksilver:/home/tree/src/linux-2.6.1 # cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sun Jan 11 01:59:28 2004
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,2)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x31a splash=silent apm=off acpi=off desktop hdc=ide-scsi dxs_support=1 hdclun=0 showopts
initrd (hd0,2)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 showopts ide=nodma apm=off acpi=off vga=normal iommu=noforce maxcpus=0 3
initrd (hd0,2)/boot/initrd

### Added by me!
title 2.6.1
kernel (hd0,2)/boot/vmlinuz-2.6.1 root=/dev/hda3 vga=normal splash=silent apm=off acpi=off desktop hdc=ide-scsi dxs_support=1 hdclun=0 showopts
initrd (hd0,2)/boot/initrd-2.6.1

... end grub menu.lst ...

So, I do a search in the kernel source dir for ata_via and find only sata_via -- (from the stock kernel.org kernel!) -- so what's the deal with that? Also, why is reiserfs failing?

8) I then moved the symlinks back to my previous working version (which is correct b/c I'm currently using the old verison) [Edit: Redundant, stated this above.]

9) Next, /sbin/mkinitrd which makes initrds for all kernels found in /boot.
10) /usr/sbin/grub-install -- which 'make install' thinks is superfluous, but what the hell.
11) Now, I double check everything so I don't have to use my rescue CD.

When I boot up into 2.6.x I get the (indirectly quoted since I can't copy/paste it and don't have it completely memorized)

VFS: can't mount /dev/hda3 please specify root= in the boot line
Kernel Panic
[Machine freezes]

To remedy this, I've tried to set, root=/dev/hda3 (which is / ) and also '303'. Neither work.
Also, in the dmesg-log on the frozen boot there was a message about turning off SMP since something was amiss. (I assume that's the processor.c comment above.)

I've configured at least a dozen kernels now. 2.6.1, -mm, -bk2, with various patches. I've Googled and found some docs on the processor.c problem and fixed that by adding EXPORT(sys_write); or whatever to the appropriate file.

I _REALLY_ want my video card AND SMP AND 64-bit AND SATA working, so if anyone can lend a hand to the solution, I'd very much appreciate it.

[Edit: Additional System info]

quicksilver:/home/tree/src/linux-2.6.1 # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 22G 8.5G 14G 39% /
tmpfs 499M 0 499M 0% /dev/shm
/dev/hdb1 24G 16G 7.2G 68% /music

quicksilver:/home/tree/src/linux-2.6.1 # lspci
00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 3188 (rev 01)
00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device b188
00:08.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a)
00:08.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 0a)
00:0b.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705 Gigabit Ethernet (rev 03)
00:0f.0 RAID bus controller: VIA Technologies, Inc.: Unknown device 3149 (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc.: Unknown device 3227
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235 AC97 Audio Controller (rev 60)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:19.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:19.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:19.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:19.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0314 (rev a1)

Thanks for any help!

-- Inchoate

Last edited by Inchoate; 01-14-2004 at 02:39 PM.
 
Old 01-14-2004, 11:31 AM   #2
Inchoate
LQ Newbie
 
Registered: Nov 2003
Distribution: Debian (Unstable)
Posts: 12

Original Poster
Rep: Reputation: 0
Nobody? No one has a clue? Or, no one wants to read through all the stuff I wrote?
 
Old 01-15-2004, 12:08 AM   #3
Inchoate
LQ Newbie
 
Registered: Nov 2003
Distribution: Debian (Unstable)
Posts: 12

Original Poster
Rep: Reputation: 0
Fixed.

SATA driver detected first. Chose, NOT to boot offboard stuff first. Then passed into the boot loader, "ide=reverse" and voila. Solved.

Now, I have to find out why it won't load any networking stuff.

-- Inchoate
 
Old 01-20-2004, 10:00 AM   #4
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Rep: Reputation: 30
Did you patch your kernel?

Patches available at ftp://x86-64.org/

Also, if you are doing this on Debian you may want to look at http://lists.debian.org/debian-amd64.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AMD64 (x86_64) and Flash mouth Mandriva 9 09-28-2005 01:29 PM
kernel source for 2.6.8-11-amd64-k8-smp sadarax Debian 1 09-21-2005 04:04 PM
FC3 x86_64 extremely low performance with AMD64 Ru_e Linux - Laptop and Netbook 14 04-28-2005 07:00 PM
ut2003 + AMD64 + Fedora core3 x86_64 Game speed too high qwijibow Linux - General 0 12-29-2004 02:02 PM
Fedora 3 x86_64 on AMD64 laptop Entropius Fedora 0 11-11-2004 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:32 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration