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'
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
###Don't change this comment - YaST2 identifier: Original name: 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
###Don't change this comment - YaST2 identifier: Original name: failsafe###
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 showopts ide=nodma apm=off acpi=off vga=normal iommu=noforce maxcpus=0 3
### Added by me!
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
... 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
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!