Skip to contentSkip to conversation

SCSI device/adapter/bus address correlation?

PATCH Matt Domsch 1 participant 1 message Sep 3, 2004 1 message not in the archive SCSI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines

From: Bjorn Helgaas <[email protected]>
Subject: Re: [PATCH] SCSI device/adapter/bus address correlation?
Date: Fri, 3 Sep 2004 14:13:49 -0600

Quoted 3 lines · Patrick Mansfield
Quoted 2 lines

Thanks, I knew there must be a cool way. That doesn't help if you're trying to figure out the correct "root=" to boot your box, of course...

Quoted 6 lines
Quoted 1 line

What exactly is the "root=" problem? You mean device names changing?

Walk up to a box with a number of data disks already attached. Plug in a new disk with a root filesystem on it. Now try to boot the box, using the new root filesystem. What do you specify? It's difficult in general to figure it out.

This is just another manifestation of the fact that there is no connection between what system BIOS knows of as disks, and what the kernel knows of as disks.

EDD 3.0 is supposed to help solve this. Pity so few BIOS manufactureres implement it, and of those that do, implement it properly. http://linux.dell.com/edd/

On EFI systems, there are some EFI Variables exported, BlkXXXXXX which contain the EDD 3.0 / EFI device path information, probably even with the partition table GUIDs - it's been too long since I've had a look. But if so, you could use those to correlate to a Linux device name.

Or, of course, initrd and file system labels work great most of the time.

Thanks,
Matt

Signature · 4 lines
Matt Domsch
Sr. Software Engineer, Lead Engineer
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com