Gentoo Archives: gentoo-dev

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

Replies

Subject Author
Re: [gentoo-dev] Alpha catalyst-built LiveCD almost works Jay Maynard <jmaynard@××××××××.cx>