--
--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dis...@chromium.org.
don't x86 BIOSs tend to have serial numbers in them that dmidecide can show? we could add logic for that behind a use flag that the generic boards would enable.
-mike
don't x86 BIOSs tend to have serial numbers in them that dmidecide can show? we could add logic for that behind a use flag that the generic boards would enable.
don't x86 BIOSs tend to have serial numbers in them that dmidecide can show? we could add logic for that behind a use flag that the generic boards would enable.
My plan was to write a helper bash script that check in /sys/devices/virtual/id or /proc/sys/.... for model/serial/(service tag if applicable)
If model information can't be found there just fall back to "chrome-xyz"
This allows anyone to easily drop in an alternative method for detection or tweak it. The fall back allows for vms (I don't know of they report their own info via sysfs)
Both of the models of machines that we have do report their model, S/N, and service tag.
Mattias,You added and removed code to retrieve the main storage serial number for unique identification, and removed it (chromium:199720). Would it help in this case?
On Tue, Mar 31, 2015 at 7:26 PM, Gwendal Grignou <> wrote:Mattias,You added and removed code to retrieve the main storage serial number for unique identification, and removed it (chromium:199720). Would it help in this case?We are indeed using the root disk serial number as well, but for a different purpose. The feature that uses the root disk serial number is forced re-enrollment, which is used to determine whether a device should re-enroll after hardware reset. For this, we store information in the cloud. That data is not keyed by serial number, but by an identifier that is opaque and unpredictable to the server. The identifier is essentially a hardware fingerprint, and the root disk serial number is used as on input for the calculation.I think using the root disk serial number as a fallback would make sense here - but obviously we can't expect disk serial numbers to be present 100% of the time either.
FWIW, just removed an obsolete code path that was replaced by this:Gwendal.
On Tue, Mar 31, 2015 at 7:56 AM, 'Mattias Nissler' via Chromium OS discuss <> wrote:
That's sounds like a sane approach. FWIW, I'm happy to review code changes and verify they don't break the VM use cases I'm aware of.
On Tue, Mar 31, 2015 at 4:04 PM, Ian Bloss <> wrote:
My plan was to write a helper bash script that check in /sys/devices/virtual/id or /proc/sys/.... for model/serial/(service tag if applicable)
If model information can't be found there just fall back to "chrome-xyz"
This allows anyone to easily drop in an alternative method for detection or tweak it. The fall back allows for vms (I don't know of they report their own info via sysfs)
Both of the models of machines that we have do report their model, S/N, and service tag.
On Mar 31, 2015 4:09 AM, "David Hendricks" <> wrote:
On Tue, Mar 31, 2015 at 12:55 AM, Mike Frysinger <> wrote:don't x86 BIOSs tend to have serial numbers in them that dmidecide can show? we could add logic for that behind a use flag that the generic boards would enable.
Sort of... It's a free-form string that is often filled with "To Be Filled By O.E.M." or "1234567890".MAC address of eth0 would might be a good alternative, though, since it's also going to be tied with the IP address on the network.
-mike
On Mar 31, 2015 00:46, "David Hendricks" <> wrote:
If the nonchrome-XYZ hack Mattias mentions does not work, I can also help you try to modify your firmware a little bit to make "dump_vpd_log" work correctly.
Not all hardware will be easy to work with. However, if we're lucky we can add the small "vital product data" (VPD) region to your firmware ROM which is used in enterprise enrollment.
On Mon, Mar 30, 2015 at 6:12 AM, Ian Bloss <> wrote:
Awesome, this gives me something to work with. I will post commit if I find a more universal solution, but I have a pretty good idea of what I'm going to do.
On Mon, Mar 30, 2015 at 5:10 AM, Mattias Nissler <> wrote:The code that generates the nonchrome-XYZ serial numbers is from and is installed in /etc/init/machine-info.conf
For background, the dump_vpd_log command used on Chrome hardware doesn't produce anything useful elsewhere, so we added the nonchrome-XYZ hack (mainly to easy testing in VMs). If you come up with a better solution that's expected to work for the majority of non-Chrome hardware cases, feel free to submit a patch :)
On Fri, Mar 27, 2015 at 5:21 PM, Ian Bloss <> wrote:
My organisation is moving to chromebooks for our freshman students next year, while I have three previous years of students that have windows based devices.I have successfully created my own images of chromiumos that are compatible with the 2 different laptop brand/models that are currently in circulation. I've then had my test machines successfully enroll into the enterprise domain and even sync user policies perfectly but, enrollment doesn't get the devices real serial number and instead generates some random serial to fill it's place like "nonchrome-1554234". It does however get the correct MAC addresses for networking devices.From what I've read, normal chromeos devices use coreboot, and reads the serial number from the coreboot bios. I can get the board information via the /sys/ filesystem (/sys/devices/virtual/dmi/id).I was hoping someone could point me into the right direction where maybe I could patch a switch that'll allow an alternative method of collecting machine info for enterprise enrollment.
--
--
Chromium OS discuss mailing list:
View archives, change email options, or unsubscribe:
To unsubscribe from this group and stop receiving emails from it, send an email to .
--
--
Chromium OS discuss mailing list:
View archives, change email options, or unsubscribe:
To unsubscribe from this group and stop receiving emails from it, send an email to .
--
--
Chromium OS discuss mailing list:
View archives, change email options, or unsubscribe:
--
--
Chromium OS discuss mailing list:
View archives, change email options, or unsubscribe:
--
--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
To unsubscribe from this group and stop receiving emails from it, send an email to .<base target="_self" href=" /> </div> </div> </div> </blockquote> <br/> </BODY></HTML>
--
--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dis...@chromium.org.
Mattias Nissler | Software Engineer | mnis...@google.com
Google Germany GmbH
ABC-Str. 19
20345 Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
Registergericht und -nummer: Hamburg, HRB 86891
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-discuss+unsub...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dis...@chromium.org.
--Mattias Nissler | Software Engineer | mnis...@google.com
Google Germany GmbH
ABC-Str. 19
20345 Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
Registergericht und -nummer: Hamburg, HRB 86891
--
--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dis...@chromium.org.