-
Senior Member
registered user
Strange behavior of squashfs remaster /sbin/init etc 7.0.2
After a minimal modification of minirt init, the squashfs 7.0.2 image could be booted, and there is seemingly nothing wrong with it. But I thought it was, for the booting procedure seemed to get stuck after syslog init, probably at the hw step. I tried remastering from an earlier, smaller version of 7.0.2, with or without persistent store, but nothing seemed to help Knoppix init past this step.
Then, by chance, I happened to leave the computer alone for a few minutes, and suddenly Knoppix was up and running. I have used squashfs for quite a few remasterings, and never experienced something like this. Could it be Knoppix having gotten more hard-wired to cloop lately? I could not tell that for sure from a brief look at at the occurences of "cloop" in /etc and subdirectories.
Another issue is the impaired functionality of busybox (the version in minirt.gz) loop handling. Something should be done about this, I think. There is no problem creating and using "real" /dev/loop10, but busybox maps it to /dev/loop1 - which may cause serious trouble. It's not even able to handle /dev/loop7..
-
Senior Member
registered user
Update:
The problem isn't confined to just one machine, and it may have to do with something being unstable under hw detection, I get a error message of the same kind as seen earlier with init from cloop. Maybe it's something with timing, because the squashfs loading may run at a different speed from cloop? (I would guess faster in that case.) Still no problems running the thing.
-
Senior Member
registered user
Update:
I have tried all mentioned cheatcodes for skipping HW detection/setup, to no avail. Did it in 3 alternatives.
1. nohwsetup noapci noapic
2. nosound nolapic nopcmcia noapm
3. noideraid noswap noudev nodhcp
So there really seems to be something with init/hardware detection that in some may gets uncovered with squashfs packaging.
No trouble whatsoever observed when the system is up and running.
-
Senior Member
registered user
Hang: Same thing, maybe more, with 7.0.3
I had suspected udev init for this initial system hang, but it seems that syslog init is in some way the culprit. I moved syslog init to the end of knoppix-autoconfig, and the timing of a typical init of a 7.0.3 remastering under qemu is as folllows:
Code:
Knoppix autoconfig
Mon Jul 9 17:00:57 UTC 2012
knoppix-autoconfig: Before start_udev Mon Jul 9 17:00:57 UTC 2012
knoppix-autoconfig: After start_udev Mon Jul 9 17:01:01 UTC 2012
knoppix-autoconfig: After start_devpts Mon Jul 9 17:01:01 UTC 2012
knoppix-autoconfig: After start_hwsetup Mon Jul 9 17:01:02 UTC 2012
knoppix-autoconfig: After start_dbus Mon Jul 9 17:01:05 UTC 2012
knoppix-autoconfig: After start_hal Mon Jul 9 17:01:05 UTC 2012
knoppix-autoconfig: After start_acpi Mon Jul 9 17:01:05 UTC 2012
knoppix-autoconfig: After start_net Mon Jul 9 17:01:05 UTC 2012
knoppix-autoconfig: After start_scr Mon Jul 9 17:01:05 UTC 2012
knoppix-autoconfig: After start_swap Mon Jul 9 17:01:05 UTC 2012
knoppix-autoconfig: After start_services Mon Jul 9 17:01:05 UTC 2012
knoppix-autoconfig: Det proc finished, before start_log Mon Jul 9 17:01:05 UTC 2012
knoppix-autoconfig: After start_log Mon Jul 9 17:06:05 UTC 2012
The rest of autoconfig seems to run just fine, but it hangs on start_log for five full minutes. With 7.0.3 I get this with both cloop and squashfs remastering. This hasn't happened before 7.0.2, and I haven't changed anything in the remastering scripts, so it's hard for me to tell what it is. With squashfs it might be that I have used 7.0.2 minirt squashfs init, but cloop init is unchanged 7.0.3 minirt.
Anybody having any idea of what this might be?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch picture](/store/img/g/w8oAAOSwqvRmfanf/s-l225/Cisco-Catalyst-C9300-24UX-A-24-Port-10G-mGig-Coppe.jpg)
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch
$475.00
![Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED picture](/store/img/g/kjQAAOSwNkhj0o7Y/s-l225/Fortinet-FortiSwitch-FS-124D-POE-24-Port-Gigabit-E.jpg)
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97
![ARUBA J9772A 2530-48G PoE+ 48 PORT ETHERNET SWITCH W/ RACK EARS J9772-60301 picture](/store/img/g/J0AAAOSwSiVlu-xI/s-l225/ARUBA-J9772A-2530-48G-PoE-48-PORT-ETHERNET-SWITCH-.jpg)
ARUBA J9772A 2530-48G PoE+ 48 PORT ETHERNET SWITCH W/ RACK EARS J9772-60301
$140.23
![Netgear Prosafe 48-Port GbE & 4-Port SFP Managed Network Switch GS752TS picture](/store/img/g/hLYAAOSwc9xmdEiW/s-l225/Netgear-Prosafe-48-Port-GbE-4-Port-SFP-Managed-Net.jpg)
Netgear Prosafe 48-Port GbE & 4-Port SFP Managed Network Switch GS752TS
$59.99
![NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter picture](/store/img/g/GtAAAOSw441l3Jx1/s-l225/NETGEAR-GS108-ProSafe-8-Port-GbE-Unmanaged-Switch-.jpg)
NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter
$14.99
![Netgear ProSafe GS116v2 16-Port Gigabit Switch Issue picture](/store/img/g/zIEAAOSww6lmdCf9/s-l225/Netgear-ProSafe-GS116v2-16-Port-Gigabit-Switch-Iss.jpg)
Netgear ProSafe GS116v2 16-Port Gigabit Switch Issue
$14.99
![Netgear ProSafe FS726T 24 Port 10/100 Smart Switch w/2 Gigabit Ports picture](/store/img/g/iCwAAOSwVX9mcdMS/s-l225/Netgear-ProSafe-FS726T-24-Port-10-100-Smart-Switch.jpg)
Netgear ProSafe FS726T 24 Port 10/100 Smart Switch w/2 Gigabit Ports
$19.99
![TP-Link TL-SG108 8-Port 10/100/1000 Mbps Gigabit Ethernet Desktop Switch FREE SH picture](/store/img/g/eHwAAOSwSOxlsrl8/s-l225/TP-Link-TL-SG108-8-Port-10-100-1000-Mbps-Gigabit-E.jpg)
TP-Link TL-SG108 8-Port 10/100/1000 Mbps Gigabit Ethernet Desktop Switch FREE SH
$14.99
![Arista DCS-7050SX-64 48-Port SFP+ 4-QSFP Network Switch 2x PSU w/Ears Tested picture](/store/img/g/OCsAAOSwE35lFICP/s-l225/Arista-DCS-7050SX-64-48-Port-SFP-4-QSFP-Network-Sw.jpg)
Arista DCS-7050SX-64 48-Port SFP+ 4-QSFP Network Switch 2x PSU w/Ears Tested
$214.99
![Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch picture](/store/img/g/BUMAAOSwtOFjdfzi/s-l225/Loocam-Gigabit-PoE-Switch-8-Port-96W-2-Uplink-Port.jpg)
Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch
$62.49