View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Jun 03, 2007 4:35 pm 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
I bought a 500 GB Maxtor SATA II 300Gb/s hard drive to upgrade my R5E50
nforce2 knoppmyth master backend. Things were working perfectly with ata drives but since there is no onboard SATA so I had to add a PCI card.

The card is PCI-x and backward compatible with PCI. I've used the same card at work using libata and sata_sil24 module using

CONFIG_SCSI_SATA=m
CONFIG_SCSI_SATA_SIL24=m

I'm not sure if cecil has these things turned on in R5F50, but the card and disk are recognized properly as /dev/sda. It freezes with error messages when formating /dev/sda1 with ext3 filesystem.


Here is my error message

Code:
Jun  2 12:01:22 mythtvmaster kernel: ata4.00: exception Emask 0x0 SAct 0xff SErr
 0x0 action 0x2 frozen
Jun  2 12:01:24 mythtvmaster kernel: ata4.00: tag 0 cmd 0x61 Emask 0x4 stat 0x40
 err 0x0 (timeout)
Jun  2 12:01:24 mythtvmaster kernel: ata4.00: tag 1 cmd 0x61 Emask 0x4 stat 0x40
 err 0x0 (timeout)
Jun  2 12:01:24 mythtvmaster kernel: ata4.00: tag 2 cmd 0x61 Emask 0x4 stat 0x40
 err 0x0 (timeout)
Jun  2 12:01:24 mythtvmaster kernel: ata4.00: tag 3 cmd 0x61 Emask 0x4 stat 0x40
 err 0x0 (timeout)
Jun  2 12:01:24 mythtvmaster kernel: ata4.00: tag 4 cmd 0x61 Emask 0x4 stat 0x40
 err 0x0 (timeout)
Jun  2 12:01:24 mythtvmaster kernel: ata4.00: tag 5 cmd 0x61 Emask 0x4 stat 0x40
 err 0x0 (timeout)
Jun  2 12:01:24 mythtvmaster kernel: ata4.00: tag 6 cmd 0x61 Emask 0x4 stat 0x40
 err 0x0 (timeout)
Jun  2 12:01:24 mythtvmaster kernel: ata4.00: tag 7 cmd 0x61 Emask 0x4 stat 0x40
 err 0x0 (timeout)
Jun  2 12:01:24 mythtvmaster kernel: ata4: soft resetting port
Jun  2 12:01:53 mythtvmaster kernel: ata4: softreset failed (timeout)
Jun  2 12:02:00 mythtvmaster kernel: ata4: softreset failed, retrying in 5 secs
Jun  2 12:02:00 mythtvmaster kernel: ata4: hard resetting port
Jun  2 12:02:00 mythtvmaster kernel: ata4: SATA link up 3.0 Gbps (SStatus 123 SC
ontrol 300)
Jun  2 12:02:00 mythtvmaster kernel: ata4.00: configured for UDMA/100
Jun  2 12:02:00 mythtvmaster kernel: ata4: EH complete
Jun  2 12:02:00 mythtvmaster kernel: SCSI device sda: 976773168 512-byte hdwr se
ctors (500108 MB)
Jun  2 12:02:00 mythtvmaster kernel: sda: Write Protect is off
Jun  2 12:02:00 mythtvmaster kernel: sda: Mode Sense: 00 3a 00 00
Jun  2 12:02:00 mythtvmaster kernel: SCSI device sda: drive cache: write back


root@mythtvmaster:~# hdparm /dev/sda

/dev/sda:
 IO_support   =  0 (default 16-bit)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 0/255/63, sectors = 976773168, start = 0


Smartmontools say the drive is healthy. I can manually copy the partitions and things from ata but the error messages really slow the copying down a lot and i have to repeated after hangs.

But then I can't get lilo to install in the mbr correctly although it says it does. It says it can't find a boot drive when I remove the ata drives.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 07, 2007 7:09 am 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
update:
I was able to copy my old hda1 and hda3 to sda1 and sda3 of my sata drive.

I then do chroot to /mnt/sda1
edit lilo.conf to point to sda and sda1 instead of hda and hda1
edit fstab to reference sda1 and sda3

then execute
lilo -v

Code:
 lilo -v
LILO version 22.7.3, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 11-Aug-2006, and compiled at 06:46:38 on Jan 20 2007
Debian GNU/Linux

Reading boot sector from /dev/sda
Warning: /dev/sda is not on the first disk
Using MENU secondary loader
Calling map_insert_data

Boot image: /boot/vmlinuz-2.6.18-chw-13
Mapping RAM disk /boot/initrd.gz
Added Linux *

Skipping /vmlinuz.old
Boot image: /boot/bzImage.2.4.20.poweroff
Added Poweroff

Writing boot sector.
/boot/boot.0800 exists - no boot sector backup copy made.
One warning was issued.


When I reboot without hda (my PATA drive), it says can't find boot device even though my SATA card bios just reported it present.

I guess it doesn't see the mbr of my SATA drive or lilo didn't get installed to it.

So I'm still stuck. I seem to only be able to use this drive for the myth partition.


In case anyone ever reads this here is some information that I get when booting from hda1 R5E50 while using my sda3 as my myth partition.

Code:
Jun  6 23:46:17 mythtvmaster kernel: Loading iSCSI transport class v1.1-646.<7>libata version 2.00 l                         oaded.
Jun  6 23:46:17 mythtvmaster kernel: sata_sil24 0000:01:08.0: version 0.3
Jun  6 23:46:17 mythtvmaster kernel: ata1: SATA max UDMA/100 cmd 0xE1090000 ctl 0x0 bmdma 0x0 irq 17
Jun  6 23:46:17 mythtvmaster kernel: ata2: SATA max UDMA/100 cmd 0xE1092000 ctl 0x0 bmdma 0x0 irq 17
Jun  6 23:46:17 mythtvmaster kernel: ata3: SATA max UDMA/100 cmd 0xE1094000 ctl 0x0 bmdma 0x0 irq 17
Jun  6 23:46:17 mythtvmaster kernel: ata4: SATA max UDMA/100 cmd 0xE1096000 ctl 0x0 bmdma 0x0 irq 17
Jun  6 23:46:17 mythtvmaster kernel: scsi0 : sata_sil24
Jun  6 23:46:17 mythtvmaster kernel: ata1: SATA link down (SStatus 0 SControl 300)
Jun  6 23:46:17 mythtvmaster kernel: scsi1 : sata_sil24
Jun  6 23:46:17 mythtvmaster kernel: ata2: SATA link down (SStatus 0 SControl 300)
Jun  6 23:46:17 mythtvmaster kernel: scsi2 : sata_sil24
Jun  6 23:46:17 mythtvmaster kernel: ata3: SATA link down (SStatus 0 SControl 300)
Jun  6 23:46:17 mythtvmaster kernel: scsi3 : sata_sil24
Jun  6 23:46:17 mythtvmaster kernel: ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Jun  6 23:46:17 mythtvmaster kernel: ata4.00: ATA-7, max UDMA/133, 976773168 sectors: LBA48 NCQ (dep                         th 31/32)
Jun  6 23:46:17 mythtvmaster kernel: ata4.00: ata4: dev 0 multi count 16
Jun  6 23:46:17 mythtvmaster kernel: ata4.00: configured for UDMA/100
Jun  6 23:46:17 mythtvmaster kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jun  6 23:46:17 mythtvmaster kernel: EXT3-fs: mounted filesystem with ordered data mode.


My guess was that either knoppix the R5F1 install cd has a bug in the kernel or is missing an important kernel module.

But I think it is probably a bug that I have seen mentioned at various places in this kernel that causes errors when the ata drive, the ata cd, and the sata drives are all working at the same time. I haven't had problems at all using the sata drive as my /myth partition and hda1 as my boot drive and root. However, I have unplugged the IDE2 with my cd drive and other hard drive so maybe these errors aren't noticable

If I could get lilo to install on my sata drive i would be happy.

Anyway since the cd is required to install the messages above and the system freeze that it causes would prevent a tier 1 install for this hardware.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 07, 2007 7:37 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
randomhtpcguy wrote:
...I guess it doesn't see the mbr of my SATA drive or lilo didn't get installed to it....
You can have lilo write the MBR for you with the -M option:
Code:
lilo -M /dev/sda

See man lilo for more options...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 07, 2007 7:46 pm 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
Code:
root@mythtvmaster:~# chroot /mnt/sda1
root@mythtvmaster:/# mount -t proc proc /proc
root@mythtvmaster:/# lilo -M /dev/sda
/boot/boot.0800 exists - no /dev/sda backup copy made.
The Master Boot Record of  /dev/sda  has been updated.
root@mythtvmaster:/# lilo -v
LILO version 22.7.3, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 11-Aug-2006, and compiled at 06:46:38 on Jan 20 2007
Debian GNU/Linux

Reading boot sector from /dev/sda
Warning: /dev/sda is not on the first disk
Using MENU secondary loader
Calling map_insert_data

Boot image: /boot/vmlinuz-2.6.18-chw-13
Mapping RAM disk /boot/initrd.gz
Added Linux *

Skipping /vmlinuz.old
Boot image: /boot/bzImage.2.4.20.poweroff
Added Poweroff

Writing boot sector.
/boot/boot.0800 exists - no boot sector backup copy made.
One warning was issued.


lets see if that helped[/quote]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 08, 2007 11:59 am 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
For some reason, I had to change the settings in the bios of the pci card.

I had to choose set up RAID and add drive to concatenation.

Fortunately, adding a single drive to a concatenation doesn't erase any data on the drive. It now allows the system to see the mbr though and boot from my new sata drive.

However, I still have issues when trying to install from the ata ide1 cd to the PCI sil24 pci card sata drive.

I will trouble shoot more. However, simply copying the partitions from my old drive to the new one appeared to work.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 17, 2007 2:14 pm 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
Update:

I think the issue has been fixed in the latest testing kernel
2.6.21-2

But I don't know how to update the kernel without breaking knoppmyth


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu