LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-02-2006, 10:23 PM   #1
zapcojake
Member
 
Registered: Jan 2005
Location: Joplin Missouri
Distribution: ubuntu/slackware/gentoo
Posts: 44

Rep: Reputation: 15
2.6.16-ck12 sata issues


I am trying to compile and install a 2.6.16-ck12 kernel in slack 10.2. I have a MSI rs480/482 MOBO with an ATI chip set. I have checked and rechecked my lilo config and added a initrd to the boot path but it still won't boot. The kernel loads most of the way and then I get an error saying oy syncing vfs incorrect root= option or something similar. It says it can't find my root drive where its supposed to be. Seems like maybe i missed an option during the config or something. I followed the instructions in the Slackware essentials manual. Thanks --Jake
 
Old 07-03-2006, 03:25 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Would help tremendously if you posted the exact error.

Usually kernel panic is due to either your / filesystem is not compiled into the kernel (Y) but is compiled as a module (M). Also you could possibly have your SATA controller compiled as a module (M) rather than built in (Y). The kernel will boot even with those compiled as modules if you use an initial ramdisk image, which you say you have. You might also want to read /boot/README.initrd and check if you've done it properly.

Just pulling at straws ... did you run "lilo" as root after editing /etc/lilo.conf?

If you want us to take a peak, you could post the output of:
ls -l /boot
fdisk -l
df -h
cat /etc/lilo.conf
 
Old 07-03-2006, 09:17 AM   #3
zapcojake
Member
 
Registered: Jan 2005
Location: Joplin Missouri
Distribution: ubuntu/slackware/gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
The original error is:
VFS: Cannot open root device "803" of unknown block (8,3)
Please append a correct "root=" boot option
Kernel panic- not syncing: vfs: ubable to mount root fs on unknow-block (8,3)

and the rest of the info is

CODE ls -l /boot

lrwxrwxrwx 1 root root 37 2006-07-02 18:08 README.initrd -> /usr/doc/mkinitrd-1.0.1/README.initrd
lrwxrwxrwx 1 root root 21 2006-07-02 18:08 System.map -> System.map-ide-2.4.31
-rw-r--r-- 1 root root 608033 2005-06-06 03:37 System.map-ide-2.4.31
-rw-r--r-- 1 root root 512 2006-07-02 18:26 boot.0803
-rw-r--r-- 1 root root 168 2006-07-02 18:26 boot_message.txt
lrwxrwxrwx 1 root root 17 2006-07-02 18:08 config -> config-ide-2.4.31
-rw-r--r-- 1 root root 36738 2006-07-02 21:55 config-2.6.16-ck12
-rw-r--r-- 1 root root 41760 2005-06-06 03:37 config-ide-2.4.31
-rw-r--r-- 1 root root 5032 2004-05-21 07:19 diag1.img
drwxr-xr-x 8 root root 4096 2005-09-12 04:36 initrd-tree/
-rw------- 1 root root 294219 2006-07-02 21:34 initrd.gz
-rw------- 1 root root 82944 2006-07-02 21:35 map
-r-------- 1 root root 3233958 2006-07-02 18:25 vmlinuz
-rw-r--r-- 1 root root 1256566 2005-06-06 03:37 vmlinuz-ide-2.4.31


CODE fdisk -l
Disk /dev/sda: 80.0 GB, 80032038912 bytes
255 heads, 63 sectors/track, 9730 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 2432 19535008+ 83 Linux
/dev/sda2 2433 2493 489982+ 82 Linux swap
/dev/sda3 * 2494 3709 9767520 83 Linux
/dev/sda4 3710 9730 48363682+ 83 Linux


CODE df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 9.1G 3.4G 5.3G 40% /
/dev/sda1 19G 2.4G 16G 14% /ubuntu
/dev/sda4 46G 14G 30G 32% /storage


CODE cat /etc/lilo.conf
boot="/dev/sda3"
prompt
timeout="1200"
root=/dev/sda3

