Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot build filesystems on install - OLD HARDWARE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
MajorJalepino
n00b
n00b


Joined: 26 Jul 2022
Posts: 25

PostPosted: Sun Mar 10, 2024 8:04 am    Post subject: Cannot build filesystems on install - OLD HARDWARE Reply with quote

Hi all,

Been trying to install Gentoo 32 Bit (i686) over the course of the weekend and I'm a bit stuck. I've installed Gentoo before on a couple other PC's so I generally try to avoid asking on the forums but I'm struggling to ask the right questions to google I suppose and can't find evidence of people having the same problem as me.

I've managed to fdisk and partition the drive I'm using, but using mkfs to build filesystems just isn't working.

I've tried mkfs.ext4 -b 4096 /dev/sda1, even tried to increase the blocksize to 1M but that didn't work (if anyone can explain why please do).

Command takes a while to give an output but gets to "Allocating group tables: done" and then hangs, blinking cursor with effectively frozen system.

The tty locks up, the "write to disk" light is permanently on, cannot ctrl+c to cancel the process, cannot switch to another tty to check TOP to check processes.

I'm at a loss.

Background information:
HOST: IBM R30 Model 2656
CPU: Pentium III (runs at 697mHz because the battery is always dead)
RAM: 512MB PC133
Drive: Chinese 128GB SATA M.2 SSD inside a case that adapts to IDE interface.

Install Media: 700mb CD-R with the 32bit i686 Install iso.

What I've Tried:

1. Ran Memtest86, I have a bad memory block at address 000015537744 - I have not done anything about this because I do not know how to block bad ram when booting into the live CD, if someone knows how to do this please let me know.
2. Ran a DD urandom to wipe the disk, worked fine but took all night to do.
3. Ran a destructive badblocks test on the drive, completed in 11 hours but no errors.
4. Partitioned the drives as per the BIOS/MBR section of the handbook - if anyone knows this to be incorrect for this motherboard/laptop let me know please.
4. Tried using ext2, ext4 and xfs to partition the drives, all hang after a period of time and have to poweroff to exit.

I know this was never going to be a quick job, compiling on the Pentium 3 but man it can't take more than 15mins to partition the 1GB boot partition, can it?

I will try and let this run overnight and see if it makes a difference, unless anyone answers before then with a solution.

Please let me know what command outputs I should post to give more information, I am only able to do this from the LiveCD however.

Thanks in advance.
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1538

PostPosted: Sun Mar 10, 2024 9:21 am    Post subject: Reply with quote

The kernel parameter mmap can be used to reserve the bad blocks of RAM memory, but I don't know how exactly. You should research it further.

I believe there's a way to install Gentoo but I don't think it's worth installing anything on that laptop.

Best Regards,
Georgi
Back to top
View user's profile Send private message
MajorJalepino
n00b
n00b


Joined: 26 Jul 2022
Posts: 25

PostPosted: Sun Mar 10, 2024 10:56 am    Post subject: Reply with quote

Thanks for the reply,

I'm not willing to use this laptop as any sort of workstation, I know that Gentoo on this thing will be slow. It's more of an exercise in whether I can do this rather than should.

I've researched memmap but I can't really find out how to set that parameter with the grub commandline, I know you could do it in grub.d but I would have to make my own .iso to do that with a CD-R, no?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54248
Location: 56N 3W

PostPosted: Sun Mar 10, 2024 11:55 am    Post subject: Reply with quote

MajorJalepino,

With only 512MB RAM, there is a lot of things won't build. The first one you will encounter is gcc, whicn is what builds everything else.

There is/was the badram patch. I don't know if it ever made it into the kernel.
There is a explanation of kernel command line parameters see the
Code:
memmap=nn
knobs.

Having said that 512MB RAM s not enough to build Gentoo, it will run in less.
If you build Gentoo elsewhere, it will be possible to install the binaries and run them on that laptop.

Code:
mkfs.ext4 -b 4096 ...
creates a filesystem with a 4k block size. The legal sizes are 1k, 2k and 4k.
Quote:
Drive: Chinese 128GB SATA M.2 SSD
If mkfs detects an SSD, it will try to do a discard on the partition before writing anything.
There are lots of things that can stop that working. Even if it works, trim is slow.

My early 256G HDD takes 10 to 20 min to become ready after running fstrim. The drive does not do the discard while online. It waits for the next boot.

Quote:
2. Ran a DD urandom to wipe the disk, worked fine but took all night to do
Don't do that to SSDs. It costs a write cycle and blocks must be erased before they can be written.
Erase is slow compared to read and write times, so your drive has to do an erase, followed by a write.

Code:
3. Ran a destructive badblocks test on the drive, completed in 11 hours but no errors.

badblocks has been almost useless since HDD of all sorts began to do sector remapping. Detected bad blocks are relocated during normal drive operation.
Its not useful and see 2 above.

Quote:
4. Partitioned the drives as per the BIOS/MBR section of the handbook

That's correct.

Quote:
I know this was never going to be a quick job, compiling on the Pentium 3 but man it can't take more than 15mins to partition the 1GB boot partition, can it?

To partition, no. To do the erase before mkfs ... maybe.

Can you put the drive in another system, so it has a real SATA connection to the motherboard and see if it works there?

The IDE/SATA bridge makes the hairs on the back of my neck stand up.
Later in life IDE, got all sorts of speedups, like DMA. The IDE/SATA bridge may not support them, so you may be stuck with very slow PIO modes, where the CPU transfers every byte.

What you are seeing may just be the manifestation of the RAM problem.
Removing the faulty memory stick should get you into the chroot. That will do as a RAM test.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
MajorJalepino
n00b
n00b


Joined: 26 Jul 2022
Posts: 25

PostPosted: Sun Mar 10, 2024 12:39 pm    Post subject: Reply with quote

Alright thanks for the tip Neddy,

I've looked through the README file on the .iso that lists a specific set of kernel parameters that are able to be set for the particular kernel on the liveCD, does not look like memmap is one of them. And when I try to set it, the kernel refuses to boot. Setting memmap like this:

Code:
 memmap=10M\\\$340M


In the kernel parameters from gub.

If it is physically impossible to compile GCC with 512mb of RAM than I have no choice but to give up. I'm almost certain the drive is fine as it's brand new, I don't know if I have the will to install it in my main desktop to check anyway.

Anyway, here is my dmesg for reference:

Code:

# dmesg
[    0.000000] Linux version 6.6.13-gentoo-x86 (root@catalyst) (i486-pc-linux-gnu-gcc (Gentoo 13.2.1_p20240113-r1 p12) 13.2.1 20240113, GNU ld (Gentoo 2.40 p7) 2.40.0) #1 SMP PREEMPT_DYNAMIC Mon Jan 29 19:15:48 UTC 2024
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f7dffff] usable
[    0.000000] BIOS-e820: [mem 0x000000001f7e0000-0x000000001f7effff] reserved
[    0.000000] BIOS-e820: [mem 0x000000001f7f0000-0x000000001f7f7fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000001f7f8000-0x000000001f7fffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000ffff0000-0x00000000ffffffff] reserved
[    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[    0.000000] APIC: Static calls initialized
[    0.000000] SMBIOS 2.3 present.
[    0.000000] DMI: IBM 2656EM1/2656EM1, BIOS 1CET60WW (1.01A) 10/19/2001
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 697.425 MHz processor
[    0.003631] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.003660] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.003703] last_pfn = 0x1f7e0 max_arch_pfn = 0x100000
[    0.003743] MTRR map: 6 entries (5 fixed + 1 variable; max 21), built from 8 variable MTRRs
[    0.003758] x86/PAT: PAT not supported by the CPU.
[    0.003769] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC 
[    0.022825] initial memory mapped: [mem 0x00000000-0x01ffffff]
[    0.023054] RAMDISK: [mem 0x1ebe9000-0x1f2b7fff]
[    0.023091] 0MB HIGHMEM available.
[    0.023097] 503MB LOWMEM available.
[    0.023106]   mapped low ram: 0 - 1f7e0000
[    0.023111]   low ram: 0 - 1f7e0000
[    0.023140] Zone ranges:
[    0.023146]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.023165]   Normal   [mem 0x0000000001000000-0x000000001f7dffff]
[    0.023177]   HighMem  empty
[    0.023185] Movable zone start for each node
[    0.023189] Early memory node ranges
[    0.023194]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.023204]   node   0: [mem 0x0000000000100000-0x000000001f7dffff]
[    0.023215] Initmem setup node 0 [mem 0x0000000000001000-0x000000001f7dffff]
[    0.023266] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.023910] On node 0, zone DMA: 96 pages in unavailable ranges
[    0.077626] On node 0, zone Normal: 2080 pages in unavailable ranges
[    0.077805] Local APIC disabled by BIOS -- you can enable it with "lapic"
[    0.077815] APIC: disable apic facility
[    0.077856] APIC: Switched APIC routing to: noop
[    0.077869] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.077957] [mem 0x1f800000-0xfffeffff] available for PCI devices
[    0.077979] Booting paravirtualized kernel on bare hardware
[    0.078012] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.078060] setup_percpu: NR_CPUS:8 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1
[    0.080014] percpu: Embedded 30 pages/cpu s91972 r0 d30908 u122880
[    0.080075] pcpu-alloc: s91972 r0 d30908 u122880 alloc=30*4096
[    0.080117] pcpu-alloc: [0] 0
[    0.080230] Kernel command line: BOOT_IMAGE=/boot/gentoo dokeymap looptype=squashfs loop=/image.squashfs cdroot ide=nodma nokeymap doscsi acpi=off doapm noapic
[    0.081614] Unknown kernel command line parameters "dokeymap cdroot nokeymap doscsi doapm BOOT_IMAGE=/boot/gentoo looptype=squashfs loop=/image.squashfs ide=nodma", will be passed to user space.
[    0.083627] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.084838] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.085150] Built 1 zonelists, mobility grouping on.  Total pages: 127887
[    0.085219] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.085239] Initializing HighMem for node 0 (00000000:00000000)
[    0.132879] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.133002] Memory: 491344K/515580K available (6179K kernel code, 1910K rwdata, 2604K rodata, 672K init, 504K bss, 24236K reserved, 0K cma-reserved, 0K highmem)
[    0.133607] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.135181] trace event string verifier disabled
[    0.135704] Dynamic Preempt: none
[    0.136133] rcu: Preemptible hierarchical RCU implementation.
[    0.136158] rcu:    RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.136178]    Trampoline variant of Tasks RCU enabled.
[    0.136189] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.136201] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.161673] NR_IRQS: 2304, nr_irqs: 32, preallocated irqs: 16
[    0.162592] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.168445] Console: colour VGA+ 80x25
[    0.168474] printk: console [tty0] enabled
[    0.174118] APIC: Keep in PIC mode(8259)
[    0.174220] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0xa0d8fa7268, max_idle_ns: 440795229206 ns
[    0.174373] Calibrating delay loop (skipped), value calculated using timer frequency.. 1394.85 BogoMIPS (lpj=6974250)
[    0.174625] CPU serial number disabled.
[    0.174926] Last level iTLB entries: 4KB 32, 2MB 0, 4MB 2
[    0.175019] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 8, 1GB 0
[    0.175117] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.175236] Spectre V2 : Mitigation: Retpolines
[    0.175319] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.175412] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[    0.175504] Speculative Store Bypass: Vulnerable
[    0.175587] L1TF: Kernel not compiled for PAE. No mitigation for L1TF
[    0.175678] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.175767] MMIO Stale Data: Unknown: No mitigations
[    0.175870] x86/fpu: x87 FPU will use FXSAVE
[    0.188442] Freeing SMP alternatives memory: 24K
[    0.188642] pid_max: default: 32768 minimum: 301
[    0.189252] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.189391] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.191510] smpboot: SMP disabled
[    0.193877] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.194443] Performance Events:
[    0.194473] no APIC, boot with the "lapic" boot parameter to force-enable it.
[    0.194645] no hardware sampling interrupt available.
[    0.194735] p6 PMU driver.
[    0.194820] ... version:                0
[    0.194904] ... bit width:              32
[    0.194987] ... generic registers:      2
[    0.195067] ... value mask:             00000000ffffffff
[    0.195151] ... max period:             000000007fffffff
[    0.195237] ... fixed-purpose events:   0
[    0.195317] ... event mask:             0000000000000003
[    0.196041] signal: max sigframe size: 1440
[    0.196761] rcu: Hierarchical SRCU implementation.
[    0.196857] rcu:    Max phase no-delay instances is 1000.
[    0.197729] smp: Bringing up secondary CPUs ...
[    0.197906] smp: Brought up 1 node, 1 CPU
[    0.198000] smpboot: Max logical packages: 1
[    0.198087] smpboot: Total of 1 processors activated (1394.85 BogoMIPS)
[    0.200914] devtmpfs: initialized
[    0.203666] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.203844] futex hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.204140] pinctrl core: initialized pinctrl subsystem
[    0.207427] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.209373] thermal_sys: Registered thermal governor 'step_wise'
[    0.209393] thermal_sys: Registered thermal governor 'user_space'
[    0.209673] cpuidle: using governor ladder
[    0.210446] clocksource: pit: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1601818034827 ns
[    0.253400] PCI: PCI BIOS revision 2.10 entry at 0xf0200, last bus=1
[    0.253507] PCI: Using configuration type 1 for base access
[    0.276873] ACPI: Interpreter disabled.
[    0.277076] iommu: Default domain type: Translated
[    0.277164] iommu: DMA domain TLB invalidation policy: lazy mode
[    0.277668] SCSI subsystem initialized
[    0.277897] usbcore: registered new interface driver usbfs
[    0.278030] usbcore: registered new interface driver hub
[    0.278169] usbcore: registered new device driver usb
[    0.296781] PCI: Probing PCI hardware
[    0.296935] PCI: root bus 00: using default resources
[    0.296949] PCI: Probing PCI hardware (bus 00)
[    0.297109] PCI host bridge to bus 0000:00
[    0.297204] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.297309] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[    0.297407] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.297583] pci 0000:00:00.0: [10b9:1621] type 00 class 0x060000
[    0.297703] pci 0000:00:00.0: reg 0x10: [mem 0xf0000000-0xf3ffffff pref]
[    0.298259] pci 0000:00:01.0: [10b9:5247] type 01 class 0x060400
[    0.298623] pci 0000:00:06.0: [10b9:5451] type 00 class 0x040100
[    0.298737] pci 0000:00:06.0: reg 0x10: [io  0x9400-0x94ff]
[    0.298839] pci 0000:00:06.0: reg 0x14: [mem 0x81c00000-0x81c00fff]
[    0.299002] pci 0000:00:06.0: supports D1 D2
[    0.299090] pci 0000:00:06.0: PME# supported from D2 D3hot D3cold
[    0.299400] pci 0000:00:07.0: [10b9:1533] type 00 class 0x060100
[    0.299793] pci 0000:00:0a.0: [8086:1229] type 00 class 0x020000
[    0.299906] pci 0000:00:0a.0: reg 0x10: [mem 0x81a00000-0x81a00fff]
[    0.300011] pci 0000:00:0a.0: reg 0x14: [io  0x9000-0x903f]
[    0.300111] pci 0000:00:0a.0: reg 0x18: [mem 0x81a20000-0x81a3ffff]
[    0.300234] pci 0000:00:0a.0: reg 0x30: [mem 0x81a40000-0x81a4ffff pref]
[    0.300364] pci 0000:00:0a.0: supports D1 D2
[    0.300453] pci 0000:00:0a.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.300789] pci 0000:00:10.0: [10b9:5229] type 00 class 0x0101fa
[    0.300931] pci 0000:00:10.0: reg 0x20: [io  0x7050-0x705f]
[    0.301043] pci 0000:00:10.0: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.301140] pci 0000:00:10.0: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.301234] pci 0000:00:10.0: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.301329] pci 0000:00:10.0: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.301664] pci 0000:00:11.0: [10b9:7101] type 00 class 0x068000
[    0.301828] pci 0000:00:11.0: quirk: [io  0xf100-0xf13f] claimed by ali7101 ACPI
[    0.301931] pci 0000:00:11.0: quirk: [io  0xf140-0xf15f] claimed by ali7101 SMB
[    0.302229] pci 0000:00:13.0: [1217:6972] type 02 class 0x060700
[    0.302343] pci 0000:00:13.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    0.302471] pci 0000:00:13.0: supports D1 D2
[    0.302560] pci 0000:00:13.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.302881] pci 0000:00:14.0: [10b9:5237] type 00 class 0x0c0310
[    0.302995] pci 0000:00:14.0: reg 0x10: [mem 0x81e00000-0x81e00fff]
[    0.303399] pci_bus 0000:01: extended config space not accessible
[    0.303602] pci 0000:01:00.0: [1023:8620] type 00 class 0x030000
[    0.303715] pci 0000:01:00.0: reg 0x10: [mem 0x80800000-0x80ffffff]
[    0.303818] pci 0000:01:00.0: reg 0x14: [mem 0x80500000-0x8051ffff]
[    0.303921] pci 0000:01:00.0: reg 0x18: [mem 0x81000000-0x817fffff]
[    0.304044] pci 0000:01:00.0: reg 0x30: [mem 0x80520000-0x8052ffff pref]
[    0.304159] pci 0000:01:00.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.304290] pci 0000:01:00.0: supports D1 D2
[    0.304708] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.304812] pci 0000:00:01.0:   bridge window [mem 0x80500000-0x818fffff]
[    0.304924] pci 0000:00:13.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.305073] pci_bus 0000:02: extended config space not accessible
[    0.305248] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[    0.305355] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 05
[    0.306018] pci 0000:00:07.0: ALI IRQ router [10b9:1533]
[    0.306154] PCI: pci_cache_line_size set to 32 bytes
[    0.306240] e820: reserve RAM buffer [mem 0x1f7e0000-0x1fffffff]
[    0.315320] pci 0000:01:00.0: vgaarb: setting as boot VGA device
[    0.315428] pci 0000:01:00.0: vgaarb: bridge control possible
[    0.315518] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.315632] vgaarb: loaded
[    0.327809] clocksource: Switched to clocksource tsc-early
[    0.328638] VFS: Disk quotas dquot_6.6.0
[    0.328827] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.329086] pnp: PnP ACPI: disabled
[    0.359020] NET: Registered PF_INET protocol family
[    0.359860] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.362102] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.362316] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.362425] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.362708] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.363457] TCP: Hash tables configured (established 4096 bind 4096)
[    0.363926] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.364134] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.364711] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.379463] RPC: Registered named UNIX socket transport module.
[    0.379635] RPC: Registered udp transport module.
[    0.379719] RPC: Registered tcp transport module.
[    0.379802] RPC: Registered tcp-with-tls transport module.
[    0.379887] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.380190] pci 0000:00:13.0: BAR 0: assigned [mem 0x20000000-0x20000fff]
[    0.380324] pci 0000:00:13.0: BAR 15: assigned [mem 0x24000000-0x27ffffff pref]
[    0.380430] pci 0000:00:13.0: BAR 16: assigned [mem 0x28000000-0x2bffffff]
[    0.380536] pci 0000:00:13.0: BAR 13: assigned [io  0x1000-0x10ff]
[    0.380637] pci 0000:00:13.0: BAR 14: assigned [io  0x1400-0x14ff]
[    0.380755] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.380852] pci 0000:00:01.0:   bridge window [mem 0x80500000-0x818fffff]
[    0.380958] pci 0000:00:13.0: CardBus bridge to [bus 02-05]
[    0.381050] pci 0000:00:13.0:   bridge window [io  0x1000-0x10ff]
[    0.381145] pci 0000:00:13.0:   bridge window [io  0x1400-0x14ff]
[    0.381239] pci 0000:00:13.0:   bridge window [mem 0x24000000-0x27ffffff pref]
[    0.381338] pci 0000:00:13.0:   bridge window [mem 0x28000000-0x2bffffff]
[    0.381439] pci_bus 0000:00: resource 4 [io  0x0000-0xffff]
[    0.381532] pci_bus 0000:00: resource 5 [mem 0x00000000-0xffffffff]
[    0.381628] pci_bus 0000:01: resource 1 [mem 0x80500000-0x818fffff]
[    0.381726] pci_bus 0000:02: resource 0 [io  0x1000-0x10ff]
[    0.381819] pci_bus 0000:02: resource 1 [io  0x1400-0x14ff]
[    0.381912] pci_bus 0000:02: resource 2 [mem 0x24000000-0x27ffffff pref]
[    0.382008] pci_bus 0000:02: resource 3 [mem 0x28000000-0x2bffffff]
[    0.382243] pci 0000:00:07.0: Activating ISA DMA hang workarounds
[    0.382408] pci 0000:00:0a.0: Firmware left e100 interrupts enabled; disabling
[    0.383195] ------------[ cut here ]------------
[    0.383295] WARNING: CPU: 0 PID: 1 at arch/x86/pci/irq.c:441 pirq_ali_get+0x8/0x1e
[    0.383436] Modules linked in:
[    0.383532] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.6.13-gentoo-x86 #1
[    0.383630] Hardware name: IBM 2656EM1/2656EM1, BIOS 1CET60WW (1.01A) 10/19/2001
[    0.383724] EIP: pirq_ali_get+0x8/0x1e
[    0.383817] Code: ff ff ff 5d c3 55 89 e5 83 f9 04 7e 02 0f 0b 0f b6 89 37 53 6a c1 ba 43 00 00 00 e8 19 ff ff ff 5d c3 55 89 e5 83 f9 10 7e 02 <0f> 0b 49 ba 48 00 00 00 e8 02 ff ff ff 0f b6 80 18 53 6a c1 5d c3
[    0.383977] EAX: c1c13000 EBX: 0000000a ECX: 00000059 EDX: c1d09800
[    0.384069] ESI: c15e3dfd EDI: c1d09800 EBP: c1cc3e40 ESP: c1cc3e40
[    0.384161] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00010202
[    0.384257] CR0: 80050033 CR2: ffd3a000 CR3: 01b33000 CR4: 000006d0
[    0.384351] Call Trace:
[    0.384439]  ? show_regs+0x46/0x4c
[    0.384534]  ? pirq_ali_get+0x8/0x1e
[    0.384620]  ? __warn+0x89/0x106
[    0.384724]  ? report_bug+0xbe/0x128
[    0.384823]  ? pirq_ali_get+0x8/0x1e
[    0.384910]  ? pirq_ite_get+0x1d/0x1d
[    0.384996]  ? exc_overflow+0x37/0x37
[    0.385110]  ? handle_bug+0x2b/0x47
[    0.385200]  ? exc_invalid_op+0x17/0x38
[    0.385293]  ? pirq_ite_get+0x1d/0x1d
[    0.385380]  ? handle_exception+0x133/0x133
[    0.385497]  ? pirq_ite_get+0x1d/0x1d
[    0.385584]  ? handshake_nl_done_doit+0xe1/0x138
[    0.385697]  ? exc_overflow+0x37/0x37
[    0.385788]  ? pirq_ali_get+0x8/0x1e
[    0.385876]  ? exc_overflow+0x37/0x37
[    0.385966]  ? pirq_ali_get+0x8/0x1e
[    0.386053]  pcibios_lookup_irq+0x1c4/0x3a4
[    0.386146]  pirq_enable_irq+0x32/0x1a3
[    0.386235]  pcibios_enable_device+0x27/0x2a
[    0.386327]  do_pci_enable_device+0x33/0x92
[    0.386439]  pci_enable_device_flags+0x81/0x95
[    0.386540]  pci_enable_device+0xd/0xf
[    0.386631]  quirk_usb_early_handoff+0x2f/0x59b
[    0.386749]  ? timekeeping_get_ns+0xd/0x64
[    0.386853]  ? ktime_get+0x36/0x49
[    0.386944]  pci_fixup_device+0x126/0x17b
[    0.387063]  ? mmio_resource_enabled.constprop.0+0x30/0x30
[    0.387161]  pci_apply_final_quirks+0x4b/0xec
[    0.387260]  ? acpi_pci_init+0x39/0x39
[    0.387349]  do_one_initcall+0x6d/0x15a
[    0.387442]  ? kernel_init_freeable+0x121/0x181
[    0.387541]  kernel_init_freeable+0x140/0x181
[    0.387635]  ? rest_init+0xad/0xad
[    0.387734]  kernel_init+0x12/0xe9
[    0.387938]  ret_from_fork+0x1c/0x2f
[    0.388051]  ? rest_init+0xad/0xad
[    0.388139]  ret_from_fork_asm+0x12/0x20
[    0.388229]  entry_INT80_32+0xf0/0xf0
[    0.388324] ---[ end trace 0000000000000000 ]---
[    0.388416] PCI: setting IRQ 10 as level-triggered
[    0.388432] pci 0000:00:14.0: found PCI INT A -> IRQ 10
[    0.388563] pci 0000:01:00.0: using bridge 0000:00:01.0 INT A to get INT A
[    0.487863] pci 0000:00:14.0: quirk_usb_early_handoff+0x0/0x59b took 102696 usecs
[    0.488069] PCI: CLS 32 bytes, default 32
[    0.489225] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.490845] Initialise system trusted keyrings
[    0.492144] Trying to unpack rootfs image as initramfs...
[    0.498664] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.499982] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.508329] NFS: Registering the id_resolver key type
[    0.508573] Key type id_resolver registered
[    0.508660] Key type id_legacy registered
[    0.509231] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[    0.529883] Key type asymmetric registered
[    0.530051] Asymmetric key parser 'x509' registered
[    0.530291] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.530391] io scheduler mq-deadline registered
[    0.530476] io scheduler kyber registered
[    0.539146] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.560153] Linux agpgart interface v0.103
[    0.620846] brd: module loaded
[    0.660541] loop: module loaded
[    0.660781] Loading iSCSI transport class v2.0-870.
[    0.678688] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    0.679087] SCSI Media Changer driver v0.25
[    0.679415] jme: JMicron JMC2XX ethernet driver version 1.0.8
[    0.679844] i8042: PNP: No PS/2 controller found.
[    0.679930] i8042: Probing ports directly.
[    0.682704] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.682837] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.683902] mousedev: PS/2 mouse device common for all mice
[    0.689102] rtc_cmos rtc_cmos: registered as rtc0
[    0.689373] rtc_cmos rtc_cmos: setting system clock to 2024-08-05T22:19:52 UTC (1722896392)
[    0.689715] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[    0.690011] IR JVC protocol handler initialized
[    0.690098] IR MCE Keyboard/mouse protocol handler initialized
[    0.690185] IR NEC protocol handler initialized
[    0.690266] IR RC5(x/sz) protocol handler initialized
[    0.690352] IR RC6 protocol handler initialized
[    0.690435] IR SANYO protocol handler initialized
[    0.690518] IR Sharp protocol handler initialized
[    0.690600] IR Sony protocol handler initialized
[    0.690684] IR XMP protocol handler initialized
[    0.690778] intel_pstate: CPU model not supported
[    0.690965] hid: raw HID events driver (C) Jiri Kosina
[    0.691838] usbcore: registered new interface driver usbhid
[    0.691930] usbhid: USB HID core driver
[    0.692591] NET: Registered PF_PACKET protocol family
[    0.692846] Key type dns_resolver registered
[    0.709288] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    0.713393] microcode: Microcode Update Driver: v2.2.
[    0.713482] IPI shorthand broadcast: enabled
[    0.725825] sched_clock: Marking stable (716118746, 1677935)->(724009782, -6213101)
[    0.759537] registered taskstats version 1
[    0.759707] Loading compiled-in X.509 certificates
[    1.547946] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0xa0d8fa7268, max_idle_ns: 440795229206 ns
[    1.548252] clocksource: Switched to clocksource tsc
[    1.755757] psmouse serio1: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[    1.771315] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input2
[    3.028567] clk: Disabling unused clocks
[    7.264822] Freeing initrd memory: 6972K
[    7.271810] Freeing unused kernel image (initmem) memory: 672K
[    7.272346] Write protecting kernel text and read-only data: 8784k
[    7.272537] Run /init as init process
[    7.272627]   with arguments:
[    7.272633]     /init
[    7.272639]     dokeymap
[    7.272646]     cdroot
[    7.272651]     nokeymap
[    7.272657]     doscsi
[    7.272664]     doapm
[    7.272669]   with environment:
[    7.272676]     HOME=/
[    7.272682]     TERM=linux
[    7.272688]     BOOT_IMAGE=/boot/gentoo
[    7.272695]     looptype=squashfs
[    7.272701]     loop=/image.squashfs
[    7.272707]     ide=nodma
[   13.552011] udevd[1546]: starting version 3.2.10
[   15.847808] random: crng init done
[   15.858762] udevd[1547]: starting eudev-3.2.10
[   16.096828] PCI: setting IRQ 11 as level-triggered
[   16.096896] yenta_cardbus 0000:00:13.0: found PCI INT A -> IRQ 11
[   16.096958] pci 0000:01:00.0: using bridge 0000:00:01.0 INT A to get INT A
[   16.097039] yenta_cardbus 0000:00:13.0: CardBus bridge found [1014:020c]
[   16.097083] yenta_cardbus 0000:00:13.0: O2: enabling read prefetch/write burst. If you experience problems or performance issues, use the yenta_socket parameter 'o2_speedup=off'
[   16.111322] libata version 3.00 loaded.
[   16.147495] scsi host0: pata_ali
[   16.160158] scsi host1: pata_ali
[   16.160674] ata1: PATA max UDMA/66 cmd 0x1f0 ctl 0x3f6 bmdma 0x7050 irq 14
[   16.160695] ata2: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0x7058 irq 15
[   16.250862] yenta_cardbus 0000:00:13.0: ISA IRQ mask 0x06b8, PCI irq 11
[   16.250934] yenta_cardbus 0000:00:13.0: Socket status: 30000007
[   16.328852] ata1.00: ATA-9: SSD 128GB, HC210706, max UDMA/133
[   16.328908] ata1.00: 250069680 sectors, multi 8: LBA48
[   16.328952] ata1.00: limited to UDMA/33 due to 40-wire cable
[   16.343019] scsi 0:0:0:0: Direct-Access     ATA      SSD 128GB        0706 PQ: 0 ANSI: 5
[   16.345134] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[   16.345236] sd 0:0:0:0: [sda] Write Protect is off
[   16.345255] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   16.345327] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   16.345429] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
[   16.374197]  sda: sda1 sda2 sda3
[   16.386043] sd 0:0:0:0: [sda] Attached SCSI disk
[   16.538121] ata2.00: ATAPI: CD-224E, 2.7B, max UDMA/33
[   16.538197] ata2.00: WARNING: ATAPI DMA disabled for reliability issues.  It can be enabled
[   16.538208] ata2.00: WARNING: via pata_ali.atapi_dma modparam or corresponding sysfs node.
[   16.551389] scsi 1:0:0:0: CD-ROM            TEAC     CD-224E          2.7B PQ: 0 ANSI: 5
[   16.553875] sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray
[   16.553916] cdrom: Uniform CD-ROM driver Revision: 3.20
[   16.610132] sr 1:0:0:0: Attached scsi CD-ROM sr0
[   19.788145] sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=2s
[   19.788199] sr 1:0:0:0: [sr0] tag#0 Sense Key : Medium Error [current]
[   19.788220] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Unrecovered read error
[   19.788244] sr 1:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 03 6e 28 00 00 01 00
[   19.788258] I/O error, dev sr0, sector 899232 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
[   26.956790] ISO 9660 Extensions: Microsoft Joliet Level 3
[   26.996706] ISO 9660 Extensions: RRIP_1991A
[   27.143991] loop0: detected capacity change from 0 to 818280
[  211.632115] e100: Intel(R) PRO/100 Network Driver
[  211.632182] e100: Copyright(c) 1999-2006 Intel Corporation
[  211.632532] e100 0000:00:0a.0: found PCI INT A -> IRQ 11
[  211.632608] pci 0000:01:00.0: using bridge 0000:00:01.0 INT A to get INT A
[  211.661271] e100 0000:00:0a.0 eth0: addr 0x81a00000, irq 11, MAC addr 00:00:e2:56:d0:7b
[  213.063477] ali1535_smbus 0000:00:11.0: enabling device (0000 -> 0001)
[  213.446788] pcmcia_socket pcmcia_socket0: cs: memory probe 0x0c0000-0x0fffff:
[  213.446865]  excluding 0xc0000-0xcbfff 0xf0000-0xfffff
[  213.446995] pcmcia_socket pcmcia_socket0: cs: memory probe 0xa0000000-0xa0ffffff:
[  213.447061]  clean
[  213.447133] pcmcia_socket pcmcia_socket0: cs: memory probe 0x60000000-0x60ffffff:
[  213.447190]  clean
[  214.260283] ohci-pci 0000:00:14.0: found PCI INT A -> IRQ 10
[  214.260375] pci 0000:01:00.0: using bridge 0000:00:01.0 INT A to get INT A
[  214.260492] ohci-pci 0000:00:14.0: OHCI PCI host controller
[  214.260534] ohci-pci 0000:00:14.0: new USB bus registered, assigned bus number 1
[  214.260751] ohci-pci 0000:00:14.0: irq 10, io mem 0x81e00000
[  214.358414] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[  214.358466] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  214.358481] usb usb1: Product: OHCI PCI host controller
[  214.358493] usb usb1: Manufacturer: Linux 6.6.13-gentoo-x86 ohci_hcd
[  214.358506] usb usb1: SerialNumber: 0000:00:14.0
[  214.361437] hub 1-0:1.0: USB hub found
[  214.367636] hub 1-0:1.0: 4 ports detected
[  216.135545] snd_ali5451 0000:00:06.0: found PCI INT A -> IRQ 11
[  216.135642] pci 0000:01:00.0: using bridge 0000:00:01.0 INT A to get INT A
[  217.731290] e100 0000:00:0a.0 enp0s10: renamed from eth0
[  220.497150] device-mapper: uevent: version 1.0.3
[  220.498079] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[  248.401444] NET: Registered PF_INET6 protocol family
[  248.404015] Segment Routing with IPv6
[  248.404100] In-situ OAM (IOAM) with IPv6
[  248.614210] 8021q: 802.1Q VLAN Support v1.8
[  249.109171] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  249.475683] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  249.479874] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[  249.480071] Loading firmware: regulatory.db
[  249.828226] Loading firmware: regulatory.db.p7s
[  408.268270] e100 0000:00:0a.0 enp0s10: NIC Link is Up 100 Mbps Full Duplex
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54248
Location: 56N 3W

PostPosted: Sun Mar 10, 2024 1:06 pm    Post subject: Reply with quote

MajorJalepino

Parameters on the kernel command line will be found in /proc/cmdline once the kernel has loaded.
Anything there that the kernel does not understand is ignored, on the basis that its for something else, like the initrd.
Hence
dmesg:
[    0.080230] Kernel command line: BOOT_IMAGE=/boot/gentoo dokeymap looptype=squashfs loop=/image.squashfs cdroot ide=nodma nokeymap doscsi acpi=off doapm noapic
[    0.081614] Unknown kernel command line parameters "dokeymap cdroot nokeymap doscsi doapm BOOT_IMAGE=/boot/gentoo looptype=squashfs loop=/image.squashfs ide=nodma", will be passed to user space.


The README only lists things useful to booting but
Code:
less /usr/src/linux/Documentation/admin-guide/kernel-parameters.txt
has a list oy parameters accepted by the kernel itself.
This looks interesting.
Code:
        memmap=nn[KMG]$ss[KMG]
                        [KNL,ACPI] Mark specific memory as reserved.
                        Region of memory to be reserved is from ss to ss+nn.
                        Example: Exclude memory from 0x18690000-0x1869ffff
                                 memmap=64K$0x18690000
                                 or
                                 memmap=0x10000$0x18690000
                        Some bootloaders may need an escape character before '$',
                        like Grub2, otherwise '$' and the following number
                        will be eaten.

