lkml.org 
[lkml]   [2002]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.16+devfs+ide+scsi = Disaster! (data recovery tips requested)
Leif Sawyer writes:
> I now join the ranks of the "Damn, I should have double-checked my
> backups to make sure they were readable."
>
> Booted into Linux last night to format a new IDE drive for a laptop.
> My thought was to clone the existing (SCSI) windows partition for my
> wife's laptop. Then I could wipe the old partition after saving off
> my data and have one more dedicated linux box laying around.
>
> Everything looked okay when I fdisk'd the drive and the formatted
> it with mkfs.vfat
>
> That is, until I went to reboot.
>
> Apparantly, there's a weird bug/race/conflict between devfs, scsi, and ide.
>
> My CD/RW was on the IDE cable, which I had simply swapped out with the
> mini-HD.
>
> after the realization of what must have happend, i dug a little deeper.
> fortunately lilo hadn't been wiped, and I did have linux on a second (scsi)
> drive,
> so I double-checked what devices it thought everthing was.
>
> /dev/hda = block-device 8
> /dev/sda = block-device 8

This isn't supposed to happen, because the IDE and SCSI subsystems
hard-wire different major numbers when registering devices.

> umm... this is bad !!
>
> the scsi-ide module was loaded (because of the CD/RW) and it seems that
> the combination of a hard-drive + scsi-ide and devfs just layed over the
> top of the existing config.

Has anyone responded to you yet?

> My kernel is 2.4.16. I can provide more information later, if requested.

That's a pretty old kernel. Upgrade to 2.4.19-pre8 and see if the same
thing happens.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.146 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site