LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-10-2004, 03:22 PM   #1
nebukazar
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
still trying to get kernel 2.6.9 working correctly


Hey guys,

I just downloaded the 2.6.9 kernel and tried it but it doesn't want to boot up. I am getting : Cannot open root device "343" or unknown-block (3,67).

Here are the steps I followed to build the kernel :
make mrproper
make
make modules_install
make install
cd arch/i386/
cp -Rf boot/ /
cd ../../
cp System.map /boot/
cd /boot/
mv bzImage vmlinuz2.6.9

After that, I edited my lilo.conf file and added a section to load up the new kernel :
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hdb3
lba32
prompt
timeout = 300

vga = 791

## Linux 2.4.X
image = /boot/vmlinuz
  root = /dev/hdb3
  label = linux_2.4
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
  append="hdc=ide-scsi hdd=ide-cd"

## Linux 2.6.9
image = /boot/vmlinuz2.6.9
  root = /dev/hdb3
  label = linux_2.6.9
  read-only

# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
  label = windows
  table = /dev/hda
# Windows bootable partition config ends
Reiserfs is compiled in the kernel as well as ext2fs and ext3fs.

Any thoughts ?
 
Old 11-10-2004, 03:36 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
I would hope that the make mrproper was followed by a make config,make menuconfig,make xconfig, something like that.

Otherwise, what kind of hard drive (interface) is the drive on? That's not a filesystem issue. I know the changed handling for SATA from 2.4.x > 2.6.x gave me a.... fun time
 
Old 11-10-2004, 03:47 PM   #3
nebukazar
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Matir
I would hope that the make mrproper was followed by a make config,make menuconfig,make xconfig, something like that.

Otherwise, what kind of hard drive (interface) is the drive on? That's not a filesystem issue. I know the changed handling for SATA from 2.4.x > 2.6.x gave me a.... fun time
Thanks for your response

Forgot to mention the make menuconfig after the make mrproper

The drive should be on an IDE interface and should be the slave drive :
fdisk -l

Disk /dev/hde: 15.3 GB, 15393079296 bytes
255 heads, 63 sectors/track, 1871 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hde1 1 1870 15020743+ 7 HPFS/NTFS

Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4865 39078081 7 HPFS/NTFS

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 5827 46805346 7 HPFS/NTFS
/dev/hdb2 5828 5893 530145 82 Linux swap
/dev/hdb3 5894 9729 30812670 83 Linux
 
Old 11-10-2004, 03:51 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
It's true IDE, not SATA right? Is support for your controller in the kernel? (Most are supported by default, but sometimes you need your own). How about lspci -v?
 
Old 11-10-2004, 03:56 PM   #5
nebukazar
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Yep, I didn't wanted to use SATA for now.

Code:
lspci -v
00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
        Subsystem: Asustek Computer, Inc. P4P800 Mainboard
        Flags: bus master, fast devsel, latency 0
        Memory at f8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [e4] #09 [2106]
        Capabilities: [a0] AGP version 3.0

00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, fast devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        Memory behind bridge: fc900000-fe9fffff
        Prefetchable memory behind bridge: e7e00000-f7dfffff

00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Asustek Computer, Inc. P4P800 Mainboard
        Flags: bus master, medium devsel, latency 0, IRQ 10
        I/O ports at ef00 [size=32]

00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Asustek Computer, Inc. P4P800 Mainboard
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at ef20 [size=32]

00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Asustek Computer, Inc. P4P800 Mainboard
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at ef40 [size=32]

00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Asustek Computer, Inc. P4P800 Mainboard
        Flags: bus master, medium devsel, latency 0, IRQ 10
        I/O ports at ef80 [size=32]

00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
        Subsystem: Asustek Computer, Inc. P4P800 Mainboard
        Flags: bus master, medium devsel, latency 0, IRQ 11
        Memory at febffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] #0a [20a0]

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev c2) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: fea00000-feafffff
        Prefetchable memory behind bridge: f7e00000-f7efffff

