Booting from an SD card

I installed ClearLinux to an SD card (/dev/sdc) from a USB drive (/dev/sdb). The main SDD drive (/dev/sda) on the laptop contains the OS I need to count on everyday of my life. I only use laptops because I am off-grid with solar power (small system) and machines can be charged to run at night are just my thing – and I might add, the most challenging for Linux anyway.

After installation I choose to boot from the SD card I installed CLearLinux and I receive a kernel panic because it can’t find the root drive. It appears to be trying to boot from device 0 partition 0 (hd0, 0) which would be the internal SDD drive (/dev/sda). With the USB removed the SD is /dev/sdb After some searching I found the boot options and changed the UUID of the drive to /dev/sdb3 (the root of the ClearLinux install). I have tried lots of different boot options including rootwait to get this to work, but I can’t seem to get the CLearLinux kernel to try anything by hd0,0.

Any thoughts?

It is missing one kernel driver.

Can you help us by posting the output from lsmod when you boot from the installer please.

What, no pics?

No please, do show more! I’m interested in doing similar experiments, and would love to see some of the stuff that others have built :slight_smile:

Here’s the output of lsmod from the installer:
> Module Size Used by
> cmac 16384 1
> rfcomm 57344 2
> bnep 24576 2
> iwlmvm 245760 0
> snd_soc_skl 102400 0
> snd_soc_hdac_hda 24576 1 snd_soc_skl
> mac80211 622592 1 iwlmvm
> snd_hda_ext_core 28672 2 snd_soc_hdac_hda,snd_soc_skl
> snd_soc_skl_ipc 57344 1 snd_soc_skl
> snd_soc_sst_ipc 20480 1 snd_soc_skl_ipc
> snd_soc_sst_dsp 36864 1 snd_soc_skl_ipc
> snd_soc_acpi_intel_match 28672 1 snd_soc_skl
> snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl
> snd_soc_core 225280 2 snd_soc_hdac_hda,snd_soc_skl
> hid_sensor_magn_3d 20480 0
> hid_sensor_accel_3d 20480 0
> hid_sensor_gyro_3d 20480 0
> snd_hda_codec_hdmi 53248 1
> hid_sensor_incl_3d 20480 0
> hid_sensor_rotation 20480 0
> snd_compress 24576 1 snd_soc_core
> hid_sensor_trigger 20480 11 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
> snd_hda_codec_realtek 118784 1
> industrialio_triggered_buffer 16384 5 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
> snd_pcm_dmaengine 16384 1 snd_soc_core
> kfifo_buf 16384 1 industrialio_triggered_buffer
> hid_sensor_iio_common 20480 6 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
> snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
> ac97_bus 16384 1 snd_soc_core
> industrialio 69632 8 industrialio_triggered_buffer,hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_incl_3d,kfifo_buf,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
> hid_sensor_custom 24576 0
> snd_hda_intel 40960 3
> uvcvideo 94208 0
> btusb 49152 0
> hid_sensor_hub 24576 8 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation,hid_sensor_custom
> videobuf2_vmalloc 20480 1 uvcvideo
> intel_ishtp_hid 24576 0
> btrtl 20480 1 btusb
> videobuf2_memops 20480 1 videobuf2_vmalloc
> snd_hda_codec 122880 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
> videobuf2_v4l2 24576 1 uvcvideo
> btbcm 16384 1 btusb
> joydev 24576 0
> iwlwifi 212992 1 iwlmvm
> dell_wmi 20480 0
> videodev 184320 2 videobuf2_v4l2,uvcvideo
> snd_hda_core 77824 8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl
> ums_realtek 24576 0
> dell_laptop 20480 0
> btintel 20480 1 btusb
> psmouse 126976 0
> snd_hwdep 16384 1 snd_hda_codec
> wmi_bmof 16384 0
> bluetooth 516096 31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
> videobuf2_common 49152 2 videobuf2_v4l2,uvcvideo
> snd_pcm 110592 8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
> atkbd 32768 0
> ledtrig_audio 16384 3 snd_hda_codec_generic,snd_hda_codec_realtek,dell_laptop
> hid_multitouch 24576 0
> cfg80211 643072 3 iwlmvm,iwlwifi,mac80211
> dell_smbios 28672 2 dell_wmi,dell_laptop
> libps2 20480 2 atkbd,psmouse
> snd_timer 36864 1 snd_pcm
> dell_wmi_descriptor 20480 2 dell_wmi,dell_smbios
> dcdbas 20480 0
> snd 77824 15 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
> serio_raw 20480 0
> intel_xhci_usb_role_switch 16384 0
> dell_smm_hwmon 16384 0
> roles 16384 1 intel_xhci_usb_role_switch
> i2c_hid 28672 0
> thermal 20480 0
> ecdh_generic 24576 2 bluetooth
> rfkill 24576 8 bluetooth,dell_laptop,cfg80211
> pinctrl_sunrisepoint 28672 0
> wmi 28672 4 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
> pinctrl_intel 24576 1 pinctrl_sunrisepoint
> intel_vbtn 20480 0
> intel_hid 20480 0
> int3403_thermal 16384 0
> soc_button_array 20480 0
> i8042 28672 1 dell_laptop
> intel_pch_thermal 16384 0
> intel_ish_ipc 24576 0
> processor_thermal_device 20480 0
> idma64 20480 0
> intel_soc_dts_iosf 20480 1 processor_thermal_device
> int3402_thermal 16384 0
> virt_dma 20480 1 idma64
> sparse_keymap 16384 3 intel_hid,dell_wmi,intel_vbtn
> battery 20480 0
> mei_me 40960 0
> soundcore 16384 1 snd
> int3400_thermal 20480 0
> int340x_thermal_zone 16384 3 int3403_thermal,int3402_thermal,processor_thermal_device
> ac 16384 0
> mei 102400 1 mei_me
> acpi_thermal_rel 16384 1 int3400_thermal
> intel_ishtp 40960 2 intel_ishtp_hid,intel_ish_ipc
> intel_lpss_pci 20480 0
> pcc_cpufreq 20480 0
> i2c_i801 32768 0
> overlay 106496 1
> sr_mod 24576 0
> cdrom 65536 1 sr_mod
> isofs 45056 1

Here’s the lsmod of the same system running my own custom compiled kernel (4.19.0):
> Module Size Used by
> ctr 16384 4
> ccm 20480 6
> binfmt_misc 20480 1
> snd_hda_codec_hdmi 61440 1
> snd_hda_codec_realtek 110592 1
> snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
> i915 1728512 5
> arc4 16384 2
> iwlmvm 299008 0
> mac80211 819200 1 iwlmvm
> intel_rapl 24576 0
> x86_pkg_temp_thermal 16384 0
> intel_powerclamp 16384 0
> coretemp 16384 0
> kvm_intel 241664 0
> kvm 724992 1 kvm_intel
> uvcvideo 114688 0
> irqbypass 16384 1 kvm
> crct10dif_pclmul 16384 0
> crc32_pclmul 16384 0
> crc32c_intel 24576 0
> videobuf2_vmalloc 16384 1 uvcvideo
> videobuf2_memops 16384 1 videobuf2_vmalloc
> videobuf2_v4l2 28672 1 uvcvideo
> hid_sensor_magn_3d 16384 0
> btusb 53248 0
> btrtl 16384 1 btusb
> btbcm 16384 1 btusb
> hid_sensor_incl_3d 16384 0
> btintel 24576 1 btusb
> bluetooth 638976 5 btrtl,btintel,btbcm,btusb
> videobuf2_common 49152 2 videobuf2_v4l2,uvcvideo
> videodev 204800 3 videobuf2_v4l2,uvcvideo,videobuf2_common
> iwlwifi 237568 1 iwlmvm
> hid_sensor_rotation 16384 0
> hid_sensor_gyro_3d 16384 0
> hid_sensor_accel_3d 16384 0
> ghash_clmulni_intel 16384 0
> hid_sensor_trigger 16384 11 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
> hid_sensor_iio_common 16384 6 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
> industrialio_triggered_buffer 16384 5 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
> pcbc 16384 0
> kfifo_buf 16384 1 industrialio_triggered_buffer
> media 40960 2 videodev,uvcvideo
> uas 28672 0
> aesni_intel 200704 4
> industrialio 73728 8 industrialio_triggered_buffer,hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_incl_3d,kfifo_buf,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
> hid_sensor_custom 24576 0
> crypto_simd 16384 1 aesni_intel
> hid_multitouch 28672 0
> hid_sensor_hub 20480 8 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation,hid_sensor_custom
> intel_gtt 20480 1 i915
> joydev 24576 0
> drm_kms_helper 188416 1 i915
> drbg 28672 1
> ansi_cprng 16384 0
> wmi_bmof 16384 0
> ecdh_generic 24576 1 bluetooth
> cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
> i2c_designware_platform 16384 0
> dell_wmi 16384 0
> cfg80211 761856 3 iwlmvm,iwlwifi,mac80211
> glue_helper 16384 1 aesni_intel
> drm 454656 6 drm_kms_helper,i915
> i2c_designware_core 20480 1 i2c_designware_platform
> intel_ishtp_hid 24576 0
> intel_cstate 16384 0
> snd_hda_intel 45056 0
> dell_laptop 28672 0
> snd_hda_codec 147456 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
> intel_uncore 135168 0
> dell_smbios 28672 2 dell_wmi,dell_laptop
> iTCO_wdt 16384 0
> dell_wmi_descriptor 16384 2 dell_wmi,dell_smbios
> iTCO_vendor_support 16384 1 iTCO_wdt
> dcdbas 16384 1 dell_smbios
> snd_hwdep 16384 1 snd_hda_codec
> snd_hda_core 94208 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
> dell_smm_hwmon 16384 0
> int3400_thermal 16384 0
> wmi 28672 4 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
> psmouse 172032 0
> evdev 28672 28
> rfkill 28672 4 bluetooth,dell_laptop,cfg80211
> serio_raw 16384 0
> efi_pstore 16384 0
> intel_rapl_perf 16384 0
> snd_pcm 110592 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
> pcspkr 16384 0
> i2c_hid 24576 0
> efivars 20480 1 efi_pstore
> intel_vbtn 16384 0
> thermal 20480 0
> video 45056 3 dell_wmi,dell_laptop,i915
> mei_me 45056 0
> soc_button_array 16384 0
> idma64 20480 0
> int3403_thermal 16384 0
> intel_hid 16384 0
> acpi_thermal_rel 16384 1 int3400_thermal
> snd_timer 36864 1 snd_pcm
> intel_lpss_pci 20480 0
> mei 114688 1 mei_me
> intel_lpss 16384 1 intel_lpss_pci
> int3402_thermal 16384 0
> battery 24576 0
> pcc_cpufreq 16384 0
> acpi_pad 16384 0
> ac 16384 0
> snd 86016 8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
> processor_thermal_device 16384 0
> int340x_thermal_zone 16384 3 int3403_thermal,int3402_thermal,processor_thermal_device
> button 16384 0
> intel_soc_dts_iosf 16384 1 processor_thermal_device
> intel_pch_thermal 16384 0
> mfd_core 16384 2 hid_sensor_hub,intel_lpss
> intel_ish_ipc 24576 0
> i2c_i801 28672 0
> soundcore 16384 1 snd
> efivarfs 16384 1
> virtio_scsi 20480 0
> virtio_blk 20480 0
> virtio_console 32768 0
> xts 16384 0
> aes_x86_64 20480 1 aesni_intel
> ecb 16384 0
> cbc 16384 0
> sha512_generic 16384 0
> iscsi_tcp 20480 0
> libiscsi_tcp 24576 1 iscsi_tcp
> libiscsi 57344 2 libiscsi_tcp,iscsi_tcp
> scsi_transport_iscsi 102400 2 iscsi_tcp,libiscsi
> ixgb 65536 0
> ixgbe 360448 0
> mdio 16384 1 ixgbe
> bonding 180224 0
> vxlan 57344 0
> ip6_udp_tunnel 16384 1 vxlan
> udp_tunnel 16384 1 vxlan
> macvlan 28672 0
> vmxnet3 65536 0
> virtio_net 49152 0
> net_failover 20480 1 virtio_net
> failover 16384 1 net_failover
> virtio_ring 28672 4 virtio_console,virtio_scsi,virtio_blk,virtio_net
> virtio 16384 4 virtio_console,virtio_scsi,virtio_blk,virtio_net
> igb 249856 0
> ptp 20480 2 igb,ixgbe
> pps_core 20480 1 ptp
> i2c_algo_bit 16384 2 igb,i915
> dca 16384 2 igb,ixgbe
> e1000 155648 0
> fuse 122880 1
> overlay 122880 0
> nfs 303104 0
> lockd 110592 1 nfs
> grace 16384 1 lockd
> sunrpc 413696 2 lockd,nfs
> fscache 380928 1 nfs
> jfs 208896 0
> ext4 733184 0
> crc16 16384 2 bluetooth,ext4
> mbcache 16384 1 ext4
> jbd2 118784 1 ext4
> fscrypto 32768 1 ext4
> multipath 16384 0
> linear 16384 0
> raid10 57344 0
> raid1 45056 0
> raid0 20480 0
> dm_raid 40960 0
> raid456 163840 1 dm_raid
> async_raid6_recov 20480 1 raid456
> async_memcpy 16384 2 raid456,async_raid6_recov
> md_mod 163840 7 raid1,dm_raid,raid10,raid0,linear,raid456,multipath
> async_pq 16384 2 raid456,async_raid6_recov
> async_xor 16384 3 async_pq,raid456,async_raid6_recov
> xor 24576 1 async_xor
> async_tx 16384 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
> raid6_pq 122880 3 async_pq,raid456,async_raid6_recov
> dm_snapshot 49152 0
> dm_bufio 32768 1 dm_snapshot
> dm_crypt 40960 0
> dm_mirror 28672 0
> dm_region_hash 20480 1 dm_mirror
> dm_log 20480 2 dm_region_hash,dm_mirror
> dm_mod 147456 6 dm_raid,dm_crypt,dm_log,dm_snapshot,dm_mirror,dm_bufio
> firewire_core 81920 0
> crc_itu_t 16384 1 firewire_core
> hid_microsoft 16384 0
> hid_logitech 24576 0
> sl811_hcd 28672 0
> ohci_pci 16384 0
> ohci_hcd 57344 1 ohci_pci
> uhci_hcd 49152 0
> usb_storage 69632 3 uas
> ehci_pci 16384 0
> ehci_hcd 94208 1 ehci_pci
> scsi_transport_fc 69632 0
> hid_generic 16384 0
> usbhid 57344 0
> gdth 98304 0
> sr_mod 28672 0
> cdrom 69632 1 sr_mod
> sg 40960 0
> sd_mod 53248 5
> ahci 40960 1
> xhci_pci 16384 0
> libahci 40960 1 ahci
> xhci_hcd 266240 1 xhci_pci
> libata 229376 2 libahci,ahci
> scsi_mod 245760 12 gdth,virtio_scsi,sd_mod,scsi_transport_iscsi,scsi_transport_fc,usb_storage,iscsi_tcp,uas,libiscsi,libata,sg,sr_mod
> usbcore 290816 13 xhci_hcd,ohci_hcd,ehci_pci,sl811_hcd,usbhid,usb_storage,uvcvideo,ehci_hcd,btusb,xhci_pci,ohci_pci,uas,uhci_hcd
> intel_ishtp 45056 2 intel_ishtp_hid,intel_ish_ipc
> hid 126976 8 i2c_hid,hid_logitech,usbhid,hid_multitouch,hid_sensor_hub,hid_microsoft,intel_ishtp_hid,hid_generic
> sparse_keymap 16384 3 intel_hid,dell_wmi,intel_vbtn

Screen shot (with reflected image of me :slight_smile:):

Pics of the solar setup?

The black box is the MPPT solar charge controller. It is rated at 40amps. It is connected to 4 150W solar panels wired in series (80v at 8amps current). The MPPT controller will vary the voltage to adjust the proper current for the battery. I have 4 315 amp hour 6v batteries wired in series for a 24v system. Below the black box is a gray one with is a standby PWM controller that is much simpler and guaranteed to work if I really need it. To the right is the wind generator system that takes the voltage from a 350W vertical wind turbine to the bus. Below it is a 2000W inverter to change 24v to 110v. The house has a 110v bus, a 24v bus, and a 12v bus. I use the 12v for all the lights, charging phones, etc. because it can run anything designed for automobiles, like car chargers, bulbs etc. The lights are all LED lights that are highly efficient.
led
They use anywhere from 11v to 30v and produce 1400 lumens of light while only using something like 3W.

I can charge laptops, run network gear, etc. from the 24v bus. Since computer gear is actually all DC I can use a device that steps the 24v down to whatever I need to charge a laptop. The one I am currently using (an Asus) uses 19v and around 6.5a. I can just cut the cord off the 110v AC power supply, rig a connection that is the right voltage, and plug the laptop directly into the system.
DC to DC adjustable power convertor:
image
The batteries with our food supply around them (we live in the jungle where you need a 4x4 off road vehicle to get around - when we buy food, we but lots!):
batteries

The roads in the rainy season:
muddy

The view:

3 Likes
>     ums_realtek            24576  0

My bet is for ums-realtek.

You will find it by tomorrow.

I’ll be right over to take a look! (Ha, I wish!). Thanks for the wonderful series of photographs!



Say Y here to include additional code to support the power-saving function for Realtek RTS51xx USB card readers.

If this driver is compiled as a module, it will be named ums-realtek.

yeah, fairly sure it’s that one. dmesg should be able to confirm it!

Gracias! I hope this is in build 29590. That is what I downloaded.

Gracias! I hope this is in build 29590. That is what I downloaded.

Let us know if it worked, :wink:

It worked perfectly. All is well. Installing Phoronix test suite as I type this to get down to the business of checking your work.

Same day service. Imagine that! Well done team. Is everything compiled LTO?

1 Like

most of our software yes