LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   kernel compile 2.6.20 - kernel panic - SATA drive (http://www.linuxquestions.org/questions/slackware-14/kernel-compile-2-6-20-kernel-panic-sata-drive-543692/)

bgeddy 04-05-2007 09:04 PM

kernel compile 2.6.20 - kernel panic - SATA drive
 
I am compiling a 2.6.20.4 kernel for a new box with a SATA drive. I am getting the following at boot:

Code:

md: autorun
md:..autorun DONE
VFS: Cannot open root device "805" or unknown-block (8,5)
Please append a correct "root=" boot option
kernel panic - not syncing VFS: Unable to mount root fs on unknown-block(8,5)

Here is my lspci:
Code:

00:00.0 Host bridge: Intel Corporation P965/G965 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation P965/G965 PCI Express Root Port (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82562V 10/100 Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HH (ICH8DH) LPC Interface Controller (rev 02)
00:1f.2 RAID bus controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) SATA RAID Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 7300 LE (rev a1)

and here is my dmesg from booting a working huge26.s:
Code:

buffer device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Floppy drive(s): fd0 is 1.44M
floppy0: no floppy controllers found
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.10)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
Probing IDE interface ide1...
ide-floppy driver 0.99.newide
Loading Adaptec I2O RAID: Version 2.4 Build 5go
Detecting Adaptec I2O RAID controllers...
Adaptec aacraid driver (1.1-5[2409]-mh1)
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.1.6
Copyright(c) 2004-2006 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.8 (Release Date: Mon Apr 11 12:27:22 EST 2006)
megasas: 00.00.02.04 Fri Feb 03 14:31:44 PST 2006
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.007.
nsp32: loading...
ipr: IBM Power RAID SCSI Device Driver version: 2.1.3 (March 29, 2006)
libata version 1.20 loaded.
ahci 0000:00:1f.2: version 1.2
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:1f.2[C] -> Link [LNKE] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 6 ports 3 Gbps 0x33 impl RAID mode
ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part
ata1: SATA max UDMA/133 cmd 0xF8806100 ctl 0x0 bmdma 0x0 irq 10
ata2: SATA max UDMA/133 cmd 0xF8806180 ctl 0x0 bmdma 0x0 irq 10
ata3: SATA max UDMA/133 cmd 0xF8806200 ctl 0x0 bmdma 0x0 irq 10
ata4: SATA max UDMA/133 cmd 0xF8806280 ctl 0x0 bmdma 0x0 irq 10
ata5: SATA max UDMA/133 cmd 0xF8806300 ctl 0x0 bmdma 0x0 irq 10
ata6: SATA max UDMA/133 cmd 0xF8806380 ctl 0x0 bmdma 0x0 irq 10
ata1: SATA link up 3.0 Gbps (SStatus 123)
ata1: dev 0 cfg 49:2f00 82:746b 83:7f61 84:4063 85:7469 86:3e41 87:4063 88:407f
ata1: dev 0 ATA-7, max UDMA/133, 625142448 sectors: LBA48
ata1: dev 0 configured for UDMA/133
scsi2 : ahci
ata2: SATA link up 1.5 Gbps (SStatus 113)
ata2: dev 0 cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:203f
ata2: dev 0 ATAPI, max UDMA/100
ata2: dev 0 configured for UDMA/100
scsi3 : ahci
ata3: SATA link down (SStatus 0)
scsi4 : ahci
ata4: SATA link down (SStatus 0)
scsi5 : ahci
ata5: SATA link down (SStatus 4)
scsi6 : ahci
ata6: SATA link down (SStatus 4)
scsi7 : ahci
  Vendor: ATA      Model: WDC WD3200KS-75P  Rev: 21.0
  Type:  Direct-Access                      ANSI SCSI revision: 05
  Vendor: HL-DT-ST  Model: DVD+-RW GSA-H31N  Rev: B109
  Type:  CD-ROM                            ANSI SCSI revision: 05
st: Version 20050830, fixed bufsize 32768, s/g segs 256
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 >
sd 2:0:0:0: Attached scsi disk sda
sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 3:0:0:0: Attached scsi CD-ROM sr0
I2O subsystem v1.325
i2o: max drivers = 8
I2O Configuration OSM v1.323
I2O Bus Adapter OSM v1.317
I2O Block Device OSM v1.325
I2O SCSI Peripheral OSM v1.316
I2O ProcFS OSM v1.316
Fusion MPT base driver 3.03.09
Copyright (c) 1999-2005 LSI Logic Corporation
Fusion MPT SPI Host driver 3.03.09
Fusion MPT FC Host driver 3.03.09
Fusion MPT SAS Host driver 3.03.09
ieee1394: Initialized config rom entry `ip1394'
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
usbmon: debugfs is not available
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:1a.7[C] -> Link [LNKG] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:1a.7 to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1a.7
ehci_hcd 0000:00:1a.7: irq 5, io mem 0xdffdac00
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 4
PCI: setting IRQ 4 as level-triggered
ACPI: PCI Interrupt 0000:00:1d.7[A] -> Link [LNKH] -> GSI 4 (level, low) -> IRQ 4
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 4, io mem 0xff980800
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
116x: driver isp116x-hcd, 03 Nov 2005
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1a.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1a.0 to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 11, io base 0x0000ff20
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 9
PCI: setting IRQ 9 as level-triggered
ACPI: PCI Interrupt 0000:00:1a.1[B] -> Link [LNKB] -> GSI 9 (level, low) -> IRQ 9
PCI: Setting latency timer of device 0000:00:1a.1 to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1a.1: irq 9, io base 0x0000ff00
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKH] -> GSI 4 (level, low) -> IRQ 4
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.0: irq 4, io base 0x0000ff80
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKB] -> GSI 9 (level, low) -> IRQ 9
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.1: irq 9, io base 0x0000ff60
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 3
PCI: setting IRQ 3 as level-triggered
ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 3 (level, low) -> IRQ 3
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.2: irq 3, io base 0x0000ff40
usb usb7: configuration #1 chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
sl811: driver sl811-hcd, 19 May 2005
Initializing USB Mass Storage driver...
usb 7-1: new low speed USB device using uhci_hcd and address 2
usb 7-1: configuration #1 chosen from 1 choice
usb 7-2: new low speed USB device using uhci_hcd and address 3
usb 7-2: configuration #1 chosen from 1 choice
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
input: Logitech Optical USB Mouse as /class/input/input0
input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:1d.2-1
input: Dell Dell USB Keyboard as /class/input/input1
input: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-0000:00:1d.2-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
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
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: automatically using best checksumming function: pIII_sse
  pIII_sse  :  6555.000 MB/sec
raid5: using function: pIII_sse (6555.000 MB/sec)
raid6: int32x1    777 MB/s
raid6: int32x2    819 MB/s
raid6: int32x4    549 MB/s
raid6: int32x8    521 MB/s
raid6: mmxx1    2407 MB/s
raid6: mmxx2    2764 MB/s
raid6: sse1x1    1666 MB/s
raid6: sse1x2    2075 MB/s
raid6: sse2x1    3018 MB/s
raid6: sse2x2    3317 MB/s
raid6: using algorithm sse2x2 (3317 MB/s)
md: raid6 personality registered for level 6
md: multipath personality registered for level -4
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
device-mapper: 4.6.0-ioctl (2006-02-17) initialised: dm-devel@redhat.com
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
ACPI wakeup devices:
VBTN PCI0 PCI4 PCI2 PCI3 PCI1 PCI5 PCI6 USB0 USB1 USB2 USB3 USB4
ACPI: (supports S0 S3 S4 S5)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 284k freed
EXT3 FS on sda5, internal journal
USB Universal Host Controller Interface driver v3.0
kmem_cache_create: duplicate cache uhci_urb_priv
 <c014dd1f> kmem_cache_create+0x30f/0x3b0  <f8cca033> uhci_hcd_init+0x33/0x92 [uhci_hcd]
 <c0130e52> sys_init_module+0xe2/0x160  <c0102de7> syscall_call+0x7/0xb
sd 2:0:0:0: Attached scsi generic sg0 type 0
sr 3:0:0:0: Attached scsi generic sg1 type 5
USB Universal Host Controller Interface driver v3.0
kmem_cache_create: duplicate cache uhci_urb_priv
 <c014dd1f> kmem_cache_create+0x30f/0x3b0  <f8cca033> uhci_hcd_init+0x33/0x92 [uhci_hcd]
 <c0130e52> sys_init_module+0xe2/0x160  <c0102de7> syscall_call+0x7/0xb
i2c_core: exports duplicate symbol i2c_register_driver (owned by kernel)
i2c_core: exports duplicate symbol i2c_register_driver (owned by kernel)
USB Universal Host Controller Interface driver v3.0
kmem_cache_create: duplicate cache uhci_urb_priv
 <c014dd1f> kmem_cache_create+0x30f/0x3b0  <f8cca033> uhci_hcd_init+0x33/0x92 [uhci_hcd]
 <c0130e52> sys_init_module+0xe2/0x160  <c0102de7> syscall_call+0x7/0xb
Intel(R) PRO/1000 Network Driver - version 7.4.35-NAPI
Copyright (c) 1999-2007 Intel Corporation.
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:19.0[A] -> Link [LNKF] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:19.0 to 64
Linux agpgart interface v0.101 (c) Dave Jones
USB Universal Host Controller Interface driver v3.0
kmem_cache_create: duplicate cache uhci_urb_priv
 <c014dd1f> kmem_cache_create+0x30f/0x3b0  <f8cfe033> uhci_hcd_init+0x33/0x92 [uhci_hcd]
 <c0130e52> sys_init_module+0xe2/0x160  <c0102de7> syscall_call+0x7/0xb
e1000: 0000:00:19.0: e1000_probe: (PCI Express:2.5Gb/s:Width x1) 00:19:d1:4e:6d:16
USB Universal Host Controller Interface driver v3.0
kmem_cache_create: duplicate cache uhci_urb_priv
 <c014dd1f> kmem_cache_create+0x30f/0x3b0  <f8cfe033> uhci_hcd_init+0x33/0x92 [uhci_hcd]
 <c0130e52> sys_init_module+0xe2/0x160  <c0102de7> syscall_call+0x7/0xb
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
ACPI: PCI Interrupt 0000:00:1b.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1b.0 to 64
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:01:00.0 to 64
NVRM: loading NVIDIA UNIX x86 Kernel Module  1.0-9755  Mon Feb 26 23:21:15 PST 2007
input: PC Speaker as /class/input/input2
lp: driver loaded but no devices found
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
Capability LSM initialized
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda8, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda9, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NTFS volume version 3.1.
e1000: eth0: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
e1000: eth0: e1000_watchdog_task: 10/100 speed: disabling TSO
USB Universal Host Controller Interface driver v3.0
kmem_cache_create: duplicate cache uhci_urb_priv
 <c014dd1f> kmem_cache_create+0x30f/0x3b0  <f903d033> uhci_hcd_init+0x33/0x92 [uhci_hcd]
 <c0130e52> sys_init_module+0xe2/0x160  <c0102de7> syscall_call+0x7/0xb
USB Universal Host Controller Interface driver v3.0
kmem_cache_create: duplicate cache uhci_urb_priv
 <c014dd1f> kmem_cache_create+0x30f/0x3b0  <f903d033> uhci_hcd_init+0x33/0x92 [uhci_hcd]
 <c0130e52> sys_init_module+0xe2/0x160  <c0102de7> syscall_call+0x7/0xb
USB Universal Host Controller Interface driver v3.0
kmem_cache_create: duplicate cache uhci_urb_priv
 <c014dd1f> kmem_cache_create+0x30f/0x3b0  <f903d033> uhci_hcd_init+0x33/0x92 [uhci_hcd]
 <c0130e52> sys_init_module+0xe2/0x160  <c0102de7> syscall_call+0x7/0xb
USB Universal Host Controller Interface driver v3.0
kmem_cache_create: duplicate cache uhci_urb_priv
 <c014dd1f> kmem_cache_create+0x30f/0x3b0  <f903d033> uhci_hcd_init+0x33/0x92 [uhci_hcd]
 <c0130e52> sys_init_module+0xe2/0x160  <c0102de7> syscall_call+0x7/0xb
USB Universal Host Controller Interface driver v3.0
kmem_cache_create: duplicate cache uhci_urb_priv
 <c014dd1f> kmem_cache_create+0x30f/0x3b0  <f903d033> uhci_hcd_init+0x33/0x92 [uhci_hcd]
 <c0130e52> sys_init_module+0xe2/0x160  <c0102de7> syscall_call+0x7/0xb
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present

here is my lsmod from a working huge26.s:
Code:

Module                  Size  Used by
snd_seq_dummy          2820  0
snd_seq_oss            28928  0
snd_seq_midi_event      5888  1 snd_seq_oss
snd_seq                43984  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6284  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            38048  0
snd_mixer_oss          15616  1 snd_pcm_oss
ipv6                  223584  10
capability              3336  0
commoncap              5376  1 capability
eepro100              26384  0
mii                    4864  1 eepro100
lp                      9800  0
parport_pc            24132  0
parport                30024  2 lp,parport_pc
pcspkr                  2432  0
psmouse                34952  0
nvidia              6826132  0
evdev                  8064  0
shpchp                33816  0
snd_hda_intel          14356  0
serio_raw              5252  0
agpgart                28080  1 nvidia
i2c_i801                7820  0
e1000                191808  0
snd_hda_codec        136112  1 snd_hda_intel
sg                    26524  0
snd_pcm                73736  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              19332  2 snd_seq,snd_pcm
snd                    43364  9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore              7136  1 snd
snd_page_alloc          7560  2 snd_hda_intel,snd_pcm

I think this has something to do with my drive being SATA but I have selected SATA settings in my config - perhaps not correctly. Any ideas ?? Sorry about the length of my post but I can't get a pastebin working right now !! I know this is probably something stupid ( I have compiled lots of kernels on my old PATA box with no problems).. Thanks in advance.

nadroj 04-05-2007 09:49 PM

im not an expert at kernel compiling..

i believe you get a message like this if you dont have support for your root disk's controller, ie the SATA controller on your motherboard. my hard drives are IDE/PATA, so i have my intel ide controller built in.

did you add built-in support ('Y') for Device Drivers->Serial ATA...->Intel PIIX/ICH Sata Support

edit can you post your .config file you used?

Method9455 04-05-2007 10:11 PM

try starting with test26.s instead of huge26.s. Also if you jump up to 2.6.20.3 it fixes a huge number of SATA issues so download the source and go from there.

GvdM 04-05-2007 11:30 PM

Make sure you have
<*> ATA device support
<*> AHCI SATA support

selected under Serial ATA (prod) and Parallel ATA (experimental) drivers

Do not load these as modules. It cannot load modules if it cannot see the hard drive.

If you copied your config file from 2.6.18 or earlier it does not set these options correctly and can give you that error.

Quakeboy02 04-05-2007 11:48 PM

Can we see your grub or lilo config and device files?

By the way, both ATA and SATA_SIL work just fine for me as loadable modules.

Added:
As nadroj indicated, you need the ATA_PIIX module for your ICH8 controller.

onebuck 04-06-2007 09:20 AM

Hi,

You could make a initrd to provide the module for the new kernel. That is if you created the module. Read the /boot/README.initrd to see how.

bgeddy 04-06-2007 09:45 PM

I think I've got pastebin to work so here's a link to my .config that I compiled my kernel against.http://pastebin.ca/427828 and heres my lilo.conf:
Code:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
#compact        # faster, but won't work on all systems.
prompt
timeout = 300
# VESA framebuffer console @ 1024x768x64k
vga = 791
# 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
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0    # paranoia setting
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda3
  label = windows
  table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda5
  label = linux
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# EH new 2.6.20 kernel
image = /boot/vmlinuz-2.6.20
  root = /dev/sda5
  label = linux-2.6.20
  read-only
#

My kernel version was 2.6.20.4 to be exact - I probably should have made this clear. Anyway, I use make xconfig to generate a .config file so reading the settings in .config is not something I'm used to. I'm sure I selected
Quote:

built-in support ('Y') for Device Drivers->Serial ATA...->Intel PIIX/ICH Sata Suppo
when I ran through my kernel configuration but looking at my .config (again this is very much guesswork for me) it would appear that CONFIG_SATA_INTEL_COMBINED=y is relevant. (Incidentally - is there a reference guide anywhere to all these flags in the .config file ?
Quote:

You could make a initrd to provide the module for the new kernel. That is if you created the module. Read the /boot/README.initrd to see how.
I didn't really want to have an intial ram disk image loading if possible.

My intention in this, common with most kernel tinkering, is to get a kernel that (1) has a low latency for my music apps, (2) is fast to boot (3) takes advantage (even to a slight extent) of my SMP hardware and (4) addresses my hardware natively rather than through loading a module. In other words, tailored to my box - a Dell Dimension E520 with SATA disk. BTW - the documentation says something about accessing the singel hard disk through some kind of RAID driver - can't remember exactly what as I'm writing this under Slack. Vista (I've set it up to dual boot the dell fitted OS with Slackware 11) runs an application "Intel matrix" or something which I think has something to do with this. Sorry for being a bit vague with my information but I don't want to boot to Vista right now, (although I must admit it looks rather nice), probably shouldn't have said that here !!

So - thanks a lot for all the valuable input.

onebuck 04-08-2007 08:59 AM

Quote:

Originally Posted by bgeddy
<snip>

My kernel version was 2.6.20.4 to be exact - I probably should have made this clear. Anyway, I use make xconfig to generate a .config file so reading the settings in .config is not something I'm used to. I'm sure I selected when I ran through my kernel configuration but looking at my .config (again this is very much guesswork for me) it would appear that CONFIG_SATA_INTEL_COMBINED=y is relevant. (Incidentally - is there a reference guide anywhere to all these flags in the .config file ?
I didn't really want to have an intial ram disk image loading if possible.

My intention in this, common with most kernel tinkering, is to get a kernel that (1) has a low latency for my music apps, (2) is fast to boot (3) takes advantage (even to a slight extent) of my SMP hardware and (4) addresses my hardware natively rather than through loading a module. In other words, tailored to my box - a Dell Dimension E520 with SATA disk. BTW - the documentation says something about accessing the singel hard disk through some kind of RAID driver - can't remember exactly what as I'm writing this under Slack. Vista (I've set it up to dual boot the dell fitted OS with Slackware 11) runs an application "Intel matrix" or something which I think has something to do with this. Sorry for being a bit vague with my information but I don't want to boot to Vista right now, (although I must admit it looks rather nice), probably shouldn't have said that here !!

So - thanks a lot for all the valuable input.

Hi,

You should make sure that the RAID is enabled in the BIOS. Even if you don't plan on using RAID, the controller will be enabled with this option.

I would use the huge26 or test26 to boot. Once you have the Slackware install cd1 boot then do a 'lspci -vv' to get all your recognized hardware. You can use this information to configure the kernel.

The loading of a module for the kernel will act the same as if the option was compiled in once the module is loaded. No difference! The advantage of compiling in is the 'latency' value of the not having to load a module. Not operational.

As for the SMP, you have it or you don't! If the hardware is there and the kernel support included then the action or use of the processors will be available.

You will need to set CONFIG_X86_BIGSMP, CONFIG_SMP in the '.config'. Don't forget HIMEM and ACPI in the '.config'. Compile and install the kernel with modules but make certain that you use a separate stanza in the 'lilo.conf' file for the new kernel image. Then run 'lilo' as root to update the disk record. This way you can always use the previous working kernel to reboot if a problem occurs.


All times are GMT -5. The time now is 11:12 PM.