00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02) (prog-if 8a [Master SecP PriP])
        Subsystem: Asustek Computer, Inc. P4P800 Mainboard
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at fc00 [size=16]
        Memory at 20000000 (32-bit, non-prefetchable) [size=1K]

00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
        Subsystem: Asustek Computer, Inc. P4P800 Mainboard
        Flags: medium devsel, IRQ 10
        I/O ports at 0400 [size=32]

00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
        Subsystem: Asustek Computer, Inc.: Unknown device 812a
        Flags: bus master, medium devsel, latency 0, IRQ 10
        I/O ports at e800 [size=256]
        I/O ports at ee80 [size=64]
        Memory at febff800 (32-bit, non-prefetchable) [size=512]
        Memory at febff400 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 AGP 8x] (rev a1) (prog-if 00 [VGA])
        Subsystem: Jaton Corp: Unknown device 0000
        Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 10
        Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e8000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at fe9e0000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 3.0

02:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80) (prog-if 10 [OHCI])
        Subsystem: Asustek Computer, Inc.: Unknown device 808a
        Flags: bus master, medium devsel, latency 64, IRQ 10
        Memory at feaff800 (32-bit, non-prefetchable) [size=2K]
        I/O ports at dc00 [size=128]
        Capabilities: [50] Power Management version 2

02:05.0 Ethernet controller: Marvell Yukon Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13)
        Subsystem: Asustek Computer, Inc.: Unknown device 811a
        Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 10
        Memory at feaf8000 (32-bit, non-prefetchable) [size=16K]
        I/O ports at d800 [size=256]
        Expansion ROM at feaa0000 [disabled] [size=128K]
        Capabilities: [48] Power Management version 2
        Capabilities: [50] Vital Product Data

02:09.0 Unknown mass storage controller: Triones Technologies, Inc. HPT366/368/370/370A/372 (rev 03)
        Subsystem: Triones Technologies, Inc. HPT370 UDMA100
        Flags: bus master, medium devsel, latency 120, IRQ 10
        I/O ports at df98 [size=8]
        I/O ports at df94 [size=4]
        I/O ports at df88 [size=8]
        I/O ports at df90 [size=4]
        I/O ports at d400 [size=256]
        Expansion ROM at fea80000 [disabled] [size=128K]

02:0a.0 Serial controller: 5610 56K FaxModem 56K FaxModem Model 5610 (rev 01) (prog-if 02 [16550])
        Subsystem: 5610 56K FaxModem: Unknown device 00d7
        Flags: medium devsel, IRQ 10
        I/O ports at df80 [size=8]
        Capabilities: [dc] Power Management version 2

02:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
        Subsystem: Creative Labs SB Live! 5.1 Model SB0100
        Flags: bus master, medium devsel, latency 64, IRQ 11
        I/O ports at df40 [size=32]
        Capabilities: [dc] Power Management version 1

02:0b.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
        Subsystem: Creative Labs Gameport Joystick
        Flags: bus master, medium devsel, latency 64
        I/O ports at dfe0 [size=8]
        Capabilities: [dc] Power Management version 1

02:0c.0 Multimedia video controller: Brooktree Corporation Bt848 Video Capture (rev 12)
        Flags: bus master, medium devsel, latency 64, IRQ 10
        Memory at f7eff000 (32-bit, prefetchable) [size=4K]
 
Old 11-10-2004, 04:18 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
One thing, though complex, you might want to try is to use Knoppix 3.4 with its built-in 2.6 kernel and see how that kernel recognizes the hardware (make sure it still sees all the drives and partitions the same way).
 
  


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
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 04:59 AM
inittab not working correctly with X qtran2 Red Hat 2 06-13-2005 03:58 AM
how to make my cd-rw working correctly kira Linux - Hardware 8 05-16-2005 10:27 PM
pacman not working correctly! Aman9090 Arch 2 03-26-2004 06:32 AM
search not working correctly -- i think mrtwice LQ Suggestions & Feedback 7 06-30-2003 03:10 PM


All times are GMT -5. The time now is 02:14 AM.

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