Messages in this thread | | | Date | Thu, 12 Feb 2004 18:40:25 -0600 (CST) | Subject | Re: /proc/partitions not done updating when init is ran? | From | "Nick Bartos" <> |
| |
> > Well, does it still happen with 2.4.25-rc2 ? >
yes it does, and it does for 2.6.2 as well.
I did a couple of dmesg's and it looks like the usb device is not being detected until after init is ran. I would think that the kernel would have done all the device detection before running init but I guess not.
Is there a way to check somewhere to make sure it is done detecting devices? I cannot just check to see if any of the usb/scsi stuff exists since some systems may be booting off ide and have no usb bus enabled.
Here are a few of the lines that get added after I wait for a few seconds in my init script:
+scsi0 : SCSI emulation for USB Mass Storage devices + Vendor: OEI-USB2 Model: CompactFlash Rev: 1.04 + Type: Direct-Access ANSI SCSI revision: 02 +Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 +SCSI device sda: 250880 512-byte hdwr sectors (128 MB) +sda: Write Protect is off + /dev/scsi/host0/bus0/target0/lun0: p1 p2 +WARNING: USB Mass Storage data integrity not assured +USB Mass Storage device found at 2
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |