Bug 12775 - Silicon Integrated Systems [SiS] module: sata_sis- HDD not found
Summary: Silicon Integrated Systems [SiS] module: sata_sis- HDD not found
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Serial ATA (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Tejun Heo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-24 15:26 UTC by Maggie34
Modified: 2012-05-30 14:16 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.28
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (42.09 KB, application/msword)
2009-02-24 15:30 UTC, Maggie34
Details
kern.log (42.98 KB, application/octet-stream)
2009-02-25 01:58 UTC, Maggie34
Details
kern.log (47.32 KB, text/plain)
2009-02-25 02:12 UTC, Maggie34
Details
boot.msg (38.97 KB, text/plain)
2009-02-27 02:46 UTC, Maggie34
Details
boot.msg (38.43 KB, text/plain)
2009-03-01 20:54 UTC, Maggie34
Details
boot.msg (38.01 KB, text/plain)
2009-03-04 01:40 UTC, Maggie34
Details

Description Maggie34 2009-02-24 15:26:17 UTC
Latest working kernel version: 2.6.25
Earliest failing kernel version:2.6.27
Distribution: archlinux, ubuntu, debian, sidux
Hardware Environment:Intel Pentium 4, IDE interface: Silicon Integrated Systems [SiS] module: sata_sis 182 SATA/RAID Controller, ATA WDC WD2500JS-55N
Problem Description:
I use Archlinux (2008.06) and last working kernel is 2.6.25. When I do kernel update I can't mount my system:
Root device '/dev/sda1' doesn't exist, attempting to create it
ERROR: Failed to parse block device name for 'dev/sda1'
ERROR: Unable to create/detect root device '/dev/sda1'
Dropping to a recovery shell... type 'exit' to reboot
NOTE: klibc contains no 'ls' binary, use 'echo *' instead

When I try to install Ubuntu 8.10, Debian (Stable, Testing) or Sidux, they couldn't find my Harddisk. 

hwd -s (with 2.6.25):
Testing: kernel (2.6.25-ARCH) supports uevents                               
HARDWARE DETECT ver 5.4.2 (simple mode)
  Kernel     : 2.6.25-ARCH             
  CPU & Cache: Processor 0: Intel(R) Pentium(R) 4 CPU 3.06GHz 3066MHz, 1024 KB Cache
Processor 1: Intel(R) Pentium(R) 4 CPU 3.06GHz 3066MHz, 1024 KB Cache               

  Sound(m)   : AC'97 Sound Controller module: snd_intel8x0 
  Video      : RV515 [Radeon X1300] server: Xorg (vesa)    
  Driver     : xf86-video-vesa   module: -                 
  Monitor    : Generic Monitor  H: 28.0-96.0kHz V: 50.0-75.0Hz
  Mouse      : Microsoft Corp. Basic Optical Mouse  xtype: IMPS2 device: /dev/input/mice
  HDD        : 182 SATA/RAID Controller module: sata_sis                                
  USB        : USB 2.0 Controller module: ehci_hcd                                      
  USB Reader : Genesys Logic, Inc. USB 2.0 33-in-1                                      

  Ethernet   : 191 Gigabit Ethernet Adapter module: sis190 
  Network    : No wireless card                            
  Firewire   : VT6306 Fire II IEEE 1394 OHCI Link Layer Controller  module: ohci1394 

  Menu       : Main menu: hwd
  All        : Detect all hardwares: hwd -e
  X sample   : Generate X sample: hwd -x
Comment 1 Maggie34 2009-02-24 15:30:30 UTC
Created attachment 20355 [details]
dmesg

dmesg (2.6.25)
Comment 2 Tejun Heo 2009-02-25 00:20:26 UTC
Hello, can you please post the kernel boot log which shows the failure?  Most installation media has an emergency shell of some sort and you can mount a usb stick or set up network and upload the log file from there even if disk is not accessible.
Comment 3 Maggie34 2009-02-25 01:58:13 UTC
Created attachment 20361 [details]
kern.log

kern.log from Sidux Ouranos.
Comment 4 Maggie34 2009-02-25 02:12:33 UTC
Created attachment 20362 [details]
kern.log

kern.log from Ubuntu 8.10
Comment 5 Tejun Heo 2009-02-25 17:18:20 UTC
In the Sidux one, can you specify module parameter "libata.force=3:nohrst"?  Distros have different mechanism to pass in module parameters from boot prompt to modules which are loaded from initrd and unfortunately I don't have any experience with sidux, so you'll need to dig its documentation.

Thanks.
Comment 6 Maggie34 2009-02-26 11:20:18 UTC
Hi
I've tried with Debian, Ubuntu, Sidux and Arch. I don't now if I've done it right, but when I try to boot whit kernel option: libata.force=3:nohrst, I have the following information:
Unknown boot option `libata.force=3:nohrst': ignoring.
For example Arch Linux:

Feb 26 20:00:23 arch Kernel command line: root=/dev/disk/by-uuid/f53df57c-df2d-4926-9f42-6591bc014f60 ro libata.force=3:nohrst
Feb 26 20:00:23 arch Unknown boot option `libata.force=3:nohrst': ignoring

And this I've tried with Ubuntu 8.10:

Feb 26 19:29:25 ubuntu kernel: [    0.000000] Kernel command line: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz quiet splash --  libata.force=3:nohrst debian-installer/language=de console-setup/layoutcode?=de
Feb 26 19:29:25 ubuntu kernel: [    0.000000] Unknown boot option `libata.force=3:nohrst': ignoring

And Sidux:

Feb 26 18:28:54 sidux kernel: Kernel command line: lang=de_DE boot=fll quiet vga=791 libata.force=3:nohrst
Feb 26 18:28:54 sidux kernel: Unknown boot option `libata.force=3:nohrst': ignoring

Have I gone wrong?
Comment 7 Tejun Heo 2009-02-26 18:02:20 UTC
Hmmm.... yeah, the kernel itself doesn't know about the parameter, so it will whine about it but the initrd being loaded afterwards can fetch the parameter and pass it to respective modules.  Some distros have such mechanism while some don't.  I'm familiar only with the booting process of openSUSE and it will pass over the parameter correctly.  If you don't know about the sidux one, can you please try openSUSE 11.1?
Comment 8 Maggie34 2009-02-26 22:09:03 UTC
Yes, I tried openSUSE 11.1 and it works perfectly. But only openSUSE... And I like to have Archlinux or Debian.
gparted-live-0.4.1-2 also has the problem with my disc.
Comment 9 Tejun Heo 2009-02-26 22:32:05 UTC
Maggie, does SL111 work w/o the parameter?  Or do you need to specify the parameter?
Comment 10 Tejun Heo 2009-02-26 22:32:18 UTC
Also, please post /var/log/boot.msg.
Comment 11 Maggie34 2009-02-26 23:08:03 UTC
openSUSE works with this parameter -> libata.force=3:nohrst. Now I'll try install oS 11.1 on my HDD.
Comment 12 Tejun Heo 2009-02-26 23:13:41 UTC
So, you need to specify the parameter.  If you're gonna install sl111, I can prep a debug kernel for you to try.  Please lemme know when you have the system running.  Also, please post /var/log/boot.msg.  Thanks.
Comment 13 Maggie34 2009-02-27 02:46:29 UTC
Created attachment 20379 [details]
boot.msg

It's boot.msg from openSUSE 11.1
Comment 14 Maggie34 2009-02-27 03:23:06 UTC
The kernel from OpenSUSE (with libata.force=3:nohrst parameter) works good, but system boots very slowly :(
Comment 15 Tejun Heo 2009-02-27 04:41:56 UTC
What do you mean by 'boots slowly'?  Can you please boot with kernel parameter "printk.printk_time=1" and post /var/log/boot.msg?  Or are you saying that nothing seems wrong but it's just slow?
Comment 16 Maggie34 2009-03-01 20:54:38 UTC
Created attachment 20400 [details]
boot.msg

openSUSE 11.1 with 2.6.27.19-3.2-debug kernel. (using libata.force=3:nohrst and printk.printk_time=1 as boot parameters)
Comment 17 Maggie34 2009-03-01 21:04:26 UTC
I don't now openSUSE, but I thinkt it works not wrong, but slower than other distributions which I know. Since 3 years I work every time (at home and in job) with Debian and last with Archlinux. 
Comment 18 Tejun Heo 2009-03-01 22:53:30 UTC
Ah... okay.  I was worried whether you were reporting kernel problem.  The slowness is probably due to ext3 barrier=1 + beagle.  Anyways, I'll prepare a debug kernel for you.  Please wait a bit.  Thanks.
Comment 19 Maggie34 2009-03-02 00:13:54 UTC
Thank you :)
Comment 20 Tejun Heo 2009-03-02 00:59:29 UTC
Can you please try the following kernel?

  http://htj.dyndns.org/export/testing/sl111-i586-kernel12775_dbg0/

You'll need to download kernel-default-base, kernel-default and kernel-default-extra packages and update w/ force parameter (rpm -Uvh --force ALL_THREE_RPMS).

Thanks.
Comment 21 Maggie34 2009-03-02 04:37:37 UTC
I've installed your kernel and it works very good, but it boots faster with libata.force=3:nohrst parameter (beagle is off).
Comment 22 Tejun Heo 2009-03-02 15:11:06 UTC
What do you mean by boot faster?  Can you please post logs with printk.printk_time=1 in both cases?  Please note that you had a typo before.  You typed printk.prinkt_time=1.
Comment 23 Maggie34 2009-03-04 01:40:13 UTC
Created attachment 20422 [details]
boot.msg
Comment 24 Tejun Heo 2009-03-04 01:49:04 UTC
Oops, you need to turn on CONFIG_PRINTK_TIME under "Kernel Hacking".  Also, can you please describe the slowness a bit?

Thanks.

Note You need to log in before you can comment on or make changes to this bug.