ubuntu 根文件系统搭载不起来
问题:ubuntu18.04 根文件系统搭载不起来现象:给内核添加一个自己编写的驱动,系统启动后,Ubuntu无法搭载,若去掉该驱动,则能搭载,请问是需要修改根文件哪才能正常搭载
出错logo:
[ 3.717486] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.724577] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.724842] platform regulatory.0: Direct firmware load for regulatory.db failed with
error -2
[ 3.724869] cfg80211: failed to load regulatory.db
[ 3.726797] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[ 3.729326] I : : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line
] : 417; : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '', rk_k
o_ver is '5', built at '16:33:45', on 'Aug 29 2022'.
[ 3.730138] Mali:
[ 3.730141] Mali device driver loaded
[ 3.733223] ret 1024 0
[ 3.733980] ALSA device list:
[ 3.734001] No soundcards found.
[ 3.737434] Freeing unused kernel memory: 1600K
[ 3.750722] Run /init as init process
NAME=Buildroot
VERSION=2018.02-rc3-00414-g782d415f13
ID=buildroot
VERSION_ID=2018.02-rc3
PRETTY_NAME="Buildroot 2018.02-rc3"
Starting logging: OK
Populating /dev using udev: [ 3.815431] udevd: starting version 3.2.7
[ 3.818557] udevd: specified group 'kvm' unknown
[ 3.824565] udevd: starting eudev-3.2.7
done
Initializing random number generator... done.
cmdline=storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normalstoragen
ode=/sdhci@fe310000 androidboot.verifiedbootstate=orange ro rootwait earlycon=uart8250,mm
io32,0xfe660000 console=ttyFIQ0 root=PARTLABEL=rootfs rootfstype=ext4 overlayroot=device:
dev=PARTLABEL=userdata,fstype=ext4,mkfs=1 coherent_pool=1m systemd.gpt_auto=0 cgroup_enab
le=memory swapaccount=1
Starting network:
read console from cmdline is /dev/ttyFIQ0
Starting recovery on Thu Jan1 00:00:04 1970
failed to read font: res=-1, fall back to the compiled-in font
cannot find/open a drm device: No such file or directory
Noui upgrade
recovery filesystem table
=========================
0 (null) /tmp ramdisk (null) (null) (null)
1 /dev/root / ext2 rw,noauto 0 1
2 proc /proc proc defaults 0 0
3 devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
4 tmpfs /dev/shm tmpfs mode=0777 0 0
5 tmpfs /tmp tmpfs mode=1777 0 0
6 tmpfs /run tmpfs mode=0755,nosuid,nodev 0 0
7 sysfs /sys sysfs defaults 0 0
8 /dev/block/by-name/misc /misc emmc defaults 0 0
9 /dev/block/by-name/userdata /userdata ext4 defaults 0 0
10 /dev/block/by-name/oem /oem ext2 defaults 0 0
11 /dev/sda1 /mnt/usb_storage vfat defaults 0 0
12 /dev/mmcblk1p1 /mnt/external_sd vfat defaults 0 0
executing '/usr/bin/relink-block.sh'
OK
Debug: configfs_init
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/uac1.gs0'
: No such file or directory
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/uac2.gs0'
: No such file or directory
[ 4.165359] file system registered
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/mtp.gs0':
No such file or directory
[ 4.173739] using random self ethernet address
[ 4.173788] using random host ethernet address
[ 4.179071] Mass Storage Function, version: 2009/09/11
[ 4.179111] LUN: removable file: (no medium)
[ 4.209662] read descriptors
[ 4.209771] read strings
executed '/usr/bin/relink-block.sh' done
executed '/usr/bin/relink-block.sh' return 0
buf = /dev/block/by-name/misc
### get mount_ponit = /dev/block/by-name/misc ###
emmc_point is /dev/mmcblk0
sd_point is (null)
sd_point_2 is (null)
Recovery start....................
read cmdline
>>> Boot from non-SDcard
executing '/usr/bin/relink-block.sh'
executed '/usr/bin/relink-block.sh' done
executed '/usr/bin/relink-block.sh' return 0
buf = /dev/block/by-name/misc
### get mount_ponit = /dev/block/by-name/misc ###
devices is not MTD.
I:Boot command: boot-recovery
I:Got arguments from boot message
executing '/usr/bin/relink-block.sh'
executed '/usr/bin/relink-block.sh' done
executed '/usr/bin/relink-block.sh' return 0
buf = /dev/block/by-name/misc
### get mount_ponit = /dev/block/by-name/misc ###
devices is not MTD.
Command: "recovery" "--wipe_all"
Formatting /userdata...
executing '/usr/bin/relink-block.sh'
executed '/usr/bin/relink-block.sh' done
executed '/usr/bin/relink-block.sh' return 0
No link to path !!!
executing '/usr/bin/relink-block.sh'
executed '/usr/bin/relink-block.sh' done
executed '/usr/bin/relink-block.sh' return 0
No link to path !!!
format '/dev/block/by-name/userdata' to ext4 filesystem
executing '/sbin/mke2fs'
Starting input-event-daemon: input-event-daemon: Start parsing /etc/input-event-daemon.co
nf...
input-event-daemon: Adding device: /dev/input/event0...
input-event-daemon: Adding device: /dev/input/event1...
input-event-daemon: Start listening on 2 devices...
done
#
页:
[1]