2.6.14 + SATAII150 TX2Plus does not recognize
Hi,
i am currently using linux kernel version 2.6.14 on x86 with Promise SATAII150 TX2Plus(250G SATA HDD Disk x 2).
But, SATA HDD disk does not become. program execute result of "fdisk /dev/sda" is "Unable to read /dev/sda".
Work well in linux kernel version 2.6.13.2.
Do not act below since change as result that do debugging.
"[SCSI] use scatter lists for all block pc requests and
simplify hw handlers"
- http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=392160335c798bbe94ab3aae6ea0c85d32b81bbc
What should I do?
Test Enviroment
--------------
Kernel version: 2.6.14
SATA Controller: Promise SATAII150 TX2Plus
SATA HDD: Western Digital 250G x 2
SATA Driver: http://www.promise.com/support/download/download2_eng.asp?productID=126&category=all&os=100#
Log
----------------
Nov 24 18:08:27 sentry24 kernel: ulsata2:[info] Drive 1/0: WDC
WD2500JS-22MHB0 488397167s 250059MB UDMA6
Nov 24 18:08:27 sentry24 kernel: ulsata2:[info] Drive 3/0: WDC
WD2500JS-22MHB0 488397167s 250059MB UDMA6
Nov 24 18:08:27 sentry24 kernel: scsi0 : ulsata2
Nov 24 18:08:27 sentry24 kernel: Vendor: Model:
Rev:
Nov 24 18:08:27 sentry24 kernel: Type: Direct-Access
ANSI SCSI revision: 00
Nov 24 18:08:27 sentry24 kernel: sda : sector size 0 reported, assuming 512.
Nov 24 18:08:27 sentry24 kernel: SCSI device sda: 1 512-byte hdwr sectors (0 MB)
Nov 24 18:08:27 sentry24 kernel: sda: asking for cache data failed
Nov 24 18:08:27 sentry24 kernel: sda: assuming drive cache: write through
Nov 24 18:08:27 sentry24 kernel: sda : sector size 0 reported, assuming 512.
Nov 24 18:08:27 sentry24 kernel: SCSI device sda: 1 512-byte hdwr sectors (0 MB)
Nov 24 18:08:27 sentry24 kernel: sda: asking for cache data failed
Nov 24 18:08:27 sentry24 kernel: sda: assuming drive cache: write through
Nov 24 18:08:27 sentry24 kernel: sda: sda1
Nov 24 18:08:27 sentry24 kernel: sd 0:0:0:0: Attached scsi disk sda
Nov 24 18:08:27 sentry24 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Nov 24 18:08:27 sentry24 kernel: Vendor: Model:
Rev:
Nov 24 18:08:27 sentry24 kernel: Type: Direct-Access
ANSI SCSI revision: 00
Nov 24 18:08:27 sentry24 kernel: sdb : sector size 0 reported, assuming 512.
Nov 24 18:08:27 sentry24 kernel: SCSI device sdb: 1 512-byte hdwr sectors (0 MB)
Nov 24 18:08:27 sentry24 kernel: sdb: asking for cache data failed
Nov 24 18:08:27 sentry24 kernel: sdb: assuming drive cache: write through
Nov 24 18:08:27 sentry24 kernel: sdb : sector size 0 reported, assuming 512.
Nov 24 18:08:27 sentry24 kernel: SCSI device sdb: 1 512-byte hdwr sectors (0 MB)
Nov 24 18:08:27 sentry24 kernel: sdb: asking for cache data failed
Nov 24 18:08:27 sentry24 kernel: sdb: assuming drive cache: write through
Nov 24 18:08:27 sentry24 kernel: sdb: sdb1
Nov 24 18:08:27 sentry24 kernel: sd 0:0:2:0: Attached scsi disk sdb
Nov 24 18:08:27 sentry24 kernel: sd 0:0:2:0: Attached scsi generic sg1 type 0[root@test root]# lsmod
Module Size Used by snd_pcm_oss 48288 0 snd_pcm 80520 1 snd_pcm_oss snd_timer 21508 1 snd_pcm snd_page_alloc 8456 1 snd_pcm snd_mixer_oss 17024 1 snd_pcm_oss lp 9412 0 parport 31816 1 lp snd 47076 4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss soundcore 7776 1 snd sr_mod 15268 0 sg 34208 0 i810 20480 0 i830 24832 0 odcap 21488 2 button 5008 0 sbp2 21252 0 ohci1394 31540 0 ieee1394 87224 2 sbp2,ohci1394 pl2303 18948 0 usbserial 27368 1 pl2303 usb_storage 53696 0 uhci_hcd 30096 0 ide_scsi 14468 0 raid1 17920 0 md_mod 59088 1 raid1 ehci_hcd 29960 0 usbcore 106880 6 pl2303,usbserial,usb_storage,uhci_hcd,ehci_hcd e1000 99892 0 sd_mod 15888 0 ulsata2 132060 0 scsi_mod 122984 7
sr_mod,sg,sbp2,usb_storage,ide_scsi,sd_mod,ulsata2
[root@sentry24 root]# sfdisk -l
Disk /dev/hda: 1007 cylinders, 16 heads, 63 sectors/track Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System /dev/hda1 * 0+ 1006 1007- 507496+ 83 Linux /dev/hda2 0 - 0 0 0 Empty /dev/hda3 0 - 0 0 0 Empty /dev/hda4 0 - 0 0 0 Empty
Disk /dev/sda: 0 cylinders, 64 heads, 32 sectors/track
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 0/64/32).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System /dev/sda1 0+ 30400 30401- 244196001 83 Linux /dev/sda2 0 - 0 0 0 Empty /dev/sda3 0 - 0 0 0 Empty /dev/sda4 0 - 0 0 0 Empty
Disk /dev/sdb: 0 cylinders, 64 heads, 32 sectors/track
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 0/64/32).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System /dev/sdb1 0+ 30400 30401- 244196001 83 Linux /dev/sdb2 0 - 0 0 0 Empty /dev/sdb3 0 - 0 0 0 Empty /dev/sdb4 0 - 0 0 0 Empty
[root@sentry24 root]#
[root@sentry24 root]# sg_map -i -x
/dev/sg0 0 0 0 0 0 /dev/sda WDC WD2500JS-00M /dev/sg1 0 0 2 0 0 /dev/sdb WDC WD2500JS-00M
[root@sentry24 root]#
[root@sentry24 root]# fdisk -l /dev/sda
[root@sentry24 root]# fdisk /dev/sda
Unable to read /dev/sda
[root@sentry24 root]#
[root@sentry24 root]# !parted
parted --script /dev/sda mklabel msdos
Error: Can't have a partition outside the disk!
Error: Operation not permitted during read on /dev/sda
Error: Operation not permitted during write on /dev/sda
Quoted 8 lines · Yanggun
Hi,
i am currently using linux kernel version 2.6.14 on x86 with Promise SATAII150 TX2Plus(250G SATA HDD Disk x 2).
But, SATA HDD disk does not become. program execute result of "fdisk
/dev/sda" is "Unable to read/dev/sda".
Quoted 9 lines
Work well in linux kernel version 2.6.13.2.
Do not act below since change as result that do debugging.
"[SCSI] use scatter lists for all block pc requests and
simplify hw handlers"
- http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=392160335c798bbe94ab3aae6ea0c85d32b81bbcWhat should I do?
Your controller is probably supported by sata_promise driver included in the kernel. Just use the standard driver.
Signature · 1 line
tejun
thanks.
but sata_promise driver not seem to support hot-swap. As following message is said, it becomes block. Even if use irqpoll option, result is same.
I want to use hot-swap.
Nov 18 03:19:36 kernel: irq 11: nobody cared (try booting with the "irqpoll" option) Nov 18 03:19:36 kernel: [__report_bad_irq+42/141] __report_bad_irq+0x2a/0x8d Nov 18 03:19:36 kernel: [note_interrupt+158/247] note_interrupt+0x9e/0xf7 Nov 18 03:19:36 kernel: [__do_IRQ+261/292] __do_IRQ+0x105/0x124 Nov 18 03:19:36 kernel: [do_IRQ+82/124] do_IRQ+0x52/0x7c Nov 18 03:19:36 kernel: ======================= Nov 18 03:19:36 kernel: [common_interrupt+26/32] common_interrupt+0x1a/0x20 Nov 18 03:19:36 kernel: [__do_softirq+58/156] __do_softirq+0x3a/0x9c Nov 18 03:19:36 kernel: [do_softirq+112/116] do_softirq+0x70/0x74 Nov 18 03:19:36 kernel: ======================= Nov 18 03:19:36 kernel: [irq_exit+56/58] irq_exit+0x38/0x3a Nov 18 03:19:36 kernel: [do_IRQ+89/124] do_IRQ+0x59/0x7c Nov 18 03:19:36 kernel: [common_interrupt+26/32] common_interrupt+0x1a/0x20 Nov 18 03:19:36 gconfd (root-2818): Received signal 1, shutting down cleanly Nov 18 03:19:55 kernel: [unix_poll+96/180] unix_poll+0x60/0xb4 Nov 18 03:19:55 gconfd (root-2818): Exiting Nov 18 03:19:55 kernel: [get_offset_tsc+14/23] get_offset_tsc+0xe/0x17 Nov 18 03:19:55 kernel: [do_gettimeofday+24/176] do_gettimeofday+0x18/0xb0 Nov 18 03:19:55 kernel: [sys_gettimeofday+39/127] sys_gettimeofday+0x27/0x7f Nov 18 03:19:55 kernel: [syscall_call+7/11] syscall_call+0x7/0xb Nov 18 03:19:55 kernel: handlers:
2005/12/2, Tejun Heo <[email protected]>:
Quoted 25 lines
Quoted 8 lines · Yanggun
Hi,
i am currently using linux kernel version 2.6.14 on x86 with Promise SATAII150 TX2Plus(250G SATA HDD Disk x 2).
But, SATA HDD disk does not become. program execute result of "fdisk
/dev/sda" is "Unable to read/dev/sda".Quoted 9 lines
Work well in linux kernel version 2.6.13.2.
Do not act below since change as result that do debugging.
"[SCSI] use scatter lists for all block pc requests and
simplify hw handlers"
- http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=392160335c798bbe94ab3aae6ea0c85d32b81bbcWhat should I do?
Your controller is probably supported by
sata_promisedriver included in the kernel. Just use the standard driver.--
tejun
Quoted 8 lines · Yanggun
thanks.
but
sata_promisedriver not seem to support hot-swap. As following message is said, it becomes block. Even if use irqpoll option, result is same.I want to use hot-swap.
Yeap, the standard doesn't support hot-swap yet. I think either you gotta stay with 2.6.13 for the time being or wait for promise to update their driver.
Signature · 1 line
tejun
Thanks for your help :)
2005/12/2, Tejun Heo <[email protected]>:
Quoted 17 lines
Quoted 8 lines · Yanggun
thanks.
but
sata_promisedriver not seem to support hot-swap. As following message is said, it becomes block. Even if use irqpoll option, result is same.I want to use hot-swap.
Yeap, the standard doesn't support hot-swap yet. I think either you gotta stay with 2.6.13 for the time being or wait for promise to update their driver.
--
tejun