c-sky / buildroot

Buildroot for T-HEAD XuanTie CPU Series
Apache License 2.0
110 stars 53 forks source link

gx6605s成功编译固件,但是无法使用,HDMI显示器没有任何反应 #27

Open siestina opened 2 years ago

siestina commented 2 years ago

如标题所示,按照https://c-sky.github.io/docs/quick-compile.html教程所示无法成功,make CONF=thead_610_compat_next_glibc_br_defconfig 完成后打开thead_610_compat_next_glibc_br_defconfig文件夹并进行编译成功了,但是写入u盘使用却没有成功开机。

guoren83 commented 2 years ago

这个配置是基于串口终端的

On Wed, Nov 17, 2021 at 12:54 AM siestina @.***> wrote:

如标题所示,按照https://c-sky.github.io/docs/quick-compile.html教程所示无法成功,make CONF=thead_610_compat_next_glibc_br_defconfig 完成后打开thead_610_compat_next_glibc_br_defconfig文件夹并进行编译成功了,但是写入u盘使用却没有成功开机。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/c-sky/buildroot/issues/27, or unsubscribe https://github.com/notifications/unsubscribe-auth/AETCFKYMCYLJYP7FQUJWHJTUMKED7ANCNFSM5IEYJVYA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Best Regards Guo Ren

ML: https://lore.kernel.org/linux-csky/

siestina commented 2 years ago

那要如何修改为HDMI终端或是使用串口终端加什么设备实现操作?试了一下用普通USB连接电脑开终端什么都无法显示。usb线接上后显示了CH340,然后得到了端口号,开putty的serial通信,一直没有信号,比特率都是默认的9600。随后试着刷了成品img,同样的方式连电脑尝试并没有成功。尝试复位以后有显示了,但是乱码

guoren83 commented 2 years ago

两个 micro-usb 口,一个是 Jtag 一个是串口 115200n8

On Wed, Nov 17, 2021 at 9:25 PM siestina @.***> wrote:

那要如何修改为HDMI终端或是使用串口终端加什么设备实现操作?试了一下用普通USB连接电脑开终端没有用,是不是要接转换器

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

-- Best Regards Guo Ren

ML: https://lore.kernel.org/linux-csky/

siestina commented 2 years ago

两个 micro-usb 口,一个是 Jtag 一个是串口 115200n8 On Wed, Nov 17, 2021 at 9:25 PM siestina @.***> wrote: 那要如何修改为HDMI终端或是使用串口终端加什么设备实现操作?试了一下用普通USB连接电脑开终端没有用,是不是要接转换器 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. -- Best Regards Guo Ren ML: https://lore.kernel.org/linux-csky/ 感谢,设置好比特率以后就能正常使用了,可以用自己编译的系统玩,激动……

siestina commented 2 years ago

