All of lore.kernel.org
 help / color / mirror / Atom feed
* /dev/hda problem with samsung hd
@ 2003-05-22 12:08 pacho baratta
  2003-05-22 12:10 ` Jens Axboe
  2003-05-22 14:11 ` Bartlomiej Zolnierkiewicz
  0 siblings, 2 replies; 4+ messages in thread
From: pacho baratta @ 2003-05-22 12:08 UTC (permalink / raw)
  To: linux-ide

i'm working with a disk (samsung sv1022d) that my system cannot see. i
have a live cd with kernel 2.4.20 and glibc-2.2.5.

now when i boot i find in dmesg:

hda samsung sv1022d my100 ata disk drive
hda: task_no_data_intr 0x51 {DriveRady SeekComplete Error}
hda: task_no_data_intr 0x04 {DriveStatusError}
hda: 1 sectors (0 mb) w/480KiB Cache CHS=1240/255/63

....

hda : hda : bad access : block 0 count 2
end request I/O error dev 03:030 (hda) sector 0


so i tried parted, this is the response:
/dev/hda disk label not recognized
the operating system think the geometry on dev/hda is 0/255/63

and doesn't give me acess to the disk.

same for fdisk:
it simply prints: impossible to read /dev/hda.

hdparm -iv /dev/hda says:
multcount	0 off
i/o_support		0	
unmaskirq	0
dma_supprt		1
keepsettings		0
readahead		8
readonly		0
geometry		1240/255/63 sectors 1 start 0

disk samsung v1022d my100
drive conform to ata-atapi-4


so i inserted my redhat sysadmin cd.
by that (it a kernel 2.4.14) i have access to the disk, fix the label by
parted, rebuild the partitions but when i reboot with lfs i see
everything as before. 
simply lfs system has not access to the disk

well i tried to change setting in bios and put CHS=1240/255/63 with same
results.

ideas?

pacho
-- 
pacho baratta			IT Consultant
tel. +39 347 078.51.31		www.evolinux.it
mail: pachox@evolinux.it


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /dev/hda problem with samsung hd
  2003-05-22 12:08 /dev/hda problem with samsung hd pacho baratta
@ 2003-05-22 12:10 ` Jens Axboe
  2003-05-23  0:47   ` Bartlomiej Zolnierkiewicz
  2003-05-22 14:11 ` Bartlomiej Zolnierkiewicz
  1 sibling, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2003-05-22 12:10 UTC (permalink / raw)
  To: pacho baratta; +Cc: linux-ide

On Thu, May 22 2003, pacho baratta wrote:
> i'm working with a disk (samsung sv1022d) that my system cannot see. i
> have a live cd with kernel 2.4.20 and glibc-2.2.5.
> 
> now when i boot i find in dmesg:
> 
> hda samsung sv1022d my100 ata disk drive
> hda: task_no_data_intr 0x51 {DriveRady SeekComplete Error}
> hda: task_no_data_intr 0x04 {DriveStatusError}
> hda: 1 sectors (0 mb) w/480KiB Cache CHS=1240/255/63

I fixed this some time ago, the patch is in 2.4.21-rc kernels. So please
try 2.4.21-rc2 and see if it works.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /dev/hda problem with samsung hd
  2003-05-22 12:08 /dev/hda problem with samsung hd pacho baratta
  2003-05-22 12:10 ` Jens Axboe
@ 2003-05-22 14:11 ` Bartlomiej Zolnierkiewicz
  1 sibling, 0 replies; 4+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2003-05-22 14:11 UTC (permalink / raw)
  To: pacho baratta; +Cc: linux-ide


Can you try kernel >= 2.4.21-pre7 (latest is 2.4.21-rc2) ?
It contains fix for some Samsung drives which don't abort unknown
commands.

Regards,
--
Bartlomiej

On 22 May 2003, pacho baratta wrote:

> i'm working with a disk (samsung sv1022d) that my system cannot see. i
> have a live cd with kernel 2.4.20 and glibc-2.2.5.
>
> now when i boot i find in dmesg:
>
> hda samsung sv1022d my100 ata disk drive
> hda: task_no_data_intr 0x51 {DriveRady SeekComplete Error}
> hda: task_no_data_intr 0x04 {DriveStatusError}
> hda: 1 sectors (0 mb) w/480KiB Cache CHS=1240/255/63
>
> ....
>
> hda : hda : bad access : block 0 count 2
> end request I/O error dev 03:030 (hda) sector 0
>
>
> so i tried parted, this is the response:
> /dev/hda disk label not recognized
> the operating system think the geometry on dev/hda is 0/255/63
>
> and doesn't give me acess to the disk.
>
> same for fdisk:
> it simply prints: impossible to read /dev/hda.
>
> hdparm -iv /dev/hda says:
> multcount	0 off
> i/o_support		0
> unmaskirq	0
> dma_supprt		1
> keepsettings		0
> readahead		8
> readonly		0
> geometry		1240/255/63 sectors 1 start 0
>
> disk samsung v1022d my100
> drive conform to ata-atapi-4
>
>
> so i inserted my redhat sysadmin cd.
> by that (it a kernel 2.4.14) i have access to the disk, fix the label by
> parted, rebuild the partitions but when i reboot with lfs i see
> everything as before.
> simply lfs system has not access to the disk
>
> well i tried to change setting in bios and put CHS=1240/255/63 with same
> results.
>
> ideas?
>
> pacho
> --
> pacho baratta			IT Consultant
> tel. +39 347 078.51.31		www.evolinux.it
> mail: pachox@evolinux.it


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /dev/hda problem with samsung hd
  2003-05-22 12:10 ` Jens Axboe
@ 2003-05-23  0:47   ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 4+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2003-05-23  0:47 UTC (permalink / raw)
  To: Jens Axboe; +Cc: pacho baratta, linux-ide


Hi Jens,
already solved, it was exactly this issue.
--
Bartlomiej

On Thu, 22 May 2003, Jens Axboe wrote:

> On Thu, May 22 2003, pacho baratta wrote:
> > i'm working with a disk (samsung sv1022d) that my system cannot see. i
> > have a live cd with kernel 2.4.20 and glibc-2.2.5.
> >
> > now when i boot i find in dmesg:
> >
> > hda samsung sv1022d my100 ata disk drive
> > hda: task_no_data_intr 0x51 {DriveRady SeekComplete Error}
> > hda: task_no_data_intr 0x04 {DriveStatusError}
> > hda: 1 sectors (0 mb) w/480KiB Cache CHS=1240/255/63
>
> I fixed this some time ago, the patch is in 2.4.21-rc kernels. So please
> try 2.4.21-rc2 and see if it works.
>
> --
> Jens Axboe


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-23  0:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-22 12:08 /dev/hda problem with samsung hd pacho baratta
2003-05-22 12:10 ` Jens Axboe
2003-05-23  0:47   ` Bartlomiej Zolnierkiewicz
2003-05-22 14:11 ` Bartlomiej Zolnierkiewicz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.