解决软件卸载时Abstract: "Invalid serial number" xe4

本文介绍了解决RAD Studio、Delphi、C++Builder等XE4版本在修改、修复、升级或卸载过程中出现“无效序列号”错误的方法。通过编辑特定的CGLM.INI文件并移除错误行,可以有效解决此问题。

 

In RAD Studio, Delphi, C++Builder, XE4 there can become a scenario if you try to modify, repair, upgrade, or even remove the installation you will get an "Invalid serial number" message.

The solution appears fairly simple and we have tracked it down where we are adding a couple of errant lines to our CGLM.INI files. You can find/edit these in 2 locations:

[on 64-bit Windows 7 and later]

\ProgramData\Embarcadero\RAD Studio\11.0

\Program Files (x86)\Embarcadero\RAD Studio\11.0\bin

[on Windows XP]

\Documents and Settings\All Users\Application Data\Embarcadero\RAD Studio\11.0

\Program Files\Embarcadero\RAD Studio\11.0\bin

The malformed lines will look something like:

_4=---

_36=---

_20=---

If you just edit and remove those lines and leave the rest, the installer action should perform better on the next attempt.

Please keep in mind that the file in Program Files will have some permissions restrictions on Win7 and later operating systems. The easiest way to edit often is to copy elsewhere like your Desktop, edit, and then copy back and overwrite the previous one.

**Be sure to make backup copies prior to any editing.

