/dev/sd* shouldn't be described as SCSI any more

Bug #92014 reported by Ed Bunker
8
Affects Status Importance Assigned to Milestone
partman-base (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: debian-installer

I have two EIDE drives (non SATA) on my system:

Disk /dev/hda: 251.0 GB, 251000193024 bytes
Disk /dev/hdb: 81.9 GB, 81964302336 bytes.

Connected to this controller:

0000:00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)

Yesterday I've tried installing Feisty using the alternate cd 20070311 build, and here's what I've got during partitioning:

SCSI1 (0,0,0) sda - 251.0 GB ATA MAXTOR 6L250R0
wrong partitions names (/dev/sda1, /dev/sda2, and so on) follows;

SCSI1 (0,1,0) sdb - 82.0 GB ATA MAXTOR 6Y080P0
same as above: (/dev/sdb1, etc.)

This thing only happens with Feisty installer. Everything's just fine with both Dapper and Edgy ones (and Debian Etch's too).

Revision history for this message
Ed Bunker (calvin441h) wrote :

Same behaviour using the 20070316 build (alternate cd).

Revision history for this message
Matthew Gregg (mcg) wrote :

Don't know if this is related, but my EIDE drives suddenly changed from hda*, hdb*, to sda* with linux-image-2.6.20-11 and linux-image-2.6.20-12.

Revision history for this message
tokj (tokj-deactivatedaccount) wrote :

There is enough informations to confirm the bug.

Thank you for the bug report.

Regards

Changed in debian-installer:
status: Unconfirmed → Confirmed
Revision history for this message
funkadelic (funkadelic) wrote :

I have had this problem with nearly every feisty install I have done -- most recently the daily build from 3-19...

A few times this has not been the case, but I can't find a pattern.

This does not seem to cause any problems, but if I can help fix this, let me know.

Revision history for this message
Arnold J Noronha (arnold) wrote :

My IDE partitions changed from /dev/hda* to /dev/sda* too. I've just did an apt upgrade on my existing Feisty machine today.

       *-ide
             description: IDE interface
             product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller
             vendor: Intel Corporation
             physical id: 1f.1
             bus info: pci@00:1f.1
             logical name: scsi0
             logical name: scsi1
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: ide bus_master emulated scsi-host
             configuration: driver=ata_piix latency=0
             resources: ioport:1f0-1f7 ioport:3f4-3f3 ioport:170-177 ioport:374-373 ioport:2580-258f irq:21
           *-disk
                description: SCSI Disk
                product: HTS541060G9AT00
                vendor: ATA
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/sda
                version: MB3O
                serial: MPB3PAX5KM6MHG
                size: 55GB
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5
              *-volume:0
                   description: Linux filesystem par ... [snip]

Revision history for this message
Ed Bunker (calvin441h) wrote :

Update: everything seems to be working just fine with today's (20070328) daily build. Let's hope it lasts.

Revision history for this message
Colin Watson (cjwatson) wrote :

It's not a problem as such (in that nothing breaks; moving many /dev/hd* devices to /dev/sd* was intentional), but the naming in the user interface is wrong.

Changed in debian-installer:
importance: Undecided → Low
Revision history for this message
Matthew Gregg (mcg) wrote :

I have several machines running Feisty, upgraded from Edgy. Since this was an intentional change why wouldn't all the machines exhibit the switch(from hd* -> sd*)?

Actually the reason I started looking into this bug was a problem the switch caused. My machine would hang at boot, due to a /dev/hd* entry in fstab for a secondary drive.

Why was this change implemented? Did the kernel change the preferred way to access IDE devices?

Revision history for this message
tokj (tokj-deactivatedaccount) wrote :

I change the bug status to fix-released since it has been fixed with the latest kernel update.

Anyway, feel free to reopen the bug if the problem still occurs.

Best regards

Changed in partman-base:
status: Confirmed → Fix Released
Revision history for this message
Kevin (raccoonstrait) wrote :

I still have this issue. In fact, yesterday morning Feisty decided to change one of my drives from ide to scsi. I had to boot with a desktop cd, find out what the OS was calling them, and then change /etc/fstab to the correct name to get it to work. Previously, It had rebooted about 20 times without issue. I have been running updates as they become available, at least daily.

This system is running on a Thinkpad with XP (host os) running VMWare Player and then Feisty Beta (guest os). I did not have these issues with edgy. Since I have reinstalled Feisty several times, herd 4 on, I have been able to repeat the recognition of the scsi devices, which are clearly defined as ide in the vmx setup file. I have been running updates as they become available, at least daily. I have not been able to repeat its changing between from ide to scsi between one boot up and another, and I do not wish to.

Please let me know if you would like any additional information. I would be happy to help.

Regards,

Kevin

Revision history for this message
Jarno Suni (jarnos) wrote :

I have this problem when trying to install using Xubuntu 7.04 Desktop CD. The hard drive in the laptop is 40 GB ATA/100, model ST9402112A according to GParted live CD. The drive has Windows XP installed and had Xubuntu 6.10 next to Windows before I tried to install 7.04. The installer does not get ahead from the "detecting file systems" phase, where it runs long time. Finally the Application menu disappears and file manager windows are opened for different partitions. So I can not install the OS. I have no idea, how could I install the kernel update since I am installing using the live CD. The problem does not exist with every ATA hard disk; I installed Xubuntu 7.04 using the same CD successfully to an old desktop PC.

Changed in partman-base:
status: Fix Released → Confirmed
Revision history for this message
Nuno Lima (nunolima) wrote :

Hi Jarno Suni! I had the same problem an I solve it by downloading the xubuntu 7.04 alternate cd and install it from there.

Revision history for this message
Jarno Suni (jarnos) wrote :

Thanks for the hint, Nuno Lima. I tried installing using the Desktop CD again today. It worked this time. Maybe it is because I ran and quitted GNOME Partition Editor (gparted) from the Desktop CD before installing; I got the pop-up file manager windows after gparted started for the first time and I closed also those windows before installing. I used manual partitioning during installation or more specifically only set mount points and formatted. Still the hard disk partitions seem to be /dev/sda* for Xubuntu, also after updating packages. Anyway, I can use the partitions now :)

Revision history for this message
Colin Watson (cjwatson) wrote :

tokj: Please do not close this bug. It is a cosmetic issue in partman-base and not susceptible to a kernel fix. The move from hd* to sd* is fine (even though it doesn't happen for all hardware - it depends on the driver in use for your specific controller), but we just need to stop describing sd* as "SCSI".

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Does this still happen in intrepid?

Changed in partman-base:
status: Confirmed → Incomplete
Revision history for this message
Colin Watson (cjwatson) wrote :

Intrepid: yes. (It's trivial to check this rather than having to ask.)

Revision history for this message
Colin Watson (cjwatson) wrote :

(Please do not set this bug to Incomplete again.)

Changed in partman-base:
status: Incomplete → Triaged
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Sorry I don't have any IDE drives so I couldn't check myself, and after a year of inactivity it seems reasonable to ask if it is still present.

Revision history for this message
Max Waterman (davidmaxwaterman) wrote :

During upgrading my system from 8.04 to 8.10, I saw the problem where my ide drives switched from /dev/hdX to /dev/sdX without any warning, and it stopped my RAID5 array working. A desire to report this as a bug brought me here.

However, this bug is about the naming of this 'interface' as SCSI, which is certainly not correct (IMO), since it now covers SCSI, IDE and SATA at least.

Revision history for this message
Evan (ev) wrote :

Proposed patch.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.