[Bug 60758] module scsi_wait_scan not found kernel panic on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=60758

--- Comment #53 from Lin Feng <linf@xxxxxxxxxxxxxxxxxx> ---
hello,

After diving into it I found that in my qemu-VM case "FATAL: Module
scsi_wait_scan" is not the root cause, because even I backport the
scsi_wait_scan module, it still can't boot, but reports "dracut Warning: No
root device "block:/dev/disk/by-uuid/cedcbd9c-32eb-4a3f-9dad-ae5fc560642a"
found". 

I bisect through the 3.13-rc6 tree of upstream, and locates this commit broke
my initramfs, 
[root@CentOS6 linux]# git bisect bad
1cf7e9c68fe84248174e998922b39e508375e7c1 is the first bad commit
commit 1cf7e9c68fe84248174e998922b39e508375e7c1
Author: Jens Axboe <axboe@xxxxxxxxx>
Date:   Fri Nov 1 10:52:52 2013 -0600

    virtio_blk: blk-mq support

    Switch virtio-blk from the dual support for old-style requests and bios
    to use the block-multiqueue.

    Acked-by: Asias He <asias@xxxxxxxxxx>
    Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>

though it's somthing about virtio driver(my guest uses virtio as the storage
driver), looking into this commit it is mainly about C code changes, not module
compiling or not. Also I have checked the modules compiled, in both cases(with
and without this commit) we get virtio_blk.ko module. But the difference is
that with this commit virtio_blk.ko isn't packed into the initramfs. 

However between both cases there is no environmental changes, with exactly the
same config, same dracut, same gcc, everything...So I don't know why dracut
doesn't pack the virtio_blk.ko into the initramfs, and more kidding I find that
it packed the floppy.ko instead. 
(In my case as a workround we can compile virtio moduels into kernel or use
other disk bus driver such as IDE or USB instead)

But one thing I don't understand can someone tell me why, Will dracut look
through the kernel tree(C codes) to find some useful information to pack the
final initramfs?

Ps. Related to the initial creative of this bugzilla, I guess it may also be
caused by some storage drivers are not packed into initramfs.

thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux