Skip to contentSkip to conversation

current linus bk, error mounting root

DISCUSSION Alexander E. Patrakov 2 participants 2 messages Mar 12, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · Jon Smirl

Here's a big clue, if I build ata_piix in I can boot. If it is a module I can't. The console output definitely shows that the module is being loaded.

Of course I am not an expert here, but I want to rule out some trivial userspace things first.

Some time ago Greg KH said that even when the modprobe command returns, there is no guarantee that the module finished hardware detection. By rebuilding ata_piix as a non-module, you changed the timeline.

Could you please, for debugging, recompile ata_piix as a module again, but add a "sleep 5" before the mkrootdev command? If that works, a bug (race) is officially in userspace.

Sorry if all of the above is in fact just meaningless noise.

Signature · 1 line
Alexander E. Patrakov
#1 lore raw
Quoted 13 lines · Alexander E. Patrakov
Quoted 3 lines · Jon Smirl

Here's a big clue, if I build ata_piix in I can boot. If it is a module I can't. The console output definitely shows that the module is being loaded.

Of course I am not an expert here, but I want to rule out some trivial userspace things first.

Some time ago Greg KH said that even when the modprobe command returns, there is no guarantee that the module finished hardware detection. By rebuilding ata_piix as a non-module, you changed the timeline.

Quoted 5 lines

Could you please, for debugging, recompile ata_piix as a module again, but add a "sleep 5" before the mkrootdev command? If that works, a bug (race) is officially in userspace.

Sorry if all of the above is in fact just meaningless noise.

sleep 5 before mkrootdev fixes it. Attached is working dmesg with module and sleep.

ata_piix had been working as a module for over a year so something recent disturbed the timing.

Quoted 4 lines

--
Alexander E. Patrakov

Signature · 2 lines
Jon Smirl
[email protected]