LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 11-15-2007, 11:55 PM   #1
webofunni
LQ Newbie
 
Registered: Jul 2006
Distribution: debian,mandriva,ubuntu
Posts: 15

Rep: Reputation: 0
Smile Problem in compiling 2.6.23 kernel in debian 4


Hello All,

I have recently compiled the kernel 2.6.23 in my debain 4.0. But my new kernel stuck with a message "Looking for root file system". I have searched, all says that to give the support for SCSI device, I have given it but still problem exist.

Can you please suggest a solution. If possible with clear steps.

These are my system informations. My current kernel boots fine ( its 2.6.18-k7 )

Code:
debian:/home/unni# lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation Unknown device 03d0 (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
Code:
debian:/home/unni# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 95
model name      : AMD Athlon(tm) 64 Processor 3200+
stepping        : 2
cpu MHz         : 2009.103
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni cx16 lahf_lm svm cr8legacy ts fid vid ttp tm stc
bogomips        : 4022.18
Dmesg
Code:
Linux version 2.6.18-4-k7 (Debian 2.6.18.dfsg.1-12) (waldi@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Mon Mar 26 17:57:15 UTC 2007
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000037fc0000 (usable)
 BIOS-e820: 0000000037fc0000 - 0000000037fce000 (ACPI data)
 BIOS-e820: 0000000037fce000 - 0000000037ff0000 (ACPI NVS)
 BIOS-e820: 0000000037ff0000 - 0000000038000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
 BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
895MB LOWMEM available.
found SMP MP-table at 000ff780
On node 0 totalpages: 229312
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 225216 pages, LIFO batch:31
DMI present.
ACPI: RSDP (v002 ACPIAM                                ) @ 0x000fb810
ACPI: XSDT (v001 A_M_I_ OEMXSDT  0x05000701 MSFT 0x00000097) @ 0x37fc0100
ACPI: FADT (v003 A_M_I_ OEMFACP  0x05000701 MSFT 0x00000097) @ 0x37fc0290
ACPI: MADT (v001 A_M_I_ OEMAPIC  0x05000701 MSFT 0x00000097) @ 0x37fc0390
ACPI: MCFG (v001 A_M_I_ OEMMCFG  0x05000701 MSFT 0x00000097) @ 0x37fc0400
ACPI: OEMB (v001 A_M_I_ AMI_OEM  0x05000701 MSFT 0x00000097) @ 0x37fce040
ACPI: HPET (v001 A_M_I_ OEMHPET0 0x05000701 MSFT 0x00000097) @ 0x37fc6bb0
ACPI: DSDT (v001  A0785 A0785000 0x00000000 INTL 0x02002026) @ 0x00000000
ACPI: PM-Timer IO Port: 0x508
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:15 APIC version 16
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x81] disabled)
ACPI: Skipping IOAPIC probe due to 'noapic' option.
ACPI: HPET id: 0x10de8201 base: 0xfed00000
Using ACPI for processor (LAPIC) configuration information
Intel MultiProcessor Specification v1.4
    Virtual Wire compatibility mode.
