Re: making a sparc64 sid bootable
On Fri, 2015-08-21 at 12:29 +0200, Frans van Berckel wrote:
> > On Fri, Aug 21, 2015 at 8:20 AM, Frans van Berckel <
> > fberckel@xs4all.nl> wrote:
> >
> > In the mean time, if you'd like to have a bootable system you can
> > build udevadm and systemd-udevd manually in the tree where you've
> > built the systemd deb, using the following commands:
> On Fri, 2015-08-21 at 12:07 +0200, Artyom Tarasenko wrote:
> >
> <snip>
> >
> > # (It's the same as what make does except for one option: instead
> > of
> > "-Wl,-fuse-ld=gold" use "-Wl,-fuse-ld=bfd")
> >
> > mv systemd-udevd /lib/systemd/
> > mv udevadm /bin
> >
> > These two were enough for me to make a sysvinit based system
> > bootable.
> > If you use systemd you'll have to rebuild more binaries. I this
> > case
> > it would be better to modify the Makefile and build them all.
>
> I want that. If I am well, installing sysvinit will purge systemd?
I did, sysvinit install & systemd removal, like [1] (without echos) ...
http://without
-systemd.org/wiki/index.php/How_to_remove_systemd_from_a_Debian_jessie/
sid_installation
Nice and cool, it boots sparc64. With a old kernel, true. But thats
because of a CD-ROM add on I have to take off the system now.
Attaching dmesg-sparc64.txt [plain txt]
Thanks,
Frans van Berckel
[ 0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 4.16.4 2004/12/18 05:18'
[ 0.000000] PROMLIB: Root node compatible:
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.0-4-sparc64-smp (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.65-1
[ 0.000000] bootconsole [earlyprom0] enabled
[ 0.000000] ARCH: SUN4U
[ 0.000000] Ethernet address: 00:03:ba:09:92:39
[ 0.000000] Kernel: Using 2 locked TLB entries for main kernel image.
[ 0.000000] Remapping the kernel... done.
[ 0.000000] OF stdout device is: /upa@8,480000/SUNW,ffb@0,0
[ 0.000000] PROM: Built device tree with 74424 bytes of memory.
[ 0.000000] Top of RAM: 0x7fdda000, Total RAM: 0x7fdc8000
[ 0.000000] Memory hole size: 0MB
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x0003feed
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x0003f7ff
[ 0.000000] 0: 0x0003f800 -> 0x0003fed6
[ 0.000000] 0: 0x0003fede -> 0x0003feed
[ 0.000000] On node 0 totalpages: 261860
[ 0.000000] Normal zone: 2046 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 259814 pages, LIFO batch:15
[ 0.000000] Booting Linux...
[ 0.000000] CPU CAPS: [flush,stbar,swap,muldiv,v9,ultra3,mul32,div32]
[ 0.000000] CPU CAPS: [v8plus,vis,vis2]
[ 0.000000] PERCPU: Embedded 6 pages/cpu @fffff80001c00000 s20416 r8192 d20544 u2097152
[ 0.000000] pcpu-alloc: s20416 r8192 d20544 u2097152 alloc=1*4194304
[ 0.000000] pcpu-alloc: [0] 0 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259814
[ 0.000000] Kernel command line: root=/dev/sda5 ro
[ 0.000000] PID hash table entries: 4096 (order: 2, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 262144 (order: 8, 2097152 bytes)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 7, 1048576 bytes)
[ 0.000000] Memory: 2058320k available (3600k kernel code, 1488k data, 232k init) [fffff80000000000,000000007fdda000]
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] CONFIG_RCU_FANOUT set to non-default value of 32
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] NR_IRQS:255
[ 0.000000] clocksource: mult[c8000000] shift[24]
[ 0.000000] clockevent: mult[147ae14] shift[32]
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [tty0] enabled, bootconsole disabled
[ 60.047259] Calibrating delay using timer specific routine.. 10.00 BogoMIPS (lpj=20010)
[ 60.047292] pid_max: default: 32768 minimum: 301
[ 60.047514] Security Framework initialized
[ 60.047553] AppArmor: AppArmor disabled by boot time parameter
[ 60.047655] Mount-cache hash table entries: 512
[ 60.048570] Initializing cgroup subsys cpuacct
[ 60.048625] Initializing cgroup subsys memory
[ 60.048690] Initializing cgroup subsys devices
[ 60.048707] Initializing cgroup subsys freezer
[ 60.048723] Initializing cgroup subsys net_cls
[ 60.048739] Initializing cgroup subsys blkio
[ 60.048784] Initializing cgroup subsys perf_event
[ 60.049108] Performance events: Supported PMU type is 'ultra3'
[ 60.051681] CPU 1: synchronized TICK with master CPU (last diff 1 cycles, maxerr 5 cycles)
[ 60.051755] Brought up 2 CPUs
[ 60.051790] Testing NMI watchdog ... OK.
[ 60.133139] devtmpfs: initialized
[ 60.134162] print_constraints: dummy:
[ 60.134485] NET: Registered protocol family 16
[ 60.140561] /pci@8,700000: SCHIZO PCI Bus Module ver[4:0]
[ 60.140588] /pci@8,700000: PCI IO[7ffef000000] MEM[7fe00000000]
[ 60.145137] PCI: Scanning PBM /pci@8,700000
[ 60.146045] pci 0000:00:06.0: supports D1 D2
[ 60.146153] pci 0000:00:06.1: supports D1 D2
[ 60.147116] /pci@8,600000: SCHIZO PCI Bus Module ver[4:0]
[ 60.147148] /pci@8,600000: PCI IO[7ffed000000] MEM[7fd00000000]
[ 60.151727] PCI: Scanning PBM /pci@8,600000
[ 60.155167] bio: create slab <bio-0> at 0
[ 60.155804] vgaarb: loaded
[ 60.156739] /pci@8,700000/ebus@5/rtc@1,300070: RTC regs at 0x7fe7e300070
[ 60.157562] Switching to clocksource stick
[ 60.174455] NET: Registered protocol family 2
[ 60.184782] IP route cache hash table entries: 65536 (order: 6, 524288 bytes)
[ 60.187662] TCP established hash table entries: 262144 (order: 9, 4194304 bytes)
[ 60.202099] TCP bind hash table entries: 65536 (order: 7, 1048576 bytes)
[ 60.205676] TCP: Hash tables configured (established 262144 bind 65536)
[ 60.205711] TCP reno registered
[ 60.205740] UDP hash table entries: 1024 (order: 2, 32768 bytes)
[ 60.205879] UDP-Lite hash table entries: 1024 (order: 2, 32768 bytes)
[ 60.206505] NET: Registered protocol family 1
[ 60.261669] PCI: CLS 64 bytes, default 64
[ 60.261938] Unpacking initramfs...
[ 61.087649] Freeing initrd memory: 10478k freed
[ 61.089323] chmc: UltraSPARC-III memory controller at /memory-controller@0,400000 [ACTIVE]
[ 61.089395] chmc: UltraSPARC-III memory controller at /memory-controller@1,400000 [ACTIVE]
[ 61.089998] audit: initializing netlink socket (disabled)
[ 61.090060] type=2000 audit(1.124:1): initialized
[ 61.132250] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[ 61.133299] VFS: Disk quotas dquot_6.5.2
[ 61.133552] Dquot-cache hash table entries: 1024 (order 0, 8192 bytes)
[ 61.133979] msgmni has been set to 4040
[ 61.134755] alg: No test for stdrng (krng)
[ 61.134922] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 61.134970] io scheduler noop registered
[ 61.134989] io scheduler deadline registered
[ 61.135065] io scheduler cfq registered (default)
[ 61.135820] fbcon: Creator 3D (fb0) is primary device
[ 61.142265] Console: switching to colour frame buffer device 144x56
[ 61.148541] /upa@8,480000/SUNW,ffb@0,0: FFB at 000007f800000000, type 51, DAC pnum[236e] rev[10] manuf_rev[1]
[ 61.149874] f0083ea0: ttyS0 at MMIO 0x7fe7e400000 (irq = 12) is a SAB82532 V3.2
[ 61.150101] f0083ea0: ttyS1 at MMIO 0x7fe7e400040 (irq = 12) is a SAB82532 V3.2
[ 61.152675] mousedev: PS/2 mouse device common for all mice
[ 61.153665] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 61.153759] rtc0: no alarms, 114 bytes nvram
[ 61.154971] TCP cubic registered
[ 61.155191] NET: Registered protocol family 10
[ 61.157525] Mobile IPv6
[ 61.157574] NET: Registered protocol family 17
[ 61.157662] Registering the dns_resolver key type
[ 61.157811] registered taskstats version 1
[ 61.158180] rtc_cmos rtc_cmos: setting system clock to 2015-08-21 10:29:24 UTC (1440152964)
[ 61.158325] Initializing network drop monitor service
[ 61.213157] udevd[48]: starting version 175
[ 61.417347] sungem.c:v1.0 David S. Miller <davem@redhat.com>
[ 61.442047] gem 0000:00:05.1: eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:03:ba:09:92:39
[ 61.495237] SCSI subsystem initialized
[ 61.535574] usbcore: registered new interface driver usbfs
[ 61.535748] usbcore: registered new interface driver hub
[ 61.542091] usbcore: registered new device driver usb
[ 61.544067] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 61.545269] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 61.581933] firewire_ohci: Added fw-ohci device 0000:00:05.2, OHCI v1.0, 4 IR + 4 IT contexts, quirks 0x0
[ 61.582135] PCI: Enabling device: (0000:00:06.0), cmd 147
[ 61.583339] sym0: <875> rev 0x37 at pci 0000:00:06.0 irq 16
[ 61.676567] sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
[ 61.685107] sym0: SCSI BUS has been reset.
[ 61.685227] scsi0 : sym-2.2.3
[ 61.686211] PCI: Enabling device: (0000:00:06.1), cmd 147
[ 61.687401] sym1: <875> rev 0x37 at pci 0000:00:06.1 irq 17
[ 61.690138] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 8.03.07.12-k.
[ 61.692972] PCI: Enabling device: (0001:00:04.0), cmd 3
[ 61.693006] qla2xxx [0001:00:04.0]-001d: : Found an ISP2200 irq 20 iobase 0x000007fd00100000.
[ 61.696910] qla2xxx [0001:00:04.0]-0040:2: Configuring PCI space...
[ 61.699727] qla2xxx [0001:00:04.0]-0050:2: No matching ROM signature.
[ 61.702373] qla2xxx [0001:00:04.0]-0061:2: Configure NVRAM parameters...
[ 61.777199] sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
[ 61.787198] sym1: SCSI BUS has been reset.
[ 61.789841] scsi1 : sym-2.2.3
[ 61.795390] ohci_hcd 0000:00:05.3: OHCI Host Controller
[ 61.798103] ohci_hcd 0000:00:05.3: new USB bus registered, assigned bus number 1
[ 61.799593] qla2xxx [0001:00:04.0]-0064:2: Inconisistent NVRAM detected: checksum=0x0 id=
[ 61.799608] qla2xxx [0001:00:04.0]-0065:2: Falling back to functioning (yet invalid -- WWPN) defaults.
[ 61.799627] qla2xxx [0001:00:04.0]-0069:2: NVRAM configuration failed.
[ 61.799640] qla2xxx [0001:00:04.0]-0078:2: Verifying loaded RISC code...
[ 61.813914] ohci_hcd 0000:00:05.3: irq 15, io mem 0x7fe01000000
[ 61.827257] qla2xxx 0001:00:04.0: firmware: agent loaded ql2200_fw.bin into memory
[ 61.873725] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 61.876377] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 61.879030] usb usb1: Product: OHCI Host Controller
[ 61.881632] usb usb1: Manufacturer: Linux 3.2.0-4-sparc64-smp ohci_hcd
[ 61.884211] usb usb1: SerialNumber: 0000:00:05.3
[ 61.887585] hub 1-0:1.0: USB hub found
[ 61.890181] hub 1-0:1.0: 4 ports detected
[ 62.173920] firewire_core: created device fw0: GUID 0003bafffe099239, S400
[ 62.217643] usb 1-4: new low-speed USB device number 2 using ohci_hcd
[ 62.376210] usb 1-4: New USB device found, idVendor=0430, idProduct=0005
[ 62.378802] usb 1-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 62.405249] input: HID 0430:0005 as /devices/root/f0061680/pci0000:00/0000:00:05.3/usb1/1-4/1-4:1.0/input/input0
[ 62.408316] generic-usb 0003:0430:0005.0001: input,hidraw0: USB HID v1.00 Keyboard [HID 0430:0005] on usb-0000:00:05.3-4/input0
[ 62.411742] usbcore: registered new interface driver usbhid
[ 62.414506] usbhid: USB HID core driver
[ 64.968277] scsi 0:0:1:0: CD-ROM NAKAMICH MJ-5.16S 1.02 PQ: 0 ANSI: 2
[ 64.971076] scsi target0:0:1: Beginning Domain Validation
[ 64.979680] scsi target0:0:1: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 15)
[ 64.988880] scsi target0:0:1: Domain Validation skipping write tests
[ 64.991582] scsi target0:0:1: Ending Domain Validation
[ 64.997235] scsi 0:0:1:1: CD-ROM NAKAMICH MJ-5.16S 1.02 PQ: 0 ANSI: 2
[ 65.002905] scsi 0:0:1:2: CD-ROM NAKAMICH MJ-5.16S 1.02 PQ: 0 ANSI: 2
[ 65.008577] scsi 0:0:1:3: CD-ROM NAKAMICH MJ-5.16S 1.02 PQ: 0 ANSI: 2
[ 65.014092] scsi 0:0:1:4: CD-ROM NAKAMICH MJ-5.16S 1.02 PQ: 0 ANSI: 2
[ 66.222459] scsi 0:0:6:0: CD-ROM TOSHIBA DVD-ROM SD-M1401 1008 PQ: 0 ANSI: 2
[ 66.225101] scsi target0:0:6: Beginning Domain Validation
[ 66.239629] scsi target0:0:6: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 16)
[ 66.251633] scsi target0:0:6: Domain Validation skipping write tests
[ 66.254211] scsi target0:0:6: Ending Domain Validation
[ 68.682817] sr0: scsi3-mmc drive: 16x/16x xa/form2 changer
[ 68.688871] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 68.696353] sr 0:0:1:0: Attached scsi CD-ROM sr0
[ 68.703162] sr 0:0:1:0: Attached scsi generic sg0 type 5
[ 68.707913] sr 0:0:1:1: Attached scsi generic sg1 type 5
[ 68.711472] scsi 0:0:1:2: Attached scsi generic sg2 type 5
[ 68.714567] scsi 0:0:1:3: Attached scsi generic sg3 type 5
[ 68.717149] sr1: scsi3-mmc drive: 16x/16x xa/form2 changer
[ 68.721119] scsi 0:0:1:4: Attached scsi generic sg4 type 5
[ 68.724379] scsi 0:0:6:0: Attached scsi generic sg5 type 5
[ 68.727564] sr 0:0:1:1: Attached scsi CD-ROM sr1
[ 68.743645] sr2: scsi3-mmc drive: 16x/16x xa/form2 changer
[ 68.751216] sr 0:0:1:2: Attached scsi CD-ROM sr2
[ 68.776245] sr3: scsi3-mmc drive: 16x/16x xa/form2 changer
[ 68.785496] sr 0:0:1:3: Attached scsi CD-ROM sr3
[ 68.807436] sr4: scsi3-mmc drive: 16x/16x xa/form2 changer
[ 68.816454] sr 0:0:1:4: Attached scsi CD-ROM sr4
[ 68.833926] sr5: scsi3-mmc drive: 40x/40x cd/rw xa/form2 cdda tray
[ 68.841113] sr 0:0:6:0: Attached scsi CD-ROM sr5
[ 72.501718] qla2xxx [0001:00:04.0]-00c5:2: Allocated (252 KB) for firmware dump.
[ 72.629633] qla2xxx [0001:00:04.0]-500c:2: LIP reset occurred (f8e8).
[ 72.632183] scsi2 : qla2xxx
[ 72.635617] qla2xxx [0001:00:04.0]-00fa:2: QLogic Fibre Channed HBA Driver: 8.03.07.12-k.
[ 72.638069] qla2xxx [0001:00:04.0]-00fb:2: QLogic QLA22xx - .
[ 72.640523] qla2xxx [0001:00:04.0]-00fc:2: ISP2200: PCI (66 MHz) @ 0001:00:04.0 hdma- host#=2 fw=2.02.08 TP.
[ 72.673377] qla2xxx [0001:00:04.0]-5009:2: LIP occurred (f8e8).
[ 72.677097] qla2xxx [0001:00:04.0]-500a:2: LOOP UP detected (1 Gbps).
[ 72.685588] scsi 2:0:0:0: Direct-Access SEAGATE ST373307FSUN72G 0207 PQ: 0 ANSI: 3
[ 72.692594] scsi 2:0:1:0: Direct-Access FUJITSU MAP3735F SUN72G 1201 PQ: 0 ANSI: 4
[ 72.694454] scsi: waiting for bus probes to complete ...
[ 72.699020] scsi 2:0:0:0: Attached scsi generic sg6 type 0
[ 72.703203] scsi 2:0:1:0: Attached scsi generic sg7 type 0
[ 72.716687] sd 2:0:0:0: [sda] 143374738 512-byte logical blocks: (73.4 GB/68.3 GiB)
[ 72.721636] sd 2:0:1:0: [sdb] 143374738 512-byte logical blocks: (73.4 GB/68.3 GiB)
[ 72.721709] sd 2:0:0:0: [sda] Write Protect is off
[ 72.721726] sd 2:0:0:0: [sda] Mode Sense: db 00 10 08
[ 72.728554] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
[ 72.731398] sd 2:0:1:0: [sdb] Write Protect is off
[ 72.733853] sd 2:0:1:0: [sdb] Mode Sense: bb 00 00 08
[ 72.737726] sd 2:0:1:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 72.753467] sda: sda1 sda2 sda3 sda4 sda5
[ 72.763260] sdb: sdb1 sdb2 sdb3 sdb4 sdb5
[ 72.766894] sd 2:0:0:0: [sda] Attached SCSI disk
[ 72.778890] sd 2:0:1:0: [sdb] Attached SCSI disk
[ 73.617453] kjournald starting. Commit interval 5 seconds
[ 73.619916] EXT3-fs (sda5): mounted filesystem with ordered data mode
[ 76.211460] /pci@8,700000/ebus@5/flashprom@0,0: OBP Flash, RD 7fe7d000000[200000] WR 7fe7d000000[200000]
[ 76.299721] i2c-0: Regs at 000007fe7e00002e, 8 devices, own a0, clock 10.
[ 76.303144] i2c-0: Regs at 000007fe7e000030, 8 devices, own a0, clock 10.
[ 76.398589] bbc_envctrl: kenvctrld starting...
[ 77.956066] Adding 1269120k swap on /dev/sda2. Priority:-1 extents:1 across:1269120k
[ 78.533815] EXT3-fs (sda5): using internal journal
[ 80.109588] kjournald starting. Commit interval 5 seconds
[ 80.124489] EXT3-fs (sda4): using internal journal
[ 80.127315] EXT3-fs (sda4): mounted filesystem with ordered data mode
[ 81.176861] sungem_phy: PHY ID: 18074c1, addr: 0
[ 81.176890] gem 0000:00:05.1: eth0: Found Generic MII PHY
[ 81.182620] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 83.585845] gem 0000:00:05.1: eth0: Link is up at 100 Mbps, full-duplex
[ 83.588671] gem 0000:00:05.1: eth0: Pause is disabled
[ 83.594332] ADDRCONF(NETDEV_CHANGE): eth0: link becomes read
Reply to: