Public bug reported:
[This is on Intrepid Alpha 4 kept upto date. Linux gallifrey
2.6.26-5-generic #1 SMP Fri Aug 15 13:54:58 UTC 2008]
The drives on this machine get assigned differently to /dev/sd* on each
boot:
This machine has:
2 PATA IDE discs (both IC35L060AVER07-0)
a PATA DVD drive (DVD-ROM DVD-116)
a PATA CD/RW drive (24MAXX 1040)
a PATA zip drive (ZIP 100)
on two controllers; an internal AMD 760 onboard:
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-766 [ViperPlus]
IDE (rev 01)
and a Promise 20268 PCI card;
sometimes the boot disc is sdb, sometimes it is sda
If you grep the attached log for 'removable' you can see the zip drive
flipflops between sda and sdb:
Aug 24 00:36:33 gallifrey klogd: [ 5.036714] sd 0:0:1:0: [sda] Attached SCSI
removable disk
Aug 24 00:38:44 gallifrey klogd: [ 5.262494] sd 2:0:1:0: [sdb] Attached SCSI
removable disk
Aug 25 15:21:44 gallifrey klogd: [ 6.289556] sd 2:0:1:0: [sdb] Attached SCSI
removable disk
Aug 25 16:11:50 gallifrey klogd: [ 5.733587] sd 0:0:1:0: [sda] Attached SCSI
removable disk
(Neither case has had media in any of the removable devices).
similarly grepping for sr[01] shows I think the cdrw and dvd swapping
places.
ls -l sd[abc]/device sr[01]/device
lrwxrwxrwx 1 root root 0 2008-08-25 16:11 sda/device ->
../../devices/pci0000:00/0000:00:0c.0/host0/target0:0:1/0:0:1:0
lrwxrwxrwx 1 root root 0 2008-08-25 16:11 sdb/device ->
../../devices/pci0000:00/0000:00:0c.0/host1/target1:0:0/1:0:0:0
lrwxrwxrwx 1 root root 0 2008-08-25 16:11 sdc/device ->
../../devices/pci0000:00/0000:00:07.1/host2/target2:0:0/2:0:0:0
lrwxrwxrwx 1 root root 0 2008-08-25 16:11 sr0/device ->
../../devices/pci0000:00/0000:00:0c.0/host0/target0:0:0/0:0:0:0
lrwxrwxrwx 1 root root 0 2008-08-25 16:11 sr1/device ->
../../devices/pci0000:00/0000:00:07.1/host3/target3:0:0/3:0:0:0
In this case sdb and sdc are the hard discs.
I suspect this isn't new in Intrepid; for a few verisons that machine
had had boot problems pulling up RAID1 at boot; but it used to work a
couple of versions ago (gutsy maybe).
Fun fun.
The board is a Tyan S2460.
Dave
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
[intrepid] Random order of disk detection
https://bugs.launchpad.net/bugs/261178
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs