Gentoo Archives: gentoo-dev

From: Jay Maynard <jmaynard@××××××××.cx>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Alpha catalyst-built LiveCD almost works
Date: Tue, 24 Feb 2004 03:43:06
Message-Id: 20040224034539.GA25994@thebrain.conmicro.cx
In Reply to: Re: [gentoo-dev] Completed livecd-stage2 build by Brad House
1 On Mon, Feb 23, 2004 at 07:57:50PM -0500, Brad House wrote:
2 > Also, make sure you kernel has loopback, and ramdisk support
3 > with a default ram disk size of 8192, as well as Initial
4 > RAM disk (initrd) support turned on.
5
6 Doh! The last one was the problem. Now, it gets a lot farther, but still has
7 a problem, as well as some weirdness:
8
9 ff.fe.fd.fc.fb.fa.f9.f8.f7.f6.f5.f3.f2.f1.f0.
10 ef.b0.b1.b2.b3.ee.ed.
11 ERROR: ISA table corrupt!
12 Initializing table to defaults
13 ec.f4.eb.ea.e9.e8.e7.
14
15 Digital AlphaPC 164 500 MHz Console V5.5-1, Jul 14 1999 12:37:45
16 >>>b dka400 -fl x
17 (boot dka400.4.0.7.0 -flags x)
18 block 0 of dka400.4.0.7.0 is a valid boot block
19 reading 170 blocks from dka400.4.0.7.0
20 bootstrap code read in
21 base = 180000, image_start = 0, image_bytes = 15400
22 initializing HWRPB at 2000
23 initializing page table at 172000
24 initializing machine state
25 setting affinity to the primary CPU
26 jumping to bootstrap code
27 aboot: Linux/Alpha SRM bootloader version 0.9bpre
28 aboot: switching to OSF/1 PALcode version 1.23
29 aboot: booting from device 'SCSI 0 7 0 4 400 0 0'
30 aboot: no disklabel found.
31 iso: Max size:24196 Log zone size:2048
32 iso: First datazone:36 Root inode number 73728
33 aboot: could not find default config `x'
34 Welcome to aboot 0.9bpre
35 Commands:
36 h, ? Display this message
37 q Halt the system and return to SRM
38 p 1-8 Look in partition <num> for configuration/kernel
39 l List preconfigured kernels
40 d <dir> List directory <dir> in current filesystem
41 b <file> <args> Boot kernel in <file> (- for raw boot)
42 i <file> Use <file> as initial ramdisk
43 with arguments <args>
44 0-9 Boot preconfiguration 0-9 (list with 'l')
45 aboot> l
46 # Option 0, the default, boots /boot/gentoo with the graphics console.
47 # Option 1 and 2 boots /boot/gentoo with the console set to ttyS0 or S1,
48 # respectively. More options are present if more kernels are included, in
49 # the same pattern.
50 0:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot
51 1:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 console=ttyS0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot
52 2:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 console=ttyS1 init=/linuxrc looptype=zisofs loop=/zisofs cdroot
53 aboot> b /boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 console=ttyS0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot doscsi
54 aboot: loading uncompressed /boot/gentoo...
55 aboot: loading compressed /boot/gentoo...
56 aboot: zero-filling 1693016 bytes at 0xfffffc00015e5998
57 aboot: loading initrd (1788972 bytes/1747 blocks) at 0xfffffc000fc38000
58 aboot: starting kernel /boot/gentoo with arguments root=/dev/ram0 console=ttyS0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot doscsi
59 Linux version 2.4.21-alpha-r4 (root@romy) (gcc version 3.3.2 20031022 (Gentoo Linux 3.3.2-r2, propolice)) #1 Tue Feb 24 01:26:29 Local time zone must be set--se e zic manu
60 Booting GENERIC on EB164 variation PC164 using machine vector PC164 from SRM
61 Command line: root=/dev/ram0 console=ttyS0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot doscsi
62 memcluster 0, usage 1, start 0, end 192
63 memcluster 1, usage 0, start 192, end 32651
64 memcluster 2, usage 1, start 32651, end 32768
65 freeing pages 192:2048
66 freeing pages 3012:32651
67 reserving pages 3012:3013
68 Initial ramdisk at: 0xfffffc000fc38000 (1788972 bytes)
69 pci: cia revision 2
70 On node 0 totalpages: 32651
71 zone(0): 32651 pages.
72 zone(1): 0 pages.
73 zone(2): 0 pages.
74 Kernel command line: root=/dev/ram0 console=ttyS0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot doscsi
75 Using epoch = 1980
76 Console: colour VGA+ 80x25
77 Calibrating delay loop... 990.32 BogoMIPS
78 Memory: 247368k/261208k available (2814k kernel code, 12304k reserved, 2854k data, 232k init)
79 Dentry cache hash table entries: 32768 (order: 6, 524288 bytes)
80 Inode cache hash table entries: 16384 (order: 5, 262144 bytes)
81 Mount cache hash table entries: 512 (order: 0, 8192 bytes)
82 Buffer-cache hash table entries: 8192 (order: 3, 65536 bytes)
83 Page-cache hash table entries: 32768 (order: 5, 262144 bytes)
84 POSIX conformance testing by UNIFIX
85 pci: passed tb register update test
86 pci: passed sg loopback i/o read test
87 pci: passed tbia test
88 pci: passed pte write cache snoop test
89 pci: failed valid tag invalid pte reload test (mcheck; workaround available)
90 pci: passed pci machine check test
91 SMC FDC37C93X Ultra I/O Controller found @ 0x370
92 Linux NET4.0 for Linux 2.4
93 Based upon Swansea University Computer Society NET3.039
94 Initializing RT netlink socket
95 srm_env: version 0.0.5 loaded successfully
96 Starting kswapd
97 Journalled Block Device driver loaded
98 devfs: v1.12c (20020818) Richard Gooch (rgooch@××××××××××.au)
99 devfs: boot_options: 0x0
100 Installing knfsd (copyright (C) 1996 okir@×××××××××.de).
101 parport0: PC-style at 0x3bc [PCSPP(,...)]
102 pty: 256 Unix98 ptys configured
103 Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
104 ttyS00 at 0x03f8 (irq = 4) is a 16550A
105 ttyS01 at 0x02f8 (irq = 3) is a 16550A
106 lp0: using parport0 (polling).
107 rtc: ARC console epoch (1980) detected
108 Real Time Clock Driver v1.10e
109 Floppy drive(s): fd0 is 2.88M
110 FDC 0 is a post-1991 82077
111 RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
112 loop: loaded (max 8 devices)
113 PPP generic driver version 2.4.2
114 PPP Deflate Compression module registered
115 Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
116 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
117 SCSI subsystem driver Revision: 1.00
118 mice: PS/2 mouse device common for all mice
119 md: linear personality registered as nr 1
120 md: raid0 personality registered as nr 2
121 md: raid1 personality registered as nr 3
122 md: raid5 personality registered as nr 4
123 raid5: measuring checksumming speed
124 8regs : 557.056 MB/sec
125 32regs : 892.928 MB/sec
126 alpha : 1032.192 MB/sec
127 alpha prefetch: 892.928 MB/sec
128 raid5: using function: alpha (1032.192 MB/sec)
129 md: multipath personality registered as nr 7
130 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
131 md: Autodetecting RAID arrays.
132 md: autorun ...
133 md: ... autorun DONE.
134 LVM version 1.0.5+(22/07/2002)
135 NET4: Linux TCP/IP 1.0 for NET4.0
136 IP Protocols: ICMP, UDP, TCP, IGMP
137 IP: routing cache hash table of 4096 buckets, 32Kbytes
138 TCP: Hash tables configured (established 32768 bind 32768)
139 NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
140 RAMDISK: Compressed image found at block 0
141 Freeing initrd memory: 1747k freed
142 VFS: Mounted root (ext2 filesystem) readonly.
143 Freeing unused kernel memory: 232k freed
144 Gentoo initrd startup...
145 STEP 1: Command-line parsing
146 STEP 2: Module loading
147 ---- Scanning for ehci-hcd...cat: /modules.cache: No such file or directory
148 module /lib/modules/2.4.21-alpha-r4/kernel/drivers/usb/usbcore.o loaded
149 ---- Detected ehci-hcd hardware
150 ---- Scanning for uhci...---- Detected uhci hardware
151 ---- Scanning for usb-ohci...---- Detected usb-ohci hardware
152 ---- Scanning for hid...module /lib/modules/2.4.21-alpha-r4/kernel/drivers/usb/hid.o loaded
153 ---- Detected hid hardware
154 ---- Scanning for usb-storage...module /lib/modules/2.4.21-alpha-r4/kernel/drivers/usb/storage/usb-storage.o loaded
155 ---- Detected usb-storage hardware
156 ---- Scanning for ieee1394...module /lib/modules/2.4.21-alpha-r4/kernel/drivers/ieee1394/ieee1394.o
157 /lib/modules/2.4.21-alpha-r4/kernel/drivers/ieee1394/ohci1394.o loaded
158 ---- Detected ieee1394 hardware
159 ---- Scanning for ohci1394...---- Detected ohci1394 hardware
160 ---- Scanning for eth1394...module /lib/modules/2.4.21-alpha-r4/kernel/drivers/ieee1394/eth1394.o loaded
161 ---- Detected eth1394 hardware
162 ---- Scanning for sbp2...module /lib/modules/2.4.21-alpha-r4/kernel/drivers/ieee1394/sbp2.o loaded
163 ---- Detected sbp2 hardware
164 ---- Scanning for sd_mod...module /lib/modules/2.4.21-alpha-r4/kernel/drivers/scsi/sd_mod.o loaded
165 ---- Detected sd_mod hardware
166 ---- Scanning for sg...module /lib/modules/2.4.21-alpha-r4/kernel/drivers/scsi/sg.o loaded
167 ---- Detected sg hardware
168 ---- Scanning for sr_mod...module /lib/modules/2.4.21-alpha-r4/kernel/drivers/scsi/sr_mod.o loaded
169 ---- Detected sr_mod hardware
170 ---- Scanning for aic7xxx...---- Detected aic7xxx hardware
171 ---- Scanning for aic7xxx_old...---- Detected aic7xxx_old hardware
172 ---- Scanning for BusLogic...---- Detected BusLogic hardware
173 ---- Scanning for ncr53c8xx...module /lib/modules/2.4.21-alpha-r4/kernel/drivers/scsi/ncr53c8xx.o loaded
174 ---- Detected ncr53c8xx hardware
175 ---- Scanning for NCR53c406a...---- Detected NCR53c406a hardware
176 ---- Scanning for initio...no such module found
177 ---- Scanning for advansys...---- Detected advansys hardware
178 ---- Scanning for aha1740...---- Detected aha1740 hardware
179 ---- Scanning for aha1542...module /lib/modules/2.4.21-alpha-r4/kernel/drivers/pnp/isa-pnp.o loaded
180 ---- Detected aha1542 hardware
181 ---- Scanning for aha152x...---- Detected aha152x hardware
182 ---- Scanning for atp870u...no such module found
183 ---- Scanning for dtc...---- Detected dtc hardware
184 ---- Scanning for eata...no such module found
185 ---- Scanning for fdomain...---- Detected fdomain hardware
186 ---- Scanning for gdth...no such module found
187 ---- Scanning for megaraid...no such module found
188 ---- Scanning for pas16...no such module found
189 ---- Scanning for pci2220i...---- Detected pci2220i hardware
190 ---- Scanning for pci2000...---- Detected pci2000 hardware
191 ---- Scanning for psi240i...---- Detected psi240i hardware
192 ---- Scanning for qlogicfas...---- Detected qlogicfas hardware
193 ---- Scanning for qlogicfc...---- Detected qlogicfc hardware
194 ---- Scanning for qlogicisp...---- Detected qlogicisp hardware
195 ---- Scanning for seagate...no such module found
196 ---- Scanning for t128...---- Detected t128 hardware
197 ---- Scanning for tmscsim...---- Detected tmscsim hardware
198 ---- Scanning for u14-34f...---- Detected u14-34f hardware
199 ---- Scanning for ultrastor...no such module found
200 ---- Scanning for wd7000...no such module found
201 ---- Scanning for a100u2w...no such module found
202 ---- Scanning for 3w-xxxx...---- Detected 3w-xxxx hardware
203 ---- Scanning for DAC960...---- Detected DAC960 hardware
204 ---- Scanning for NCR53c406a...---- Detected NCR53c406a hardware
205 ---- Scanning for aacraid...---- Detected aacraid hardware
206 ---- Scanning for sym53c8xx...---- Detected sym53c8xx hardware
207 ---- Scanning for a100u2w...no such module found
208 ---- Scanning for cpqfc...---- Detected cpqfc hardware
209 ---- Scanning for dmx3191d...---- Detected dmx3191d hardware
210 ---- Scanning for dpt_i2o...no such module found
211 ---- Scanning for imm...no such module found
212 ---- Scanning for in2000...---- Detected in2000 hardware
213 ---- Scanning for ips...no such module found
214 ---- Scanning for qla1280...---- Detected qla1280 hardware
215 ---- Scanning for sim710...no such module found
216 ---- Scanning for sym53c416...---- Detected sym53c416 hardware
217 STEP 3: Mounting necessary filesystems per boot options
218 Started device management daemon v1.3.25 for /newroot/dev
219 ---- Attempting to mount CD -- /newroot/dev/cdroms/cdrom0
220 ---- CD medium found on /newroot/dev/cdroms/cdrom0
221 STEP 4: Determining root device
222 STEP 5: Finishing up
223 STEP 5a: filling tmpfs filesystem
224 STEP 5a2: filling filesystem
225 STEP 5c: redirect console
226 STEP 6: pivot_root and exec/chroot real init
227 STEP 6a: clean up mounts
228 umount: /tmp/.initrd/dev: not mounted
229 COULD NOT UMOUNT tmp/.initrd/dev !!!
230 UMOUNTING /tmp/.initrd
231 INIT: starting /sbin/init root=/dev/ram0 console=ttyS0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot doscsi
232 INIT: version 2.84 booting
233
234 Gentoo Linux; http://www.gentoo.org/
235 Copyright 2001-2003 Gentoo Technologies, Inc.; Distributed under the GPL
236
237 * Mounting proc at /proc... [ ok ]
238 * Starting devfsd...Started device management daemon v1.3.25 for /dev
239 [ ok ]
240 * Activating (possible) swap... [ ok ]
241 * Remounting root filesystem read/write... [ ok ]
242 * Setting hostname to livecd... [ ok ]
243 * Mounting local filesystems... [ ok ]
244 * Mounting USB device filesystem (usbfs)... [ ok ]
245 * Activating (possibly) more swap... [ ok ]
246 * Updating inittab... [ ok ]
247 * Caching service dependencies... [ ok ]
248 * Setting system clock to hardware clock [UTC]... [ ok ]
249 * Configuring kernel parameters... [ ok ]
250 * Updating environment... [ ok ]
251 * Cleaning /var/lock, /var/run... [ ok ]
252 * Cleaning /tmp directory... [ ok ]
253 * Bringing lo up... [ ok ]
254 * Initializing random number generator... [ ok ]
255 INIT: Entering runlevel: 3
256 * Starting metalog... [ ok ]
257 * Starting local... [ ok ]
258
259
260 This is livecd.unknown_domain (Linux alpha 2.4.21-alpha-r4) 03:24:50
261
262 livecd login: root
263 login: PAM Failure, aborting: Critical error - immediate abort
264
265
266 This is livecd.unknown_domain (Linux alpha 2.4.21-alpha-r4) 03:25:00
267
268
269 First, unlike previous LiveCDs, this version doesn't look for SCSI unless
270 the doscsi parameter is passed to the kernel at boot time. Nearly all Alphas
271 do their disk via SCSI. Is there a defined way to make doscsi the default,
272 or should I just include it when building the aboot configuration file?
273
274 Second, /linuxrc reports that hardware has been found if the module is
275 present, regardless of whether the hardware is actually present and
276 regardless of whether the module actually loaded. This is mainly a nuisance.
277
278 Third, and biggest: Why is PAM blowing up? This is almost certainly why the
279 root user isn't automatically logged in and given the ability to proceed
280 with the installation.
281
282 It's getting close...
283
284 --
285 gentoo-dev@g.o mailing list

Replies