How to disable 3G USB Modem internal storage from being loaded by linux kernel?

Posted by Krystian on Super User See other posts from Super User or by Krystian
Published on 2011-03-01T23:00:28Z Indexed on 2011/03/01 23:26 UTC
Read the original article Hit count: 250

Filed under:
|
|
|
|

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.

© Super User or respective owner

Related posts about linux

Related posts about usb