OEM ID: TEMPLATE Product ID: SE           APIC at: 0xFEE00000
I/O APIC #1 Version 17 at 0xFEC00000.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Processors: 1
Allocating PCI resources starting at 40000000 (gap: 38000000:c6c00000)
Detected 2009.160 MHz processor.
Built 1 zonelists.  Total pages: 229312
Kernel command line: root=/dev/sda7 ro noapic pci=routeirq
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
spurious 8259A interrupt: IRQ7.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 901660k/917248k available (1557k kernel code, 15076k reserved, 581k data, 196k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
hpet0: at MMIO 0xfed00000 (virtual 0xf8800000), IRQs 2, 8, 31
hpet0: 3 32-bit timers, 25000000 Hz
Using HPET for base-timer
Calibrating delay using timer specific routine.. 4022.08 BogoMIPS (lpj=8044162)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 078bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000001d
CPU: After vendor identify, caps: 078bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000001d
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: After all inits, caps: 078bfbff ebd3fbff 00000000 00000410 00002001 00000000 0000001d
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 16k freed
ACPI: Core revision 20060707
ACPI: setting ELCR to 0200 (from 8c00)
CPU0: AMD Athlon(tm) 64 Processor 3200+ stepping 02
Total of 1 processors activated (4022.08 BogoMIPS).
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 4406k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at e0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=4
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:0d.0
PCI: Transparent bridge - 0000:00:04.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P2._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR11._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR12._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 7 10 11 14) *0, disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 7 10 11 14) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 7 10 11 14) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 7 10 11 14) *0, disabled.
ACPI: PCI Interrupt Link [LNEA] (IRQs 7 10 11 14) *0, disabled.
ACPI: PCI Interrupt Link [LNEB] (IRQs 7 10 11 14) *0, disabled.
ACPI: PCI Interrupt Link [LNEC] (IRQs 7 10 11 14) *0, disabled.
ACPI: PCI Interrupt Link [LNED] (IRQs 7 10 11 14) *0, disabled.
ACPI: PCI Interrupt Link [LUB0] (IRQs 7 10 *11 14)
ACPI: PCI Interrupt Link [LUB2] (IRQs 7 *10 11 14)
ACPI: PCI Interrupt Link [LMAC] (IRQs 7 10 *11 14)
ACPI: PCI Interrupt Link [LAZA] (IRQs 7 10 *11 14)
ACPI: PCI Interrupt Link [LACI] (IRQs 7 10 11 14) *0, disabled.
ACPI: PCI Interrupt Link [LMC9] (IRQs 7 10 *11 14)
ACPI: PCI Interrupt Link [LSMB] (IRQs 7 *10 11 14)
ACPI: PCI Interrupt Link [LPMU] (IRQs 7 10 11 14) *0, disabled.
ACPI: PCI Interrupt Link [LSA0] (IRQs *15)
ACPI: PCI Interrupt Link [LSA1] (IRQs 5) *0, disabled.
ACPI: PCI Interrupt Link [LATA] (IRQs 7 10 11 14) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 16 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: Routing PCI interrupts for all devices because "pci=routeirq" specified
ACPI: PCI Interrupt Link [LSMB] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:01.1[A] -> Link [LSMB] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LUB0] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUB0] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LUB2] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:05.0[B] -> Link [LAZA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [LMAC] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 15
PCI: setting IRQ 15 as level-triggered
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LSA0] -> GSI 15 (level, low) -> IRQ 15
ACPI: PCI Interrupt Link [LMC9] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LMC9] -> GSI 11 (level, low) -> IRQ 11
pnp: 00:0c: ioport range 0x230-0x23f has been reserved
pnp: 00:0c: ioport range 0x290-0x29f has been reserved
pnp: 00:0c: ioport range 0xa00-0xa0f has been reserved
pnp: 00:0c: ioport range 0xa10-0xa1f has been reserved
PCI: Bridge: 0000:00:04.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:09.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:0b.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:0c.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:04.0 to 64
PCI: Setting latency timer of device 0000:00:09.0 to 64
PCI: Setting latency timer of device 0000:00:0b.0 to 64
PCI: Setting latency timer of device 0000:00:0c.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1195217177.732:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Setting latency timer of device 0000:00:09.0 to 64
pcie_portdrv_probe->Dev[03e8:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:09.0:pcie00]
PCI: Setting latency timer of device 0000:00:0b.0 to 64
pcie_portdrv_probe->Dev[03e9:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0b.0:pcie00]
PCI: Setting latency timer of device 0000:00:0c.0 to 64
pcie_portdrv_probe->Dev[03e9:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0c.0:pcie00]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
hpet_resources: 0xfed00000 is busy
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0d: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
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
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI No-Shortcut mode
ACPI: (supports S0 S1 S3 S4 S5)
Freeing unused kernel memory: 196k freed
Time: tsc clocksource has been installed.
input: AT Translated Set 2 keyboard as /class/input/input0
ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
ACPI: Getting cpuindex for acpiid 0x2
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE-MCP61: IDE controller at PCI slot 0000:00:06.0
NFORCE-MCP61: chipset revision 162
NFORCE-MCP61: not 100% native mode: will probe irqs later
NFORCE-MCP61: 0000:00:06.0 (rev a2) UDMA133 controller
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
Probing IDE interface ide0...
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.56.
SCSI subsystem initialized
libata version 2.00 loaded.
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LUB2] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:02.1 to 64
ehci_hcd 0000:00:02.1: EHCI Host Controller
ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:02.1
ehci_hcd 0000:00:02.1: irq 10, io mem 0xdfffec00
ehci_hcd 0000:00:02.1: 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: 8 ports detected
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUB0] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.0: irq 11, io mem 0xdffff000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 8 ports detected
ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [LMAC] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:07.0 to 64
forcedeth: using HIGHDMA
0000:00:07.0: Invalid Mac address detected: 7f:a6:ab:fc:1b:00
Please complain to your hardware vendor. Switching to a random MAC.
eth0: forcedeth.c: subsystem: 01043:8234 bound to 0000:00:07.0
sata_nv 0000:00:08.0: version 2.0
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LSA0] -> GSI 15 (level, low) -> IRQ 15
PCI: Setting latency timer of device 0000:00:08.0 to 64
ata1: SATA max UDMA/133 cmd 0xE400 ctl 0xE082 bmdma 0xD880 irq 15
ata2: SATA max UDMA/133 cmd 0xE000 ctl 0xDC02 bmdma 0xD888 irq 15
scsi0 : sata_nv
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-7, max UDMA/133, 156312576 sectors: LBA48 NCQ (depth 0/32)
ata1.00: ata1: dev 0 multi count 16
ata1.00: configured for UDMA/133
scsi1 : sata_nv
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ATAPI, max UDMA/100
ata2.00: configured for UDMA/100
  Vendor: ATA       Model: WDC WD800BD-08MR  Rev: 10.0
  Type:   Direct-Access                      ANSI SCSI revision: 05
  Vendor: TSSTcorp  Model: CDDVDW SH-S203B   Rev: SB00
  Type:   CD-ROM                             ANSI SCSI revision: 05