The liveCD probably uses Grub2 but I have no idea what its escape character is.
Notice that the numbers are in hex, denoted by the 0x prefix, not decimal.

You give up too easily. The stage3 tarball provide a working gcc for you. Normally you would need to update it from time to time.
You still can ... but not with emerge. You will need to download a new stage3 tarball and qiuckpkg gcc from it, then install the binary gcc that qiuckpkg saved.

I suspect that you have two RAM sticks in that P3. As a proof of concept, remove one. If you pick the wrong one, it may fail differently.
Try again.

Code:
[   16.343019] scsi 0:0:0:0: Direct-Access     ATA      SSD 128GB        0706 PQ: 0 ANSI: 5
[   16.345134] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[   16.345236] sd 0:0:0:0: [sda] Write Protect is off
[   16.345255] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   16.345327] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   16.345429] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
[   16.374197]  sda: sda1 sda2 sda3

That says that partitioning worked

Code:
[   19.788258] I/O error, dev sr0, sector 899232 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2

Its not clear if that error is permanent or was recovered.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 370

PostPosted: Sun Mar 10, 2024 2:52 pm    Post subject: Reply with quote

You can use single quotes to avoid expanding of variables:

Code:
GRUB_CMDLINE_LINUX='memmap=10M$340M'
and regenerate the grub.cfg.

But
Code:
GRUB_CMDLINE_LINUX="memmap=10M\\\$340M"

should also work and regenerating grub.cfg should result in a correct kernel parameter.
Back to top
View user's profile Send private message
MajorJalepino
n00b
n00b


Joined: 26 Jul 2022
Posts: 25

PostPosted: Mon Mar 11, 2024 7:33 am    Post subject: Reply with quote

Thanks sMueggi,

The problem I have is that this is the LiveCD's kernel, on an actual CD-R not USB. So as far as I know I cannot edit the grub.cfg.

I've tried setting the memmap kernel parameter from the Grub menu, but it prevents the kernel from booting.

I've set it with
Code:
 memmap=10M\\\$340M
, but the address that Memtest86 gave me is 000015537744, I'm not sure how to set this parameter with hexadecimal though if someone can help?

Thanks.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54248
Location: 56N 3W

PostPosted: Mon Mar 11, 2024 9:58 am    Post subject: Reply with quote

MajorJalepino,

When the grub menu appears, make your selection then press 'e' for edit, not enter to boot.
Go to the line that starts kernel and append whatever you need to the end, then allow the boot to continue.
There are on screen instructions,

This is a one time thing. Only the kernel line in RAM is changed.
As you say, you cannot change the CD copy.

If you make a mess of it, you can always have another go.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
MajorJalepino
n00b
n00b


Joined: 26 Jul 2022
Posts: 25

PostPosted: Mon Mar 11, 2024 1:53 pm    Post subject: Reply with quote

Hi again,

Neddy, I tried setting that parameter with the grub 'e' menu and got kernel panics when memory mapping. Nonetheless, I have isolated a bad ram stick after testing it by itself in memtest and it failed almost every test.

I've tried to set these kernel parameters also to no avail:

ide=nodma
doscsi
acpi=off (disables network controller I found out)
doapm

I'm now down to 256mb (another stick on the way).

The problem still persists - I cannot run mkfs.ext4 command without freezing the system.

Latest dmesg, no kernel parameters set by me here, just standard LiveCD: http://dpaste.com/2CL3CMG6R
Back to top
View user's profile Send private message
MajorJalepino
n00b
n00b


Joined: 26 Jul 2022
Posts: 25

PostPosted: Mon Mar 11, 2024 2:08 pm    Post subject: Reply with quote

Hi again,

Continuously tinkering I have discovered that I can format this drive as vfat or fat32.

Keeping in mind that this is an IDE drive, the storage medium is just solid-state.

Is there any historical reason why an IDE drive cannot be formatted to EXT4 or XFS, as per the handbook?

Thanks.

Code:


# lsblk && blkid
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
fd0      2:0    1     4K  0 disk
loop0    7:0    0 399.6M  1 loop /mnt/livecd
sda      8:0    0 119.2G  0 disk
├─sda1   8:1    0     1G  0 part
├─sda2   8:2    0     2G  0 part
└─sda3   8:3    0 116.2G  0 part
sr0     11:0    1 439.1M  0 rom  /mnt/cdrom
/dev/sr0: BLOCK_SIZE="2048" UUID="2024-01-29-19-33-49-00" LABEL="ISOIMAGE" TYPE="iso9660" PTTYPE="PMBR"
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="89BA-B0AB" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="6b1fe0c6-01"
/dev/sda3: UUID="920D-EA5D" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="6b1fe0c6-03"
/dev/sda2: UUID="7986f887-2d4d-43fe-b99b-0cd796e3d210" TYPE="swap" PARTUUID="6b1fe0c6-02"

Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54248
Location: 56N 3W

PostPosted: Mon Mar 11, 2024 2:30 pm    Post subject: Reply with quote

MajorJalepino,

Exactly what command do you run to freeze the system?

Can you run
Code:
mkswap /dev ...
on your swap space?
That only writes the header block.

If that works, what about
Code:
mkfs -t ext2 /dev/...
on your boot partition.
As its small and simpler than ext4, it should be faster.

Neither command should lock up.

IDE/PATA is the electrical connection to the drive. It is knows nothing of the data its carrying.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
MajorJalepino
n00b
n00b


Joined: 26 Jul 2022
Posts: 25

PostPosted: Wed Apr 10, 2024 2:01 pm    Post subject: Closed Reply with quote

This thread can be closed, I have discovered the adapter board in the drive converting the SATA SSD to the PATA interface is not compatible with the IBM R30, which is bizarre but the original eBay listing specifically excludes it as compatible.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum