Debian 5 (kernel 2.6.18) cannot boot from Supermicro X9SRL

原创 2013年12月05日 23:25:19
Environment: Supermicro X9SRL server, which usesC600/X79 series chipset 6-Port SATA AHCI Controller

Linux OS to boot: Debian 5.10 (kernel 2.6.18)

Error message:  ALERT! It could not find the /dev/sda1  Kernel panic.  ..

Reason: 

I found the reason why native linux kernel 2.6.18 cannot boot from the server.  The error message said that "It could not find the /dev/sda1". This is because the SATA/AHCI driver in 2.6.18 kernel is outdated.  Our Supermicro server is using the C600/X79 series chipset 6-Port SATA AHCI Controller (dev id: 1d02).  According to http://cateee.net/lkddb/web-lkddb/SATA_AHCI.html,  linux kernel include a built-in ahci driver for this type of controller starting from version 2.6.19. But unfortunately 2.6.18 misses its chance. 

I tried to hack into the 2.6.18 ahci driver source code.  What I did was compared the ahci.c file between 2.6.19 and 2.6.18. However, there was a dramatic change in driver design right after 2.6.18.  The ahci driver implementation seems very different between these two versions. Backporting the ahci driver to 2.6.18 is just too painful. 

A Workaround:
Try to connect the hard drive through a SATA-USB cable.  2.6.18 kernel has a built-in USB driver, so it can detect the drive where the root file system is in. 

UPDATE on Aug 24, 2014:
Or you can have another SAS/SATA controller card which has open-source driver.  Then you build its driver into the 2.6.18 kernel.
Forward reference:  http://blog.csdn.net/kevin_ut/article/details/38799629

相关文章推荐

kernel-2.6.18-308.el5.x86_64

  • 2015年11月10日 14:45
  • 21.47MB
  • 下载

kernel-xen-2.6.18-406.el5.x86_64.rpm

  • 2015年08月03日 04:46
  • 22.83MB
  • 下载

AT91SAM9x5ek boot模式

AT91SAM9x5ek boot模式 AT91SAM9x5ek系列共包含5个型号的芯片:AT91SAM9G25、AT91SAM9G15、AT91SAM9G35、AT91SAM9X25、AT91...

kernel-debuginfo-2.6.18-8.el5.i686.rpm

  • 2015年04月02日 14:40
  • 133.8MB
  • 下载

kernel-devel-2.6.18-128.el5.i686.rpm

  • 2012年06月27日 13:15
  • 4.88MB
  • 下载

VS2005下的 cannot convert parameter 1 from 'const char [5]' to 'LPCTSTR'错误解决

转载自 shenlye最终编辑 忆已矣FAQ: Cannot convert from 'const char [..]' to 'LPCTSTR'QuestionI'm trying to comp...

kernel-2.6.18-194.el5.i686.rpm

  • 2011年11月12日 19:33
  • 16.89MB
  • 下载

linux-boot-arch_x86_kernel_head_32.S

/* * * Copyright (C) 1991, 1992 Linus Torvalds * * Enhanced CPU detection and feature setting...
  • zeflove
  • zeflove
  • 2012年07月18日 16:34
  • 2018

kernel-PAE-2.6.18-194.el5.i686.rpm

  • 2011年11月12日 19:18
  • 16.91MB
  • 下载
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Debian 5 (kernel 2.6.18) cannot boot from Supermicro X9SRL
举报原因:
原因补充:

(最多只允许输入30个字)