删除掉那三行就可以了
[ 0.811190] usb 1-1.4: new high-speed USB device number 4 using dwc2 [ 1.183874] ax88179_178a 1-1.4:1.0 eth0: register 'ax88179_178a' at usb-13500000.otg-1.4, ASIX AX88178A USB 2.0 Gigabit Ethernet, 00:0e:c6:81:78:01 [ 1.994360] stop mcu watchdog [ 2.404301] sonia (761): drop_caches: 3 [ 2.510165] WATCHDOG: start watch dog! [ 2.515049] [PDC][ERROR] (MISC_ioctl|402): pCbparams->OpGetCryLanguage is NULL [ 5.357246] RMEM: source not free, pid = 840, name = sonia, mem = 0b7af0ff, size = 577536 Segmentation fault (core dumped) # # # # # dmesg [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x00000000036fffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000036fffff] [ 0.000000] On node 0 totalpages: 14080 [ 0.000000] Normal zone: 110 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 14080 pages, LIFO batch:3 [ 0.000000] percpu: Embedded 15 pages/cpu s29168 r8192 d24080 u61440 [ 0.000000] pcpu-alloc: s29168 r8192 d24080 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 13970 [ 0.000000] Kernel command line: console=ttyS2,3000000n8 quiet mem=55M@0x0 rmem=5M@0x3700000 rtos_size=4M@0x3c00000 init=/linuxrc flashtype=nor clk_ignore_unused root=/dev/ram0 rd_start=0x81000000 rd_size=0xa00000 rw lpj=11935744 [ 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] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 35052K/56320K available (5126K kernel code, 267K rwdata, 796K rodata, 264K init, 116K bss, 21268K reserved, 0K cma-reserved) [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value ofscheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 411 [ 0.000000] parse cpu-intc-iomap, intc define in dt is too large! [ 0.000000] core irq setup finished [ 0.000000] percpu irq inited. [ 0.000000] ad100 Clock Power Management Unit init! [ 0.000000] =========== ad100 clocks: ============= [ 0.000000] apll = 1200000000 , mpll = 1200000000, ddr = 600000000 [ 0.000000] cpu_clk = 1200000000 , l2c_clk = 600000000 [ 0.000000] ahb0_clk = 300000000 , ahb2_clk = 300000000 [ 0.000000] apb_clk = 150000000 , ext_clk = 24000000 [ 0.000000] [ 0.000000] parse cpu-ost-iomap, ost number define in dt is too large! [ 0.000000] percpu cpu_num:0 timerevent init [ 0.000000] lockevents_config_and_register success. [ 0.000000] clocksource: jz_clocksource: mask: 0x7fffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000000] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000000] Failed to initialize '/core-ost@0x12000000': 75 [ 0.000000] timer_probe: no matching timers found [ 0.000000] Calibrating delay loop (skipped) preset value.. 2387.14 BogoMIPS (lpj=11935744) [ 0.000000] pid_max: default: 32768 minimum: 301 [ 0.000000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.000000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.000000] [SMP] Prepare 2 cores., cpu: 0 [ 0.000000] rcu:Hierarchical SRCU implementation. [ 0.000000] smp: Bringing up secondary CPUs ... [ 0.000000] [SMP] Booting CPU1 ... [ 0.000000] CPU1 RESET ERROR PC:FFFFFFE [ 0.000000] Primary instruction cache 32kB, VIVT, 8-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 8-way, VIPT, no aliases, linesize 32 bytes [ 0.000000] =======found ...... ingenic sc cache ops ...!, found: 1 [ 0.000000] [ 0.000000] Unified secondary cache 256kB 8-way, linesize 64 bytes. [ 0.000000] #### now starting init for cpu : 1 [ 0.000000] percpu irq inited. [ 0.000000] percpu cpu_num:1 timerevent init [ 0.000000] clockevents_config_and_register success. [ 0.000000] CPU1 revision is: 00132000 (Ingenic XBurst II) [ 0.000000] FPU revision is: 00f32000 [ 0.000000] MSA revision is: 00002000 [ 0.000000] [SMP] slave cpu1 start up finished. [ 0.000000] smp: Brought up 1 node, 2 CPUs [ 0.000000] devtmpfs: initialized [ 0.000000] clocksource: jiffies: mask: 0xffffffff max_cycles: xffffffff, max_idle_ns: 19112604462750000 ns [ 0.000000] futex hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.000000] pinctrl core: initialized pinctrl subsystem [ 0.000000] regulator: Failed to create debugfs directory [ 0.000000] regulator-dummy: Failed to create debugfs directory [ 0.000000] NET: Registered protocol family 16 [ 0.000000] genirq: irq_chip XBurst2-irqchip did not update eff. affinity mask of irq 25 [ 0.000000] ingenic pinctrl 13601000.pinctrl: 5 gpio chip add success, pins 160 [ 0.000000] ingenic pinctrl 13601000.pinctrl: ingenic pinctrl probe success [ 0.000000] dmmu_init 994 PTRS_PER_PTE = 1024 [ 0.000000] usbcore: registered new interface driver usbfs [ 0.000000]sbcore: registered new interface driver hub [ 0.000000] usbcore: registered new device driver usb [ 0.000000] mc: Linux media interface: v0.10 [ 0.000000] videodev: Linux video capture interface: v2.00 [ 0.000000] ingenic-dma 13660000.dma: IRQ pdmam not found [ 0.000000 ingenic-dma 13660000.dma: INGENIC SoC DMA initialized 0.000000] ingenic-dma 13420000.dma: IRQ pdmam not found [ 0.000000] ingenic-dma 13420000.dma: INGENIC SoC DMA initialized [ 0.000035] clocksource: Switched to clocksource jz_clocksource [ 0.002059] NET: Registered protocol family 2 [ 0.002953] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.003012] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.003038] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.003063] TCP: Hash tables configured (established 1024 bind 1024) [ 0.003157] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.003189] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.003355] NET: Registered protocol family 1 [ 0.007462] Trying to unpack rootfs image as initramfs... [ 0.037939] rootfs image is not initramfs (invalid magic at start of compressed archive); looks like an initrd [ 0.059433] Freeing initrd memory: 10240K [ 0.061149] Initialise system trusted keyrings [ 0.061296] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.061516] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.061674] Key type asymmetric registered [ 0.061684] Asymmetric key parser 'x509' registered [ 0.061694] io scheduler mq-deadline registered [ 0.061701] io scheduler kyber registered [ 0.063818] brd: module loaded [ 0.064930] loop: module loaded [ 0.064942] the cryptoloop driver has been deprecated and will be removed in in Linux 5.16 [ 0.065980] usbcore: registered new interface driver cdc_ether [ 0.066118] usbcore: registered new interface driver rndis_host [ 0.066282] usbcore: registered new interface driver cdc_ncm [ 0.067441] dwc2 13500000.otg: supply vusb_d not found, using dummy regulator [ 0.067771] dwc2 13500000.otg: supply vusb_a not found, using dummy regulator [ 0.068443] usbcore: registered new interface driver cdc_acm [ 0.068455] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 0.068467] i2c /dev entries driver [ 0.069130] sdhci: Secure Digital Host Controller Interface driver [ 0.069140] sdhci: Copyright(c) Pierre Ossman [ 0.069824] usbcore: registered new interface driver usbhid [ 0.069834] usbhid: USB HID core driver [ 0.070734] NET: Registered protocol family 17 [ 0.071223] failed to init reserved mem !!!!!!!!!!!!!!!!!!!! [ 0.071233] JZ JPEG DECODER TEST DRIVER Probe end !!!!!!!!!!!!!! [ 0.071695] jpege irq = 70 [ 0.071948] failed to init reserved mem !!!!!!!!!!!!!!!!!!!! [ 0.071957] JZ JPEG ENCODER TEST DRIVER Probe end !!!!!!!!!!!!!! [ 0.072809] felix-vdec 13300000.felix: assigned reserved memory node reserved_mem@0x3350000 [ 0.072825] felix-vdec 13300000.feli: h264decoder(felix) registered as /dev/video2 [ 0.073406] Enter 'CDT' mode. [ 0.073415] Enter 'DMA Descriptor chain' mode. [ 0.073437] create CDT index: 0 ~ 6, index number:7. [ 0.073576] ingenic-sfc 13440000.sfc: Use burner params. [ 0.073619] ingenic-sfc 13440000.sfc: part nm max = 15 [ 0.074355] ingenic-sfc 13440000.sfc: magic is 0x726f6e version is 0xf [ 0.074379] ingenic-sfc 13440000.sfc: cmdline : mtdparts=jz_sfc:64K(boot),320K(rtos),64K(hwid),64K(hwidbackup),3584K(kernel),3840K(rootfs),3776K(user),512K(config),256K(backup),384K(log),1728K(min_kernel),1728K(min_rootfs) [ 0.074567] create CDT index: 6 ~ 33, index number:28. [ 0.074574] clk freq too hight! set to 200M [ 0.074646] dwc2 13500000.otg: Configuration mismatch. dr_mode forced to host [ 0.074697] ingenic-sfc 13440000.sfc: nor flash quad mode is set, now use quad mode! [ 0.07517Creating 12 MTD partitions on "sfc_mtd": [ 0.075189] 0x000000000000-0x000000010000 : "boot" [ 0.086994] 0x000000010000-0x000000060000 : "rtos" [ 0.100947] 0x000000060000-0x000000070000 : "hwid" [ 0.111683] 0x000000070000-0x000000080000 : "hwidbackup" [ 0.113662] 0x000000080000-0x000000400000 : "kernel" [ 0.115588] 0x00000040000-0x0000007c0000 : "rootfs" [ 0.117524] 0x0000007c0000-0x000000b70000 : "user" [ 0.119549] 0x000000b70000-0x000000bf0000 : "config" [ 0.121564] 0x000000bf0000-0x000000c30000 : "backup" [ 0.123479] 0x000000c30000-0x000000c90000 : "log" [ 0.125370] 0x000000c90000-0x00000e40000:: "min_kernel" [ 0.127324] 0x000000e40000-0x000000ff0000 : "min_rootfs" [ 0.129255] ingenic-sfc 13440000.sfc: SPI NOR MTD LOAD OK [ 0.129709] 10032000.serial: ttyS2 at MMIO 0x10032000 (irq = 53, base_baud = 9375000) is a uart2 [ 0.129746] printk: console [ttyS2] enabled [ 0.129754] printk: bootconsole [early0] disabled [ 0.130680] 10035000.serial: ttyS5 at MMIO 0x10035000 (irq = 50, base_baud = 9375000) is a uart5 [ 0.131601] imou early init [ 0.131842] watchdog_gpio gpio:-1 illegal [ 0.131851] watchdog gpio init failed [ 0.132330] Loading compiled-in X.509 certificates [ 0.133692] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 0.133706] clk: Not disabling unused clocks [ 0.133979] Freeing unused kernel memory: 264K [ 0.133987] This architecture does not have kernel memory protection. [ 0.134004] Run /init as init process [ 0.134008] with arguments: [ 0.134011] /init [ 0.134016] with environment: [ 0.134020] HOME=/ [ 0.134023] TERM=linux [ 0.134027] rmem=5M@0x3700000 [ 0.134030] rtos_size=c00000 [ 0.134285] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 0.134300] cfg80211: failed to load regulatory.db [ 0.134347] process '/bin/busybox' started with executable stack [ 0.176312] dwc2 13500000.otg: DWC OTG Controller [ 0.176359] dwc2 13500000.otg: new USB bus registerd, asigned bus number 1 [ 0.176413] dwc2 13500000.otg: irq 9, io mem 0x13500000 [ 0.177304] hub 1-0:1.0: USB hub found [ 0.177365] hub 1-0:1.0: 1 port detected [ 0.203938] utils: loading out-of-tree module taints kernel. [ 0.366232] mmc0: SDHCI controller on ingenic-sdhci [m_ingenic,shhci.1] using ADMA [ 0.396400] mmc0: new high speed SDIO card at address 0001 [ 0.408091] awake key_value :1 [ 0.408102] isFirstPowerup is 3 [ 0.408133] awake key_value :3 [ 0.422386] usb 1-1: new high-speed USB device number 2 using dwc2 [ 0.434245] hub 1-1:1.0: USB hub found [ 0.434982] hub 1-1:1.0: 4 ports detected [ 0.448637] syschannel start run [ 0.448667] oal_netlink_init is success [ 0.448890] md_ingenic,sdhci md_ingenic,sdhci.1: card insert manually [ 0.449490] [SDIO][I]sdio func[1] match vid=0xed2e pid=0xffac[sdio_probe:1529] [ 0.449611] [SDIO][I]max_blk_size:1024,max_blk_count:65535,max_req_size:524288[sdio_probe:1551] [ 0.449684] [SDIO][I]sdio state changed, tx[off=>on ],rx[off=>on ][sdio_print_state:353] [ 0.450194] [HCC] hcc init succ [ 0.450215] host start hcc type:1 [ 0.450223] host start hcc type:0 [ 0.451327] netdev_register SUCCESSFULLY [ 0.451588] syschannel.ko insmod SUCCESSFULLY [ 0.461496] awake key_value :3 [ 0.461507] isFirstPowerup is 3 [ 0.461542] awake key_value :3 [ 0.591758] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00320000: 0x0527 instead [ 0.591772] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00320004: 0x283e instead [ 0.591779] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00320008: 0x7f68 instead [ 0.591784] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0032000c: 0x1800 instead [ 0.591789] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00320010: 0xc900 instead [ 0.591794] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00320014: 0xe400 instead [ 0.591800] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00320018: 0x8571 instead [ 0.591805] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0032001c: 0x0205 instead [ 0.591810] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00320020: 0x696d instead [ 0.591815] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00320024: 0x656b instead [ 0.591819] jffs2: Further such events for this erase block will not be printed [ 0.592025] jffs2: Empty flash at 0x00320108 ends at 0x0032010c [ 0.634165] [PDC][INFO] (PDC_drvInit|175): [ 0.634165] [ 0.634165] DeviceKit Build on Jul 17 2025 at 15:45:49. [ 0.634176] [ 0.635084] [PDC][INFO] (PDC_CdevCreate|753): char device:PdcMCU create OK ! [ 0.635097] [ 0.635138] [PDC][ERROR] (PDC_wakeupInit|325): requist gpio38 for wakeup reason failed [ 0.635146] [ 0.635157] [PDC][ERROR] (PDC_wakeupInit|325): requist gpio39 for wakeup reason failed [ 0.635162] [ 0.635877] [PDC][INFO] (PDC_CdevCreate|753): char device:PdcWakeup create OK ! [ 0.6358 0.636620] [PDC][INFO] (PDC_CdevCreate|753): char device:PdcMisc create OK ! [ 0.636632] [ 0.636640] [PDC][INFO] (PDC_drvInit|206): PDC Driver Initial OK ! [ 0.636645] [ 0.639876] usbcore: registered new interface driver ax88179_178a [ 0.642807] usbcre: registered new interface driver cdc_eem [ 0.720946] usb 1-1.3: newhigh-speed SSB device number 3 using dwc2 [ 0.735363] cdc_ether 1-1.3:1.0 usb0: register 'cdc_ether' at usb-13500000.otg-1.3, CDC Ethernet Device, c2:db:81:4c:a5:18 [ 0.736867] cdc_acm 1-1.3:1.2: ttyACM0: USB ACM device [ 0.811190] usb 1-1.4: new high-speed USB device number 4 using dc2 [ ..183874] ax88179_178a 1-1.4:1.0 eth0: register 'ax88179_178a' at usb-13500000.otg-1.4, ASIX AX88178A USB 2.0 Gigabit Ethernet, 00:0e:c6:81:78:01 [ 1.994360] stop mcu watchdog [ 2.404301] sonia (761): drop_caches: 3 [ 2.510165] WATCHDOG: start watch dog! [ 2.515049] [PDC][ERROR] (MISC_ioctl|402): pCbparams->OpGetCryLanguage is NULL [ 2.515808] [ 5.289394] do_page_fault(): sending SIGSEGV to sonia for invalid read access from 00000014 [ 5.289747] epc = 006fb874 in sonia[400000+4b7000] [ 5.289796] ra = 006fb850 in sonia[400000+4b7000] [ 5.357246] RMEM: source not free, pid = 840, name = sonia, mem = 0b7af0ff, size = 577536 [ 6.474667] ax88179_178a 1-1.4:1.0 eth0: ax88179 - Link status is: 1
07-23
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值