lkml.org 
[lkml]   [2004]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: /proc/partitions not done updating when init is ran?
From
>
> 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/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.286 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site