自己编的固件开机卡在这里,随后试着用网站下的固件,也是一样的问题~~卡在差不多同一个地方,看了一下内容,是不是缺少了什么模块?或是需要什么特殊的方式启动。 `X▒XRUNts_port=2 not support, please input 1. Partition Version : 102 Partition Count : 6 Write Protect : TRUE CRC32 Enable : TRUE Table CRC32 : 47574710

ID NAME FS CRC32 START TOTAL_SIZE MAIN_SIZE USED_SIZE Use% RES_SIZE

0 BOOT RAW 15B41918 00000000 128 KB 128 KB 83044 B 63% 0 MB 1 TABLE RAW 00020000 512 B 512 B 512 B 100% 0 MB 2 LOGO RAW C1050257 00020200 65024 B 65024 B 52441 B 80% 0 MB 3 KERNEL RAW F8017CC5 00030000 1728 KB 1728 KB 1697 KB 98% 0 MB 4 ROOT CRAMFS 176DAFD3 001e0000 1152 KB 1152 KB 684 KB 59% 0 MB 5 DATA MINIFS FF000000 00300000 1 MB 1 MB 1 B 0% 0 MB

GxLoader v1.9 20140509

cpu family : CSKY chip model : gx6605s board type : 6605s memory size : 64 MB Flash type : w25q32 Flash size : 4 MB error: can't support 60HZ with PAL. warning: board-init not call function enable_dac, will open cvbs & ypbpr default. Hit any key to stop autoboot: 1

USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found Device NOT ready Request Sense returned 02 3A 00 2 Storage Device(s) found Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 reading gx6605s.dtb get file gx6605s.dtb, size : 1445 USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found Device NOT ready Request Sense returned 02 3A 00 2 Storage Device(s) found Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 reading uImage get file uImage, size : 4131004 uImage_load_kernel.

[ 0.000000] Linux version 5.10.4 (root@runner-72989761-project-3366729-concurrent-0) (csky-buildroot-linux-gnuabiv1-gcc.br_real (Buildroot -g5fe9fbd) 6.3.0, GNU ld (GNU Binutils) 2.27) #2 Tue May 11 03:46:38 UTC 2021 [ 0.000000] Phys. mem: 64MB [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000010000000-0x0000000013ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000010000000-0x0000000013ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000010000000-0x0000000013ffffff] [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 init=/sbin/init root=/dev/sda2 rw rootwait [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.000000] Sorting __ex_table... [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] initrd not found or empty [ 0.000000] - disabling initrd [ 0.000000] Memory: 54712K/65536K available (4723K kernel code, 575K rwdata, 2468K rodata, 140K init, 2333K bss, 10824K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 64 [ 0.000000] random: get_random_bytes called from start_kernel+0x17c/0x400 with crng_init=0 [ 0.000052] sched_clock: 32 bits at 27MHz, resolution 37ns, wraps every 79536431085ns [ 0.000183] clocksource: gx6605s: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 70787423951 ns [ 0.000550] Console: colour dummy device 80x25 [ 0.000683] Calibrating delay loop... 382.46 BogoMIPS (lpj=764928) [ 0.028265] pid_max: default: 32768 minimum: 301 [ 0.028566] LSM: Security Framework initializing [ 0.028649] Yama: becoming mindful. [ 0.028941] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.029060] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.033555] ASID allocator initialised with 256 entries [ 0.035023] devtmpfs: initialized [ 0.038594] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.038694] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.040339] NET: Registered protocol family 16 [ 0.043279] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.043535] audit: initializing netlink subsys (disabled) [ 0.077766] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1 [ 0.092714] vgaarb: loaded [ 0.093906] SCSI subsystem initialized [ 0.095071] usbcore: registered new interface driver usbfs [ 0.095345] usbcore: registered new interface driver hub [ 0.095635] usbcore: registered new device driver usb [ 0.096020] mc: Linux media interface: v0.10 [ 0.096246] videodev: Linux video capture interface: v2.00 [ 0.099659] clocksource: Switched to clocksource gx6605s [ 0.100314] VFS: Disk quotas dquot_6.6.0 [ 0.100529] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.138081] NET: Registered protocol family 2 [ 0.139628] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.139893] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.139960] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.140012] TCP: Hash tables configured (established 1024 bind 1024) [ 0.140782] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.140865] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.141418] NET: Registered protocol family 1 [ 0.143441] RPC: Registered named UNIX socket transport module. [ 0.143503] RPC: Registered udp transport module. [ 0.143531] RPC: Registered tcp transport module. [ 0.143559] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.143601] PCI: CLS 0 bytes, default 16 [ 0.146626] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.164528] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.165169] romfs: ROMFS MTD (C) 2007 Red Hat, Inc. [ 0.165427] fuse: init (API version 7.32) [ 0.166490] 9p: Installing v9fs 9p2000 file system support [ 0.167526] Key type asymmetric registered [ 0.167585] Asymmetric key parser 'x509' registered [ 0.168016] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.168067] io scheduler mq-deadline registered [ 0.168099] io scheduler kyber registered [ 0.169094] IPMI message handler: version 39.2 [ 0.395597] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.400662] printk: console [ttyS0] disabled [ 0.400878] 403000.serial: ttyS0 at MMIO 0x403000 (irq = 15, base_baud = 1843200) is a 16550A [ 0.866724] printk: console [ttyS0] enabled [ 1.034248] brd: module loaded [ 1.077827] loop: module loaded [ 1.083490] libphy: Fixed MDIO Bus: probed [ 1.088675] usbcore: registered new interface driver rtl8150 [ 1.094781] usbcore: registered new interface driver r8152 [ 1.100437] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.107093] ehci-pci: EHCI PCI platform driver [ 1.111910] ehci-platform: EHCI generic platform driver [ 1.117659] ehci-platform 900000.ehci-hcd: EHCI Host Controller [ 1.123893] ehci-platform 900000.ehci-hcd: new USB bus registered, assigned bus number 1 [ 1.133180] ehci-platform 900000.ehci-hcd: irq 59, io mem 0x00900000 [ 1.155724] ehci-platform 900000.ehci-hcd: USB 2.0 started, EHCI 1.00 [ 1.164620] hub 1-0:1.0: USB hub found [ 1.168727] hub 1-0:1.0: 2 ports detected [ 1.174418] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.180858] ohci-pci: OHCI PCI platform driver [ 1.186041] usbcore: registered new interface driver usb-storage [ 1.193309] usbcore: registered new interface driver uvcvideo [ 1.199236] USB Video Class driver (1.1.1) [ 1.203490] ledtrig-cpu: registered to indicate activity on CPUs [ 1.209606] random: fast init done [ 1.214014] usbcore: registered new interface driver usbhid [ 1.219764] usbhid: USB HID core driver [ 1.224441] NET: Registered protocol family 17 [ 1.229436] 9pnet: Installing 9P2000 support [ 1.240113] Key type encrypted registered [ 1.244422] ima: No TPM chip found, activating TPM-bypass! [ 1.250092] ima: Allocated hash algorithm: sha1 [ 1.254864] ima: No architecture policies found [ 1.259871] evm: Initialising EVM extended attributes: [ 1.265169] evm: security.ima [ 1.268256] evm: security.capability [ 1.271950] evm: HMAC attrs: 0x1 [ 1.278664] Waiting for root device /dev/sda2... [ 1.507749] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 1.711909] usb-storage 1-1:1.0: USB Mass Storage device detected [ 1.720408] scsi host0: usb-storage 1-1:1.0 [ 2.766701] scsi 0:0:0:0: Direct-Access Generic- USB3.0 CRW-SD 1.00 PQ: 0 ANSI: 4 [ 2.792347] scsi 0:0:0:1: Direct-Access Generic- USB3.0 CRW-SD/MS 1.00 PQ: 0 ANSI: 4 [ 4.098397] sd 0:0:0:1: [sdb] 30597120 512-byte logical blocks: (15.7 GB/14.6 GiB) [ 4.107843] sd 0:0:0:1: [sdb] Write Protect is off [ 4.112836] sd 0:0:0:1: [sdb] Mode Sense: 2f 00 00 00 [ 4.119360] sd 0:0:0:1: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 4.131318] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 4.148826] sdb: sdb1 sdb2 [ 4.160094] sd 0:0:0:1: [sdb] Attached SCSI removable disk [ 4.178745] VFS: Cannot open root device "sda2" or unknown-block(8,2): error -123 [ 4.186429] Please append a correct "root=" boot option; here are the available partitions: [ 4.194948] 0100 65536 ram0 [ 4.194963] (driver?) [ 4.201340] 0101 65536 ram1 [ 4.201382] (driver?) [ 4.207726] 0102 65536 ram2 [ 4.207739] (driver?) [ 4.213997] 0103 65536 ram3 [ 4.214010] (driver?) [ 4.220343] 0104 65536 ram4 [ 4.220357] (driver?) [ 4.226613] 0105 65536 ram5 [ 4.226626] (driver?) [ 4.232940] 0106 65536 ram6 [ 4.232953] (driver?) [ 4.239220] 0107 65536 ram7 [ 4.239232] (driver?) [ 4.245551] 0108 65536 ram8 [ 4.245563] (driver?) [ 4.251879] 0109 65536 ram9 [ 4.251892] (driver?) [ 4.258147] 010a 65536 ram10 [ 4.258159] (driver?) [ 4.264564] 010b 65536 ram11 [ 4.264576] (driver?) [ 4.270918] 010c 65536 ram12 [ 4.270931] (driver?) [ 4.277346] 010d 65536 ram13 [ 4.277359] (driver?) [ 4.283765] 010e 65536 ram14 [ 4.283778] (driver?) [ 4.290119] 010f 65536 ram15 [ 4.290133] (driver?) [ 4.296545] 0810 15298560 sdb [ 4.296559] driver: sd [ 4.302817] 0811 8192 sdb1 263ae7d4-01 [ 4.302829] [ 4.309343] 0812 524288 sdb2 263ae7d4-02 [ 4.309356] [ 4.315926] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2) [ 4.324246] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.4 #2 [ 4.330020] Call Trace: [ 4.332551] [<90025150>] walk_stackframe+0x0/0x98 [ 4.337308] [<90025232>] show_stack+0x16/0x38 [ 4.341719] [<904b45b4>] dump_stack+0x10/0x2c [ 4.346119] [<904b45ac>] dump_stack+0x8/0x2c [ 4.350434] [<904b33cc>] panic+0x88/0x208 [ 4.354512] [<9001d294>] initcall_level_names+0x1c/0x20 [ 4.359795] [<90001df0>] mount_block_root+0x104/0x1bc [ 4.364900] [<9000292e>] do_utime+0x22/0x28 [ 4.369126] [<900bc3a8>] done_path_create+0x20/0x40 [ 4.374048] [<900bc3a4>] done_path_create+0x1c/0x40 [ 4.378977] [<9000a080>] init_mknod+0x98/0xd0 [ 4.383390] [<9001d274>] initcall_levels+0x20/0x24 [ 4.388230] [<90001088>] rdinit_setup+0x24/0x28 [ 4.392813] [<9001d270>] initcall_levels+0x1c/0x24 [ 4.397655] [<9001d2d4>] saved_root_name+0x30/0x40 [ 4.402498] [<90001f2e>] mount_root+0x86/0xe0 [ 4.406913] [<9001d270>] initcall_levels+0x1c/0x24 [ 4.411756] [<9001d270>] initcall_levels+0x1c/0x24 [ 4.416598] [<9001d2d4>] saved_root_name+0x30/0x40 [ 4.421437] [<9001d2a0>] root_delay+0x0/0x4 [ 4.425674] [<90002028>] prepare_namespace+0xa0/0x12c [ 4.430775] [<90001a2c>] kernel_init_freeable+0xdc/0x184 [ 4.436133] [<90001088>] rdinit_setup+0x24/0x28 [ 4.440720] [<90022a80>] __initcall_clk_disable_unused7s+0x0/0x4 [ 4.446784] [<904b59ac>] rest_init+0x7c/0x80 [ 4.451101] [<904b59b4>] kernel_init+0x4/0xc4 [ 4.455511] [<90023d62>] ret_from_kernel_thread+0x2/0x20 [ 4.460881] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2) ]--- `