image="/boot/vmlinuz"
label="vmlinuz"
root="/dev/sda3"
read-only

image=/boot/vmlinuz-ide-2.4.31
label="2.4.31"
root=/dev/sda3
read-only

image="/usr/src/linux/arch/i386/boot/bzImage"
label="Linux_Compiled"
root=/dev/sda3
read-only
optional
initrd="/boot/initrd.gz"


I didn't run /sbin/lilo but I used the lilo tool included in kde's system administration mene there is a choice to have lilo probe for new kernels and add them to the list. Maybe that wasn't a good idea? Anyway, any help is greatly appreciated. Thanks

Last edited by zapcojake; 07-03-2006 at 11:18 AM.
 
Old 07-03-2006, 09:51 AM   #4
zapcojake
Member
 
Registered: Jan 2005
Location: Joplin Missouri
Distribution: ubuntu/slackware/gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
I ran /sbin/lilo and it found linux_compiled the 2.4.x kernel and the 2.6.13 that I am using but still won't boot.
 
Old 07-03-2006, 11:00 AM   #5
katayamma
Member
 
Registered: Jan 2006
Posts: 37

Rep: Reputation: 15
Without actually seeing the boot log, it's impossible to speculate, however on thing may be that your BIOS is doing something wonky to make the controller appear as a "generic IDE" controller. You might go into your kernel device drivers and make the IDE drivers modules that get loaded after it loads the SATA drivers.

Other than that, can't really say without seeing what's happening directly.

Good luck.
 
Old 07-03-2006, 11:01 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
First, please start using Code tags so your information is easier to read. Put [_code_] without the underscores before and [_/code_] without the underscores after your output.

Second, you have errors in your "/etc/lilo.conf" file.

Third, your kernel images are not in your /boot directory.

Here is the best Kernel Rebuild Guide I know of on the internet. If you want a "Cliff Notes" type of versions, here are links to two of my posts in LQ. These are simple guides for recompiling in Slackware:
Compile kernel under /home
Compile kernel under /usr/src/

My preference is to compile in /home/mingdao/kernel -- they both work if done properly on Slackware, but do NOT break that original /usr/src/linux -> linux-2.4.31 symlink made by Slackware.

You only have one kernel image in your /boot (vmlinuz-ide-2.4.31) and it's not even symlinked to vmlinuz anymore. So the only image you could possibly boot is:
Quote:
image=/boot/vmlinuz-ide-2.4.31
label="2.4.31"
root=/dev/sda3
read-only
This section at the top of your output is wrong:
Quote:
boot="/dev/sda3"
prompt
timeout="1200"
root=/dev/sda3
That should have:
Code:
boot = /dev/sda
prompt
timeout = 1200
# VESA framebuffer console @ 1024x768x256
vga = 773
Note that your VGA line might be different. Sorry to be anal retentive, but when I ask for the output I'd like to see the whole thing. Here's /etc/lilo.conf on this box:
Code:
mingdao@silas:~/learn-SlackBuild$ cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
#compact        # faster, but won't work on all systems.
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x256
vga = 773
# ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.17.1
  root = /dev/sda6
  label = Slackware
  read-only
image = /boot/vmlinuz-2.6.17
  root = /dev/sda6
  label = Slack-2.6.17
  read-only
image = /boot/vmlinuz
  root = /dev/sda6
  label = Slack-2.4.31
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
  label = WinXP
#  map-drive = 0x80
#   to = 0x81
#  map-drive = 0x81
#   to = 0x80
  table = /dev/sda
# Windows bootable partition config ends
That will boot 3 Slackware kernels and one Windoze XP OS.

All those quote marks you have in your /etc/lilo.conf file are not necessary. I don't know if they mess it up or not, because I never tried. But just get rid of them.

My advice to you. Remove those quotes in the boot = line, and then rerun "lilo" as root. Post whatever the output is in your next post, and see if you can boot that one kernel image labeled "2.4.31" and if that one works, we'll go from there.

