Gentoo Archives: gentoo-dev

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

Replies

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