siestina commented 2 years ago

自己编的固件开机卡在这里,随后试着用网站下的固件,也是一样的问题~~卡在差不多同一个地方,看了一下内容,是不是缺少了什么模块?或是需要什么特殊的方式启动。

`X▒XRUNts_port=2 not support, please input 1. Partition Version : 102 Partition Count : 6 Write Protect : TRUE CRC32 Enable : TRUE Table CRC32 : 47574710

ID NAME FS CRC32 START TOTAL_SIZE MAIN_SIZE USED_SIZE Use% RES_SIZE

0 BOOT RAW 15B41918 00000000 128 KB 128 KB 83044 B 63% 0 MB

1 TABLE RAW 00020000 512 B 512 B 512 B 100% 0 MB 2 LOGO RAW C1050257 00020200 65024 B 65024 B 52441 B 80% 0 MB 3 KERNEL RAW F8017CC5 00030000 1728 KB 1728 KB 1697 KB 98% 0 MB 4 ROOT CRAMFS 176DAFD3 001e0000 1152 KB 1152 KB 684 KB 59% 0 MB 5 DATA MINIFS FF000000 00300000 1 MB 1 MB 1 B 0% 0 MB

GxLoader v1.9 20140509

cpu family : CSKY chip model : gx6605s board type : 6605s memory size : 64 MB Flash type : w25q32 Flash size : 4 MB error: can't support 60HZ with PAL. warning: board-init not call function enable_dac, will open cvbs & ypbpr default. Hit any key to stop autoboot: 1

USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found Device NOT ready Request Sense returned 02 3A 00 2 Storage Device(s) found Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 reading gx6605s.dtb get file gx6605s.dtb, size : 1445 USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found Device NOT ready Request Sense returned 02 3A 00 2 Storage Device(s) found Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 Can't read partition table on 0:0 reading uImage get file uImage, size : 4131004 uImage_load_kernel.

[ 0.000000] Linux version 5.10.4 (root@runner-72989761-project-3366729-concurrent-0) (csky-buildroot-linux-gnuabiv1-gcc.br_real (Buildroot -g5fe9fbd) 6.3.0, GNU ld (GNU Binutils) 2.27) #2 Tue May 11 03:46:38 UTC 2021 [ 0.000000] Phys. mem: 64MB [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000010000000-0x0000000013ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000010000000-0x0000000013ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000010000000-0x0000000013ffffff] [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 init=/sbin/init root=/dev/sda2 rw rootwait [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.000000] Sorting __ex_table... [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] initrd not found or empty [ 0.000000] - disabling initrd [ 0.000000] Memory: 54712K/65536K available (4723K kernel code, 575K rwdata, 2468K rodata, 140K init, 2333K bss, 10824K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 64 [ 0.000000] random: get_random_bytes called from start_kernel+0x17c/0x400 with crng_init=0 [ 0.000052] sched_clock: 32 bits at 27MHz, resolution 37ns, wraps every 79536431085ns [ 0.000183] clocksource: gx6605s: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 70787423951 ns [ 0.000550] Console: colour dummy device 80x25 [ 0.000683] Calibrating delay loop... 382.46 BogoMIPS (lpj=764928) [ 0.028265] pid_max: default: 32768 minimum: 301 [ 0.028566] LSM: Security Framework initializing [ 0.028649] Yama: becoming mindful. [ 0.028941] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.029060] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.033555] ASID allocator initialised with 256 entries [ 0.035023] devtmpfs: initialized [ 0.038594] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.038694] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.040339] NET: Registered protocol family 16 [ 0.043279] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.043535] audit: initializing netlink subsys (disabled) [ 0.077766] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1 [ 0.092714] vgaarb: loaded [ 0.093906] SCSI subsystem initialized [ 0.095071] usbcore: registered new interface driver usbfs [ 0.095345] usbcore: registered new interface driver hub [ 0.095635] usbcore: registered new device driver usb [ 0.096020] mc: Linux media interface: v0.10 [ 0.096246] videodev: Linux video capture interface: v2.00 [ 0.099659] clocksource: Switched to clocksource gx6605s [ 0.100314] VFS: Disk quotas dquot_6.6.0 [ 0.100529] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.138081] NET: Registered protocol family 2 [ 0.139628] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.139893] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.139960] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.140012] TCP: Hash tables configured (established 1024 bind 1024) [ 0.140782] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.140865] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.141418] NET: Registered protocol family 1 [ 0.143441] RPC: Registered named UNIX socket transport module. [ 0.143503] RPC: Registered udp transport module. [ 0.143531] RPC: Registered tcp transport module. [ 0.143559] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.143601] PCI: CLS 0 bytes, default 16 [ 0.146626] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.164528] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.165169] romfs: ROMFS MTD (C) 2007 Red Hat, Inc. [ 0.165427] fuse: init (API version 7.32) [ 0.166490] 9p: Installing v9fs 9p2000 file system support [ 0.167526] Key type asymmetric registered [ 0.167585] Asymmetric key parser 'x509' registered [ 0.168016] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.168067] io scheduler mq-deadline registered [ 0.168099] io scheduler kyber registered [ 0.169094] IPMI message handler: version 39.2 [ 0.395597] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.400662] printk: console [ttyS0] disabled [ 0.400878] 403000.serial: ttyS0 at MMIO 0x403000 (irq = 15, base_baud = 1843200) is a 16550A [ 0.866724] printk: console [ttyS0] enabled [ 1.034248] brd: module loaded [ 1.077827] loop: module loaded [ 1.083490] libphy: Fixed MDIO Bus: probed [ 1.088675] usbcore: registered new interface driver rtl8150 [ 1.094781] usbcore: registered new interface driver r8152 [ 1.100437] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.107093] ehci-pci: EHCI PCI platform driver [ 1.111910] ehci-platform: EHCI generic platform driver [ 1.117659] ehci-platform 900000.ehci-hcd: EHCI Host Controller [ 1.123893] ehci-platform 900000.ehci-hcd: new USB bus registered, assigned bus number 1 [ 1.133180] ehci-platform 900000.ehci-hcd: irq 59, io mem 0x00900000 [ 1.155724] ehci-platform 900000.ehci-hcd: USB 2.0 started, EHCI 1.00 [ 1.164620] hub 1-0:1.0: USB hub found [ 1.168727] hub 1-0:1.0: 2 ports detected [ 1.174418] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.180858] ohci-pci: OHCI PCI platform driver [ 1.186041] usbcore: registered new interface driver usb-storage [ 1.193309] usbcore: registered new interface driver uvcvideo [ 1.199236] USB Video Class driver (1.1.1) [ 1.203490] ledtrig-cpu: registered to indicate activity on CPUs [ 1.209606] random: fast init done [ 1.214014] usbcore: registered new interface driver usbhid [ 1.219764] usbhid: USB HID core driver [ 1.224441] NET: Registered protocol family 17 [ 1.229436] 9pnet: Installing 9P2000 support [ 1.240113] Key type encrypted registered [ 1.244422] ima: No TPM chip found, activating TPM-bypass! [ 1.250092] ima: Allocated hash algorithm: sha1 [ 1.254864] ima: No architecture policies found [ 1.259871] evm: Initialising EVM extended attributes: [ 1.265169] evm: security.ima [ 1.268256] evm: security.capability [ 1.271950] evm: HMAC attrs: 0x1 [ 1.278664] Waiting for root device /dev/sda2... [ 1.507749] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 1.711909] usb-storage 1-1:1.0: USB Mass Storage device detected [ 1.720408] scsi host0: usb-storage 1-1:1.0 [ 2.766701] scsi 0:0:0:0: Direct-Access Generic- USB3.0 CRW-SD 1.00 PQ: 0 ANSI: 4 [ 2.792347] scsi 0:0:0:1: Direct-Access Generic- USB3.0 CRW-SD/MS 1.00 PQ: 0 ANSI: 4 [ 4.098397] sd 0:0:0:1: [sdb] 30597120 512-byte logical blocks: (15.7 GB/14.6 GiB) [ 4.107843] sd 0:0:0:1: [sdb] Write Protect is off [ 4.112836] sd 0:0:0:1: [sdb] Mode Sense: 2f 00 00 00 [ 4.119360] sd 0:0:0:1: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 4.131318] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 4.148826] sdb: sdb1 sdb2 [ 4.160094] sd 0:0:0:1: [sdb] Attached SCSI removable disk [ 4.178745] VFS: Cannot open root device "sda2" or unknown-block(8,2): error -123 [ 4.186429] Please append a correct "root=" boot option; here are the available partitions: [ 4.194948] 0100 65536 ram0 [ 4.194963] (driver?) [ 4.201340] 0101 65536 ram1 [ 4.201382] (driver?) [ 4.207726] 0102 65536 ram2 [ 4.207739] (driver?) [ 4.213997] 0103 65536 ram3 [ 4.214010] (driver?) [ 4.220343] 0104 65536 ram4 [ 4.220357] (driver?) [ 4.226613] 0105 65536 ram5 [ 4.226626] (driver?) [ 4.232940] 0106 65536 ram6 [ 4.232953] (driver?) [ 4.239220] 0107 65536 ram7 [ 4.239232] (driver?) [ 4.245551] 0108 65536 ram8 [ 4.245563] (driver?) [ 4.251879] 0109 65536 ram9 [ 4.251892] (driver?) [ 4.258147] 010a 65536 ram10 [ 4.258159] (driver?) [ 4.264564] 010b 65536 ram11 [ 4.264576] (driver?) [ 4.270918] 010c 65536 ram12 [ 4.270931] (driver?) [ 4.277346] 010d 65536 ram13 [ 4.277359] (driver?) [ 4.283765] 010e 65536 ram14 [ 4.283778] (driver?) [ 4.290119] 010f 65536 ram15 [ 4.290133] (driver?) [ 4.296545] 0810 15298560 sdb [ 4.296559] driver: sd [ 4.302817] 0811 8192 sdb1 263ae7d4-01 [ 4.302829] [ 4.309343] 0812 524288 sdb2 263ae7d4-02 [ 4.309356] [ 4.315926] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2) [ 4.324246] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.4 #2 [ 4.330020] Call Trace: [ 4.332551] [<90025150>] walk_stackframe+0x0/0x98 [ 4.337308] [<90025232>] show_stack+0x16/0x38 [ 4.341719] [<904b45b4>] dump_stack+0x10/0x2c [ 4.346119] [<904b45ac>] dump_stack+0x8/0x2c [ 4.350434] [<904b33cc>] panic+0x88/0x208 [ 4.354512] [<9001d294>] initcall_level_names+0x1c/0x20 [ 4.359795] [<90001df0>] mount_block_root+0x104/0x1bc [ 4.364900] [<9000292e>] do_utime+0x22/0x28 [ 4.369126] [<900bc3a8>] done_path_create+0x20/0x40 [ 4.374048] [<900bc3a4>] done_path_create+0x1c/0x40 [ 4.378977] [<9000a080>] init_mknod+0x98/0xd0 [ 4.383390] [<9001d274>] initcall_levels+0x20/0x24 [ 4.388230] [<90001088>] rdinit_setup+0x24/0x28 [ 4.392813] [<9001d270>] initcall_levels+0x1c/0x24 [ 4.397655] [<9001d2d4>] saved_root_name+0x30/0x40 [ 4.402498] [<90001f2e>] mount_root+0x86/0xe0 [ 4.406913] [<9001d270>] initcall_levels+0x1c/0x24 [ 4.411756] [<9001d270>] initcall_levels+0x1c/0x24 [ 4.416598] [<9001d2d4>] saved_root_name+0x30/0x40 [ 4.421437] [<9001d2a0>] root_delay+0x0/0x4 [ 4.425674] [<90002028>] prepare_namespace+0xa0/0x12c [ 4.430775] [<90001a2c>] kernel_init_freeable+0xdc/0x184 [ 4.436133] [<90001088>] rdinit_setup+0x24/0x28 [ 4.440720] [<90022a80>] __initcall_clk_disable_unused7s+0x0/0x4 [ 4.446784] [<904b59ac>] rest_init+0x7c/0x80 [ 4.451101] [<904b59b4>] kernel_init+0x4/0xc4 [ 4.455511] [<90023d62>] ret_from_kernel_thread+0x2/0x20 [ 4.460881] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2) ]--- `

……试了好一会,自己解决了,似乎是读卡器供电不足的关系,更换了读卡器。