SCSI device sda: 156312576 512-byte hdwr sectors (80032 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 156312576 512-byte hdwr sectors (80032 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 < sda5 sda6 sda7 sda8 sda9 >
sd 0:0:0:0: Attached scsi disk sda
Attempting manual resume
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
sr0: scsi3-mmc drive: 125x/125x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 1:0:0:0: Attached scsi generic sg1 type 5
Real Time Clock Driver v1.12ac
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
input: PC Speaker as /class/input/input1
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
Adding 489940k swap on /dev/sda5.  Priority:-1 extents:1 across:489940k
input: ImPS/2 Logitech Wheel Mouse as /class/input/input2
ts: Compaq touchscreen protocol output
EXT3 FS on sda7, internal journal
loop: loaded (max 8 devices)
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda8, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
eth12: no link during initialization.
ADDRCONF(NETDEV_UP): eth12: link is not ready
cdrom: sr0: mrw address space DMA selected
cdrom: sr0: mrw address space DMA selected
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
 
Old 11-16-2007, 08:48 AM   #2
hgsolari
LQ Newbie
 
Registered: Sep 2007
Distribution: debian
Posts: 25

Rep: Reputation: 17
Quote:
Originally Posted by webofunni View Post
I have recently compiled the kernel 2.6.23 in my debain 4.0. But my new kernel stuck with a message "Looking for root file system". I have searched, all says that to give the support for SCSI device, I have given it but still problem exist.

Can you please suggest a solution. If possible with clear steps.

These are my system informations. My current kernel boots fine ( its 2.6.18-k7 )
Hello

I experience this sort of problem compiling under Debian Etch (2.6.18.4-amd64) on a ACER 5050-4967. At that time the work.around I found had to do with the SATA drivers in the kernel. The distribution setup did not work. With newer kernels it did not showed up (including 2.6.23.1).
My current config has:

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEFLOPPY=y
CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_BLK_DEV_IDEACPI is not set
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_PROC_FS=y

and the new Serial ATA part is:

#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=m
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
CONFIG_CHR_DEV_ST=m
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=m
CONFIG_CHR_DEV_SCH=m

going back to the old SATA driver also worked (disabling the Serial ATA)

I hope it helps.

Hernan
 
Old 11-19-2007, 07:18 AM   #3
webofunni
LQ Newbie
 
Registered: Jul 2006
Distribution: debian,mandriva,ubuntu
Posts: 15

Original Poster
Rep: Reputation: 0
I have edited my .config file and recompiled the kernel. But no luck. It stuck with waiting for root file system and then throws a error.

=====================
check root = bootarg cat /proc/cmdline or missing modules, devices cat /proc/modules ls /dev

ALERT ! /dev/sda7 does not exist dropping to shell.
======================

There is no /dev/sda* also in menu.lst i have given /dev/sda7 but no luck.

hgsolari can you please give the whole .config file.

Also thereis another thing that, my usb drive ( http://www.consumer.philips.com/cons...ayer+SA6015-37 ) got detected but not my WDC WD800BD-08MRA1 hard disk.

Please help
 
Old 11-21-2007, 06:50 AM   #4
hgsolari
LQ Newbie
 
Registered: Sep 2007
Distribution: debian
Posts: 25

Rep: Reputation: 17
Quote:
Originally Posted by webofunni View Post
check root = bootarg cat /proc/cmdline or missing modules, devices cat /proc/modules ls /dev

ALERT ! /dev/sda7 does not exist dropping to shell.
======================

There is no /dev/sda* also in menu.lst i have given /dev/sda7 but no luck.

Please help
The new SATA driver uses /dev/sdaX instead of /dev/hdaX, check kernel line in /boot/grub/menu.lst and make sure the bootoption root=/dev/sda7
(or whatever it is the partition number of the root is) is set.

You can get the two config files from www.df.uba.ar/~solari/ACER/config-2.6.23.1.tgz
config.desktop has not been changed much from distribution, except for firewall stuff (needed for iptables). It uses the old driver and /dev/hdaX

config.laptop is taylored to my ACER laptop. It uses /dev/sdaX . I had the boot
problems with this one.

I do not think it is advisable to use my configs in your box. Try to see the differences and change yours, I disable stuff I do not have and enable things I have.

Read the help under Device Drivers--> ATA/ATAPI/MFM/RLL support (IDE)
when configuring the kernel for compiling and also under SCSI
Serial ATA (prod) and Parallel ATA (experimental) drivers (ATA)

ATA/ATAPI/MFM/RLL driver is ata1 according the help and as such will not see the ata2 disk. Check if there is direct support of the disk when enabling Serial ATA, or choose the generic option otherwise (they are not exclusive)


Your remark with respect to the a disk not being detected is not clear to me.
The new kernel cannot boot, much less reach the disk drivers. In the old kernel
you have: (your dmesg)
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ATAPI, max UDMA/100
ata2.00: configured for UDMA/100
Vendor: ATA Model: WDC WD800BD-08MR Rev: 10.0
Type: Direct-Access ANSI SCSI revision: 05
Vendor: TSSTcorp Model: CDDVDW SH-S203B Rev: SB00
Type: CD-ROM ANSI SCSI revision: 05
SCSI device sda: 156312576 512-byte hdwr sectors (80032 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 156312576 512-byte hdwr sectors (80032 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 < sda5 sda6 sda7 sda8 sda9 >
sd 0:0:0:0: Attached scsi disk sda
So... it is there, the driver ata2 is taking it and your devices are /dev/sdaX
with X=1,2,5,6,7,8,9 (3 I believe is an extended partition)

bye
Hernan
 
Old 05-14-2009, 06:55 AM   #5
kallel
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
I had the same problem when I tried to compile kernel 2.6.20 on my debian kernel 2.6.18.
The problem is related to the SATA disk driver. you have to configure your sata disk driver before compilation.
to do: in make menu config go to :
1- Device Drivers --->
2- Serial ATA (prod) and Parallel ATA (experimental) drivers --->
3- select the "<M> ATA device support"
4- select your sata disk related modules or select all modules
and then continue your compilation

KALLEL
 
  


Reply

Tags
disk, driver, error, sata2


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
Compiling a kernel in Debian shorto Linux - Newbie 2 05-28-2007 11:26 AM
compiling problem of debian kernel 2.6.15 with 2.6.15-mms patch headlie Linux - Laptop and Netbook 0 01-08-2006 04:30 PM
compiling kernel in debian bwaynej2002 Debian 5 10-11-2005 10:00 PM
problem with compiling kernel 2.6.0 on Debian samxiao Debian 5 12-24-2003 12:02 PM
Compiling Debian kernel mmm Linux - General 2 07-13-2003 02:15 PM


All times are GMT -5. The time now is 01:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration