How to disable 3G USB Modem internal storage from being loaded by linux kernel?
- by Krystian
Hi,
I've got a problem with my 3G modem [Huawei E122].
It has internal storage and kernel assigns a device [/dev/sdX] to it.
Because of that, every second time my machine will not boot - kernel panic - as my usb hdd gets assigned /dev/sdb instead of /dev/sda.
I cannot use LABEL nor UUID in root= kernel parameter, as it is only available when using initrd, and I can't use it - I am using Debian on my router - mips architecture machine.
I have to prevent this from happening, as my router has to start everyday and I have to be sure it works ok. I don't have physical access to restart it when something goes wrong.
I don't use my modem internal storage, there's no SD card inserted. However kernel detects the reader and loads it.
I can not prevent loading od usb drivers since my hdd is on USB as well.
I will appreciate any ideas.