Fair enough?
 
Old 07-03-2006, 04:12 PM   #7
zapcojake
Member
 
Registered: Jan 2005
Location: Joplin Missouri
Distribution: ubuntu/slackware/gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
Here is the results of cat dmesg I should add that the 2.6.13 kernel included with slack 10.2 works just fine, its only the kernel I compiled giving me trouble. I will repost the results of the commands that were asked for with code where is should be.
root@jake-slackware:/var/log# cat dmesg
Linux version 2.6.13 (root@tree) (gcc version 3.3.6) #1 Tue Sep 6 17:56:37 PDT 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001bfd0000 (usable)
BIOS-e820: 000000001bfd0000 - 000000001bfde000 (ACPI data)
BIOS-e820: 000000001bfde000 - 000000001c000000 (ACPI NVS)
BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
447MB LOWMEM available.
On node 0 totalpages: 114640
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 110544 pages, LIFO batch:31
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 ACPIAM ) @ 0x000f9520
ACPI: RSDT (v001 A M I OEMRSDT 0x08000519 MSFT 0x00000097) @ 0x1bfd0000
ACPI: FADT (v002 A M I OEMFACP 0x08000519 MSFT 0x00000097) @ 0x1bfd0200
ACPI: MADT (v001 A M I OEMAPIC 0x08000519 MSFT 0x00000097) @ 0x1bfd0390
ACPI: MCFG (v001 A M I OEMMCFG 0x08000519 MSFT 0x00000097) @ 0x1bfd03f0
ACPI: SSDT (v001 ATI ATIPATCH 0x00000001 INTL 0x02002026) @ 0x1bfd3ed0
ACPI: OEMB (v001 A M I AMI_OEM 0x08000519 MSFT 0x00000097) @ 0x1bfde040
ACPI: DSDT (v001 1ABZR 1ABZR002 0x00000002 INTL 0x02002026) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
Allocating PCI resources starting at 1c000000 (gap: 1c000000:e3780000)
Built 1 zonelists
Kernel command line: BOOT_IMAGE=vmlinuz ro root=803
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 1595.761 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 447260k/458560k available (4116k kernel code, 10744k reserved, 2096k data, 252k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3195.94 BogoMIPS (lpj=6391894)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 078bfbff e3d3fbff 00000000 00000000 00000001 00000000 00000001
CPU: After vendor identify, caps: 078bfbff e3d3fbff 00000000 00000000 00000001 00000000 00000001
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 078bfbff e3d3fbff 00000000 00000010 00000001 00000000 00000001
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
CPU: AMD Sempron(tm) Processor 2800+ stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0c20)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=2
PCI: Using configuration type 1
ACPI: Subsystem revision 20050408
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] segment is 0
PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
Boot video device is 0000:01:05.0
PCI: Transparent bridge - 0000:00:14.4
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P9._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 9) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 *5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 *11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
PCI: Bridge: 0000:00:01.0
IO window: 7000-7fff
MEM window: ff200000-ff2fffff
PREFETCH window: cff00000-dfefffff
PCI: Bridge: 0000:00:14.4
IO window: 8000-8fff
MEM window: ff300000-ff3fffff
PREFETCH window: 1c000000-1c0fffff
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NTFS driver 2.1.23 [Flags: R/W].
JFS: nTxBlock = 3495, nTxLock = 27964
SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
spurious 8259A interrupt: IRQ7.
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Compaq SMART2 Driver (v 2.6.0)
HP CISS Driver (v 2.6.6)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ATIIXP: IDE controller at PCI slot 0000:00:14.1
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:14.1[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ATIIXP: chipset revision 0
ATIIXP: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdcio, hddio
Probing IDE interface ide0...
hda: _NEC DVD_RW ND-3550A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
Loading Adaptec I2O RAID: Version 2.4 Build 5go
Detecting Adaptec I2O RAID controllers...
Red Hat/Adaptec aacraid driver (1.1.2-lk2 Sep 6 2005)
scsi: <fdomain> Detection failed (no card)
sym53c416.c: Version 1.0.0-ac
qlogicfas: no cards were found, please specify I/O address and IRQ using iobase= and irq= options<6>QLogic Fibre Channel HBA Driver
Emulex LightPulse Fibre Channel SCSI driver 8.0.29
Copyright(c) 2004-2005 Emulex. All rights reserved.
Failed initialization of WD-7000 SCSI card!
megaraid cmm: 2.20.2.6 (Release Date: Mon Mar 7 00:01:03 EST 2005)
megaraid: 2.20.4.6 (Release Date: Mon Mar 07 12:27:22 EST 2005)
GDT-HA: Storage RAID Controller Driver. Version: 3.04
GDT-HA: Found 0 PCI Storage RAID Controllers
3ware Storage Controller device driver for Linux v1.26.02.001.
3ware 9000 Storage Controller device driver for Linux v2.26.02.002.
nsp32: loading...
ipr: IBM Power RAID SCSI Device Driver version: 2.0.14 (May 2, 2005)
libata version 1.12 loaded.
sata_sil version 0.9
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:11.0[A] -> Link [LNKH] -> GSI 11 (level, low) -> IRQ 11
ata1: SATA max UDMA/100 cmd 0xDC80EC80 ctl 0xDC80EC8A bmdma 0xDC80EC00 irq 11
ata2: SATA max UDMA/100 cmd 0xDC80ECC0 ctl 0xDC80ECCA bmdma 0xDC80EC08 irq 11
ata1: dev 0 cfg 49:2f00 82:706b 83:7e01 84:4023 85:7069 86:3c01 87:4023 88:407f
ata1: dev 0 ATA, max UDMA/133, 156312576 sectors: lba48
ata1: dev 0 configured for UDMA/100
scsi2 : sata_sil
ata2: no device found (phy stat 00000000)
scsi3 : sata_sil
Vendor: ATA Model: WDC WD800JD-08LS Rev: 07.0
Type: Direct-Access ANSI SCSI revision: 05
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [LNKG] -> GSI 5 (level, low) -> IRQ 5
ata3: SATA max UDMA/100 cmd 0xDCA24880 ctl 0xDCA2488A bmdma 0xDCA24800 irq 5
ata4: SATA max UDMA/100 cmd 0xDCA248C0 ctl 0xDCA248CA bmdma 0xDCA24808 irq 5
ata3: no device found (phy stat 00000000)
scsi4 : sata_sil
ata4: no device found (phy stat 00000000)
scsi5 : sata_sil
SCSI device sda: 156312576 512-byte hdwr sectors (80032 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 156312576 512-byte hdwr sectors (80032 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
I2O subsystem v1.288
i2o: max drivers = 8
I2O Configuration OSM v1.248
I2O Bus Adapter OSM v$Rev$
I2O Block Device OSM v1.287
I2O SCSI Peripheral OSM v1.282
I2O ProcFS OSM v1.145
Fusion MPT base driver 3.03.02
Copyright (c) 1999-2005 LSI Logic Corporation
Fusion MPT SPI Host driver 3.03.02
Fusion MPT FC Host driver 3.03.02
usbmon: debugfs is not available
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard on isa0060/serio0
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
ACPI wakeup devices:
PCE2 PCE3 PCE4 PCE5 PCE6 PCE7 SBAZ PS2K AC97 MC97 USB1 USB2 EUSB P0P9 PWRB
ACPI: (supports S0 S1 S3 S4 S5)
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 252k freed
EXT3 FS on sda3, internal journal
Linux agpgart interface v0.101 (c) Dave Jones
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
 
Old 07-03-2006, 04:18 PM   #8
zapcojake
Member
 
Registered: Jan 2005
Location: Joplin Missouri
Distribution: ubuntu/slackware/gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
root@jake-slackware:~# ls -l /boot
total 7300
lrwxrwxrwx 1 root root 37 2006-07-02 18:08 README.initrd -> /usr/doc/mkinitrd-1.0.1/README.initrd
lrwxrwxrwx 1 root root 21 2006-07-02 18:08 System.map -> System.map-ide-2.4.31
-rw-r--r-- 1 root root 608033 2005-06-06 03:37 System.map-ide-2.4.31
-rw-r--r-- 1 root root 512 2006-07-02 18:26 boot.0803
-rw-r--r-- 1 root root 168 2006-07-02 18:26 boot_message.txt
lrwxrwxrwx 1 root root 17 2006-07-02 18:08 config -> config-ide-2.4.31
-rw-r--r-- 1 root root 36738 2006-07-02 21:55 config-2.6.16-ck12
-rw-r--r-- 1 root root 41760 2005-06-06 03:37 config-ide-2.4.31
-rw-r--r-- 1 root root 5032 2004-05-21 07:19 diag1.img
drwxr-xr-x 8 root root 4096 2005-09-12 04:36 initrd-tree/
-rw------- 1 root root 294219 2006-07-02 21:34 initrd.gz
-rw------- 1 root root 82944 2006-07-03 21:02 map
-r-------- 1 root root 3233958 2006-07-02 18:25 vmlinuz
-rw-r--r-- 1 root root 1863466 2006-07-03 21:02 vmlinuz-2.6.16ck12
-rw-r--r-- 1 root root 1256566 2005-06-06 03:37 vmlinuz-ide-2.4.31


root@jake-slackware:~# fdisk -l

Disk /dev/sda: 80.0 GB, 80032038912 bytes
255 heads, 63 sectors/track, 9730 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 2432 19535008+ 83 Linux
/dev/sda2 2433 2493 489982+ 82 Linux swap
/dev/sda3 * 2494 3709 9767520 83 Linux
/dev/sda4 3710 9730 48363682+ 83 Linux


root@jake-slackware:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 9.1G 3.6G 5.1G 42% /
/dev/sda1 19G 2.0G 16G 12% /ubuntu
/dev/sda4 46G 14G 30G 32% /storage

root@jake-slackware:~# cat /etc/lilo.conf
boot=/dev/sda3
prompt
timeout="1200"
root=/dev/sda3

image=/boot/vmlinuz
label=vmlinuz
root=/dev/sda3
read-only

image=/boot/vmlinuz-ide-2.4.31
label=2.4.31
root=/dev/sda3
read-only

image=/boot/vmlinuz-2.6.16ck12
label=Linux_Compiled
root=/dev/sda3
read-only
optional
initrd=/boot/initrd.gz
 
Old 07-03-2006, 05:23 PM   #9
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 30
Are you sure you added support for your sata controller? Make sure you know what controller it is and make sure you have support in the kernel. If you do then it is another issue. By the looks of your dmesg, are you loading every driver for everything under the sun, which isn't exactly bad but you should narrow it down to what you do have
 
Old 07-03-2006, 07:09 PM   #10
zapcojake
Member
 
Registered: Jan 2005
Location: Joplin Missouri
Distribution: ubuntu/slackware/gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
The 2.6.13 kernel from the 'slack cd works good, is there a way to find out what sata driver it is using? The mobo has an ATI chip set, I selected support for ATI IXP chip sets (it was the only ATI option) Is anybody else using the 2.6.16ck12 kernel? Maybe the patch causes problems? I used the same kernel on the same computer under Ubuntu and it worked.

Last edited by zapcojake; 07-03-2006 at 07:12 PM.
 
Old 07-03-2006, 07:50 PM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Where is your "2.6.13 kernel from the 'slack cd"?
(That means where is it located for you to boot it.)

Is it /boot/vmlinuz?
Why did you give it these perms? -r-------- 1 root root 3233958 2006-07-02 18:25 vmlinuz

To find out what SATA driver it uses, issue "cat /location/of/linux-2.6.12/.config | grep -i sata"

How are you going to boot ubuntu?

Where did you install LiLO?
Superblock, root, MBR?

If the 2.6.13 kernel works from the Slackware CD, why do you want to install a Con Kolivas (2.6.16ck12)?
Have those Gentoo ricers provoked you to do this?
 
Old 07-03-2006, 08:29 PM   #12
zapcojake
Member
 
Registered: Jan 2005
Location: Joplin Missouri
Distribution: ubuntu/slackware/gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
I installed Ubuntu's grub to the mbr and chain +1'ed to Slackware's root which is where I installed lilo. My main purpose for installing the kernel was to see if I could do it and because it really improved Ubuntu's performance. I am trying to learn all I can about Linux. Not sure what you mean by Gentoo ricers the kernel just worked well before and I already had it downloaded.

There is a config file that was created 6-6-2005. It doesn't mention 2.6.13 anywhere but the rest of the configs in /boot point to other kernels. I know I selected test26.s when I installed and the result of uname -r is 2.6.13.

Last edited by zapcojake; 07-03-2006 at 08:54 PM.
 
Old 07-03-2006, 09:19 PM   #13
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You got me thoroughly confused. How/why are you using GrUB and LiLO?

LiLO can boot many images -- iirc up to 46 -- check "man lilo" if you're interested.

GrUB can also boot multiple images.

Go back to my post #6 where I gave you the link to Kwan Lowe's Kernel Rebuild Guide. Start over there. You've got quite a bit of entropy, and you're just now mentioning you're booting with GrUB also? I don't even see how this is possible.

The Linux way is to put your kernel images in /boot.

If you will install LiLO to the MBR and can set everything up sanely, you can boot. I tried using GrUB about three years ago -- it doesn't even use device names for drives -- so I got far away from it.
 
Old 07-03-2006, 10:41 PM   #14
zapcojake
Member
 
Registered: Jan 2005
Location: Joplin Missouri
Distribution: ubuntu/slackware/gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
I wanted to keep both oses as seperate from each other and intact as possible. Right now I use Ubuntu for my day to day stuff and the space where slackware is right now is a tesing ground for other things. Seemed like the fastest and easiest thing to do was set install grub at the mbr and chain it to the boot loader at sda3 so when I test a new os I don't have to mess with my original grub everytime.
 
Old 07-03-2006, 10:50 PM   #15
zapcojake
Member
 
Registered: Jan 2005
Location: Joplin Missouri
Distribution: ubuntu/slackware/gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
Is this
root@jake-slackware:/boot# cat config-2.6.16-ck12 | grep -i sata
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_SCSI_SATA=y
# CONFIG_SCSI_SATA_AHCI is not set
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_SATA_MV is not set
# CONFIG_SCSI_SATA_NV is not set
# CONFIG_SCSI_SATA_QSTOR is not set
# CONFIG_SCSI_SATA_PROMISE is not set
CONFIG_SCSI_SATA_SX4=m
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIL24 is not set
CONFIG_SCSI_SATA_SIS=m
# CONFIG_SCSI_SATA_ULI is not set
# CONFIG_SCSI_SATA_VIA is not set
# CONFIG_SCSI_SATA_VITESSE is not set
CONFIG_SCSI_SATA_INTEL_COMBINED=y
the problem. I checked all the sata options there were in the xconfig but this is how it turned out. What have I done wrong?

Last edited by zapcojake; 07-03-2006 at 10:57 PM.
 
  


Reply



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
SATA Issues (kernel 2.4.29 upgrade from 2.4.26) davatar Slackware 2 04-04-2005 01:21 PM
GRUB Issues with SATA HD Compyn00bie Linux - Newbie 1 02-11-2005 07:48 AM
built-in network and SATA issues zenith_zth Linux - Hardware 2 02-06-2005 03:57 PM
SATA issues with FC2 Aswardhama Fedora - Installation 0 12-29-2004 08:27 PM
SATA issues with Slacky 10.0 Irish Dragon Slackware 2 07-04-2004 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:35 AM.

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