Re: hard drive in mandrake linux 9.2 .....
From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 03/07/04
- Next message: Mitty: "Re: hard drive in mandrake linux 9.2 ....."
- Previous message: Mitty: "Re: hard drive in mandrake linux 9.2 ....."
- In reply to: Mitty: "Re: hard drive in mandrake linux 9.2 ....."
- Next in thread: Mitty: "Re: hard drive in mandrake linux 9.2 ....."
- Reply: Mitty: "Re: hard drive in mandrake linux 9.2 ....."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 7 Mar 2004 17:26:48 GMT
On Sun, 07 Mar 2004 12:09:35 +0000, Mitty staggered into the Black Sun
and said:
> Dances With Crows wrote:
>> On 6 Mar 2004 17:15:48 -0800, Mitty Puterio staggered into the Black
>> Sun and said:
>>> I recently just bought a new hard drive for my mandrake linux 9.2
>>> machine. the problem is, the system won't mount the drive, or im
>>> not even sure it sees it.
>>> Vendor: Maxtor Bus: ide Channel: secondary
>>> New devfs device: /dev/ide/host0/bus1/target0/lun0/disc
>>> Old device file: /dev/hdc
>>>
>>> well when i try to mount /dev/hdc, it says file not found, because
>>> /dev/ide/host0/bus1/target0/lun0/disc doesn't exist... i know this
>>> is weird, and I really can't figure it out at all. please help,
>>
>> What's your IDE chipset? Do "lspci -vv | grep IDE" and post the output.
>> What do you get if you do "dmesg | grep -1 hdc"? Is the drive
>> jumpered correctly? If it's jumpered as slave and plugged into the
>> master end of the cable, weird things could happen. Is there
>> anything on the slave part of the channel? If you have an ATAPI
>> device (anything other than a hard disk) attached as slave, and
>> you're using ide-scsi emulation for that device, it might cause a
>> problem (it shouldn't, though.)
>>
> ok, here I am again using a real newsreader. The drive is jumpered as
> master and is attached to the secondary ide port, along with a cdrom
> drive jumpered slave.
OK, that's good.
> [root@mitt900 root]# lspci -vv | grep IDE
> 00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 01) (prog-if
> 80 [Master])
That's new enough that the secondary interfaces shouldn't be a problem.
> /dev/ide/host0/bus0/target1/lun0: p1 p2 < p5 p6 >
> hdc:<6>end_request: I/O error, cmd 0 dev 16:00 (hdc), sector 0
> end_request: I/O error, cmd 0 dev 16:00 (hdc), sector 1
> ldm_validate_partition_table(): Disk read failed.
This isn't good.
> [root@mitt900 root]# dmesg | grep -1 hdc
> blk: queue c0180e5c, I/O limit 4095Mb (mask 0xffffffff)
> hdc: Maxtor 5T040H4, ATA DISK drive
> hdd: CD-ROM 50X L, ATAPI CD/DVD-ROM drive
> im not exactly sure why it shows the cd rom drive along with that, but
> it might be because its on the same ide channel (slave).
No, it's because of the -1 option to grep. When you give grep a -1, it
returns not only the lines that matched, but 1 line before and 1 line
after the lines that matched.
> one problem that this could be is that before, my dvd-rom drive was
> /dev/hdc, and mandrake might still think its a dvd-rom drive.
Yeah. The I/O errors reported above make me think that the system is
trying to access the device on /dev/hdc as if it were an ATAPI device
using ide-scsi emulation. That won't work for a hard disk. Post the
output of "cat /proc/cmdline" and if it includes "hdc=ide-scsi", that's
the problem. Edit your /boot/grub/menu.lst or /etc/lilo.conf and change
the hdc=ide-scsi to hdd=ide-scsi . You may have to reboot to get the
disk working properly if this is the case, or you can try rmmodding
ide-scsi and modprobing it again and seeing what you get.
Also, the advice another poster gave you about partitioning the disk is
correct. Hard disks should have a partition table. It looks like there
is one on /dev/hdc from the dmesg results. If there is a partition
table, you shouldn't mount /dev/hdc but one or more of /dev/hdc1 ,
/dev/hdc5 , or /dev/hdc6 .
Because of the way IDE works, you might want to attach this disk as
slave on the primary IDE interface if you can. If you have a disk and a
CD-R* on one interface, it'll be difficult to use both the disk and the
CD-R* at the same time. If you don't plan to use your CD-R* much, this
setup should be OK. HTH,
-- Matt G|There is no Darkness in Eternity/But only Light too dim for us to see Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong http://www.brainbench.com / Hire me! -----------------------------/ http://crow202.dyndns.org/~mhgraham/resume
- Next message: Mitty: "Re: hard drive in mandrake linux 9.2 ....."
- Previous message: Mitty: "Re: hard drive in mandrake linux 9.2 ....."
- In reply to: Mitty: "Re: hard drive in mandrake linux 9.2 ....."
- Next in thread: Mitty: "Re: hard drive in mandrake linux 9.2 ....."
- Reply: Mitty: "Re: hard drive in mandrake linux 9.2 ....."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|