LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-17-2008, 11:25 AM   #1
vv40in
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Rep: Reputation: 0
cannot load image from hdd.


Hello! Help me please to load my linux!
Problem :
The log shows the 3th port on SATA is lived (ST940813AM). there is SATA to PATA converter on SiL3114.

Config: sparc32;linux2.6;root=/dev/hdc1.

There is log below (i added some strings to soures):

sil_init_once SIL(3114)
...
ata3 port frozen
DEV: registering device: ID = 'host2'
kobj_set_name : host2
kobject host2: registering. parent: 0000:00:12.0, set: devices
create_dir host2
CLASS: registering class device: ID = 'host2'
kobj_set_name : host2
kobject host2: registering. parent: scsi_host, set: class_obj
create_dir host2
fill_kobj_path: path = '/class/scsi_host/host2'
class_uevent - name = host2
fill_kobj_path: path = '/devices/pci0000:00/0000:00:12.0/host2'
port EH scheduled
ENTER
ENTER
flush #1
ENTER
ENTER
ata3 port frozen
ENTER
about to softreset, devmask=1
ata3: bus reset via SRST
found ATA device by sig
EXIT, classes[0]=1 [1]=0
ENTER ata_std_post_reset classes 1 5
<6>ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
EXIT
ata3 port thawed
ENTER
ata_exe_int_sg n 1
ata3: cmd 0xEC
ata_pio_task f033a28c
ata3: protocol 2 task_state 2 (dev_stat 0x58)
ata_pio_sect data read
ata_data_xfer(r) len 200
//ata_data_xfer done. buflen 200
ata3: protocol 2 task_state 3 (dev_stat 0x50)
ata3: dev 0 command complete, drv_stat 0x50
ENTER
flush #1
<7> to probe
exec tfs
dev_conf &nsect f0338454
dev_conf
dev_conf
ATA_DEV_ATA
<6><6>ata3.00: ATA-6: ST940813AM, 5.03, max UDMA/100
<6>ata3.00: 78140160 sectors, multi 0: LBA48
<6>ata3.00: applying bridge limits
set features - xfer mode
ata_exe_int_sg n 0
ata3: cmd 0xEF
ata3: protocol 1 task_state 3 (dev_stat 0x50)
ata3: dev 0 command complete, drv_stat 0x50
ENTER
flush #1
EXIT, err_mask=0
ata_exe_int_sg n 1
ata3: cmd 0xEC
ata3: protocol 2 task_state 2 (dev_stat 0x58)
ata_pio_sect data read
ata_data_xfer(r) len 200
ata3: protocol 2 task_state 3 (dev_stat 0x50)
ata3: dev 0 command complete, drv_stat 0x50
ENTER
flush #1
<7> to probe
exec tfs
dev_conf
dev_conf
ATA_DEV_ATA
<6><6>ata3.00: ATA-6: ST940813AM, 5.03, max UDMA/100
<6>ata3.00: 78140160 sectors, multi 0: LBA48
xfer_shift=12, xfer_mode=0x45
<6>ata3.00: configured for UDMA/100
EXIT, rc=0
EXIT
...
/sil_init_once SIL(3114) OK
...
bound device '0000:00:12.0' to driver 'sata_sil'
pci: Bound Device 0000:00:12.0 to Driver sata_sil
...
VFS: Cannot open root device "hdc1" or unknown-block(0,0)
Please append a correct "root=" boot option
====

Also, as i see - there are no any of:
/sys/block/hd* or /sys/block/sd*
files(directories). Why?
 
Old 10-17-2008, 12:13 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
Use the boot-time kernel parameter

all_generic_ide=1

and others


Also root=...??

SATA FAQ: http://linux-ata.org/driver-status.html
 
Old 10-17-2008, 01:10 PM   #3
vv40in
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Wink

Quote:
Originally Posted by amani View Post
Use the boot-time kernel parameter

all_generic_ide=1

and others


Also root=...??

SATA FAQ: http://linux-ata.org/driver-status.html
1)root=/dev/hdc1
2) and others ?
2)what is all_generic_ide=1? i tryed it (with CONFIG_ATA_GENERIC). nothing changed.
my controller is SATA(sil3114) with SATAtoPATA converter on 3rd port.

Last edited by vv40in; 10-17-2008 at 01:25 PM. Reason: add news
 
Old 10-19-2008, 07:37 AM   #4
vv40in
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Question

i must add that controller is on the PCI bus. Is it has a very importance?


also, i tried to configure as below:

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
CONFIG_ATACTRL=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_OFFBOARD=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_IDEDMA=y

#
# Serial ATA (prod) and Parallel ATA (experimental) drivers
#
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
CONFIG_SATA_SIL=y
CONFIG_ATA_GENERIC=y


and as i see in logs: add_disk() was never called !!!
 
Old 10-19-2008, 12:39 PM   #5
vv40in
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
i added
CONFIG_BLK_DEV_SD=y
and it started work ! (but dma not working yet )
 
  


Reply


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
clonezilla clone disk to image, when restore from image to destination hdd problem. hocheetiong Linux - Newbie 3 05-06-2008 08:59 PM
Creating a hdd image with DD AwW41 Linux - General 5 05-02-2007 11:52 AM
how to make mirror image of one hdd to 2 hdd raj_1 General 1 12-02-2004 07:19 PM
How to make mirror image of linux partion to one1 HDD TO 2 HDD raj_1 Linux - General 2 11-04-2004 02:45 AM
HDD image zchoyt Linux - General 3 09-29-2004 11:25 AM


All times are GMT -5. The time now is 10:50 AM.

Main Menu
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