SCSI Scan order wrong

Bug #575146 reported by Eric Bursley
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

During a fresh installation of Ubuntu 10.04, I noticed that the Linux kernel is scanning and registering the hard drives incorrectly.

In my Dell Precision workstation 690, I have 4 500GB SATA hard drives configured in two RAID 1 sets.

/proc/scsi/scsi shows the following:

Host: scsi8 Channel: 01 Id: 02 Lun: 00
  Vendor: Dell Model: VIRTUAL DISK Rev: 1028
  Type: Direct-Access ANSI SCSI revision: 05
Host: scsi8 Channel: 01 Id: 00 Lun: 00
  Vendor: Dell Model: VIRTUAL DISK Rev: 1028
  Type: Direct-Access ANSI SCSI revision: 05

Id: 00 Lun: 00 is showing as /dev/sdb
Id: 02 Lun: 00 is showing as /dev/sda

This caused two problems during the install. One when I configured my boot partition, I had to set it to /dev/sdb, and two Grub failed to install to /dev/sdb during the install. I had to manually install grub into /dev/sdb before I got a bootable system.

I can provide what ever logs you need to debug this.
Presently my system is bootable, but still is showing the same wrong scsi scan order.

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: XFi [Creative X-Fi], device 0: ctxfi [Front/WaveIn]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: eric 2644 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'XFi'/'Creative X-Fi 20K1 Unknown'
   Mixer name : '20K1'
   Components : ''
   Controls : 30
   Simple ctrls : 11
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=2192dcd9-94fc-4af6-a812-4558608ecc36
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
MachineType: Dell Inc. Precision WorkStation 690
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-22-genusername root=/dev/mapper/vg00-root ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.33-genusername 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:

Tags: lucid kconfig needs-upstream-testing
Uname: Linux 2.6.32-22-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
WifiSyslog:
 May 7 17:19:14 paris NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
 May 7 18:39:19 paris NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
 May 7 18:40:04 paris NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
dmi.bios.date: 12/13/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.name: 0MY171
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA07:bd12/13/2007:svnDellInc.:pnPrecisionWorkStation690:pvr:rvnDellInc.:rn0MY171:rvrA01:cvnDellInc.:ct7:cvr:
dmi.product.name: Precision WorkStation 690
dmi.sys.vendor: Dell Inc.

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: eric 2634 F.... pulseaudio
 /dev/snd/controlC0: eric 2634 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'XFi'/'Creative X-Fi 20K1 Unknown'
   Mixer name : '20K1'
   Components : ''
   Controls : 30
   Simple ctrls : 11
Card1.Amixer.info:
 Card hw:1 'U0x46d0x8da'/'USB Device 0x46d:0x8da at usb-0000:00:1d.2-1, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:08da'
   Controls : 3
   Simple ctrls : 2
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=2192dcd9-94fc-4af6-a812-4558608ecc36
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
MachineType: Dell Inc. Precision WorkStation 690
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-22-genusername root=/dev/mapper/vg00-root ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-genusername 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:

Tags: lucid kconfig needs-upstream-testing
Uname: Linux 2.6.32-22-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
WifiSyslog:
 Jun 21 12:01:14 paris kernel: [759628.651551] CPU7: Temperature above threshold, cpu clock throttled (total events = 902)
 Jun 21 12:01:14 paris kernel: [759628.651585] CPU3: Temperature above threshold, cpu clock throttled (total events = 902)
 Jun 21 12:01:14 paris kernel: [759628.652534] CPU7: Temperature/speed normal
 Jun 21 12:01:14 paris kernel: [759628.652558] CPU3: Temperature/speed normal
dmi.bios.date: 12/13/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.name: 0F9394
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA07:bd12/13/2007:svnDellInc.:pnPrecisionWorkStation690:pvr:rvnDellInc.:rn0F9394:rvrA00:cvnDellInc.:ct7:cvr:
dmi.product.name: Precision WorkStation 690
dmi.sys.vendor: Dell Inc.

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: XFi [Creative X-Fi], device 0: ctxfi [Front/WaveIn]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: eric 3952 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'XFi'/'Creative X-Fi 20K1 Unknown'
   Mixer name : '20K1'
   Components : ''
   Controls : 28
   Simple ctrls : 11
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=2192dcd9-94fc-4af6-a812-4558608ecc36
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
MachineType: Dell Inc. Precision WorkStation 690
MarkForUpload: True
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-54-generic root=/dev/mapper/vg00-root ro quiet splash
ProcVersionSignature: Ubuntu 3.2.0-54.82-generic 3.2.50
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory /home/eric not ours.
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-54-generic N/A
 linux-backports-modules-3.2.0-54-generic N/A
 linux-firmware 1.79.6
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
Tags: precise
Uname: Linux 3.2.0-54-generic x86_64
UpgradeStatus: Upgraded to precise on 2013-06-27 (93 days ago)
UserGroups:

WifiSyslog: Sep 28 11:43:30 paris NetworkManager[1542]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
dmi.bios.date: 12/13/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.name: 0F9394
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA07:bd12/13/2007:svnDellInc.:pnPrecisionWorkStation690:pvr:rvnDellInc.:rn0F9394:rvrA00:cvnDellInc.:ct7:cvr:
dmi.product.name: Precision WorkStation 690
dmi.sys.vendor: Dell Inc.

Revision history for this message
Philip Muškovac (yofel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't fix it without more information.

Please run the following command which will attach necessary information:

apport-collect 575146

Bear in mind that when prompted to give apport-collect permissions for Launchpad you will need to give it at least the ability to "Change Non-Private" data as it will be adding information to your bug report.

If you cannot use apport please at least add the following information (pay attention to lspci's additional options):
First run the following commands:
1) uname -a > uname-a.log
2) dmesg > dmesg.log
3) sudo lspci -vvnn > lspci-vvnn.log
4) cat /proc/version_signature > version.log
then attach the files separately to the bug report (not pasted into comments or tar/zip-ed).

For your reference, the full description of procedures for kernel-related bug reports is available at https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies. Thanks in advance!

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: lucid
Revision history for this message
Eric Bursley (eric-bursley) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Eric Bursley (eric-bursley) wrote : AplayDevices.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : BootDmesg.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : IwConfig.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : Lspci.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : Lsusb.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : PciMultimedia.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : ProcModules.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : UdevDb.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : UdevLog.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote :

Can someone look at this bug now that I have posted logs as requested?

Philip Muškovac (yofel)
Changed in linux (Ubuntu):
status: Incomplete → New
status: New → Confirmed
Revision history for this message
Eric Bursley (eric-bursley) wrote :

Is there anything new happening with this bug?

tags: added: kernel-needs-review kernel-uncat
Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Eric Bursley (eric-bursley) wrote : AlsaDevices.txt

apport information

description: updated
Revision history for this message
Eric Bursley (eric-bursley) wrote : AplayDevices.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : ArecordDevices.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : BootDmesg.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : Card1.Amixer.values.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : IwConfig.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : Lspci.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : Lsusb.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : PciMultimedia.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : ProcModules.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : UdevDb.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : UdevLog.txt

apport information

Revision history for this message
penalvch (penalvch) wrote :

Eric Bursley, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily kernel folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.12-rc1

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Eric Bursley (eric-bursley) wrote : AcpiTables.txt

apport information

tags: added: precise
description: updated
Revision history for this message
Eric Bursley (eric-bursley) wrote : AlsaDevices.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : AplayDevices.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : BootDmesg.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : IwConfig.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : Lspci.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : Lsusb.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : PciMultimedia.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : ProcModules.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : UdevDb.txt

apport information

Revision history for this message
Eric Bursley (eric-bursley) wrote : UdevLog.txt

apport information

penalvch (penalvch)
tags: added: bios-outdated-a08
tags: added: needs-upstream-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.