From: Andreas <an...@po...> - 2002-03-19 22:33:20
|
Hi >> I just had an inspiration. Someone put in debugging code to help when >> we get segfault problems. It won't show the registers for your arch, >> but it will at least give a backtrace which may prove helpful to >> someone around here. >> >> The way you activate it, is add debug to your boot arguments. It's >> supposed to give you a backtrace on stderr. Can you try that with >> the troublesome kernel? Where's stderr? vc1? > Ok, I'll do this tonight! I think debug=mem would be the right thing for my > machine (and afterwards get the log out of the ram under AmigaOS)? By this opportunity I also took the latest bf's Adam told me to take (3.0.21.0.1) from #http://people.debian.org/~aph/boot-floppies-woody/disks-powerpc/current/#. Ok, I've now ran the system using debug=mem. Well, I don't know if this has been the right thing, as Chris pointed out with > dbootstrap looks at the boot arguments and changes its behavior if it sees > 'debug' among them. I don't think it creates a specific log. Other arguments > it looks for are 'verbose' and 'quiet'. Whenever I've used it, I just type > e.g. > > Linux debug > > at the boot prompt. Unfortunately, this mail arrived after I have done the testing. But I will do another run with the command supposed above. For the Amiga spcialists, my boot command went as follows: bootstrap --apus -v -k apus/vmlinuz-2.4.17-apus -r apus/images-1.44/root.bin debug=mem root=/dev/ram video=pm2fb:mode:1024x768-75 It gave me the following output, which I personally consider not very useful, as I can see no significant messages. As a side effect, nothing has been printed on vc1 during startup, but I assume this was caused by redirecting the output to ram by debug=ram. I wonder that there is no debug output at all, as I thought debug=xxx would also raise the debug level, as a simple 'debug' does. Searching for SAVEKMSG magic... Found 4312 bytes at 0x001e0010 >>>>>>>>>>>>>>>>>>>> Total memory = 71MB; using 512kB for hash table (at c0300000) Linux version 2.4.17-apus (root@pismo) (gcc version 2.95.4 (Debian prerelease)) #1 Son Feb 17 17:00:37 CET 2002 Amiga hardware found: [A4000] VIDEO BLITTER AUDIO FLOPPY A4000_IDE KEYBOARD MOUSE SERIAL PARALLEL A3000_CLK CHIP_RAM PAULA LISA ALICE_PAL ZORRO3 On node 0 totalpages: 18304 zone(0): 18304 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: debug=mem root=/dev/ram video=pm2fb:mode:1024x768-75 ioremap: fffc0000 (00001000) -> fdfff000 ioremap: fffe0000 (00001000) -> fdffe000 APUS: BATs=1, BUS=67MHz, RAM=70ns, PCI bridge=1 time_init: decrementer frequency = 16.503756 MHz Console: colour dummy device 80x25 Calibrating delay loop... 395.67 BogoMIPS Memory: 67036k available (1864k kernel code, 848k data, 280k init, 0k highmem) Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes) Inode-cache hash table entries: 8192 (order: 4, 65536 bytes) Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware Memory resource not set for host bridge 0 apus_pcibios_fixup: PCI mem resource requested PCI: Cannot allocate resource region 1 of PCI bridge 0 PCI: resource is e0000000..fffc0000 (200), parent c023fc1c PCI:00:01.0: Resource 0: ef000000-ef01ffff (f=200) PCI:00:01.0: Resource 1: e1000000-e17fffff (f=200) PCI:00:01.0: Resource 2: e1000000-e17fffff (f=200) PCI: Cannot allocate resource region 2 of device 00:01.0 PCI: parent is c023f8c8: e0000000-fffc0000 (f=200) PCI: Switching off ROM of 00:01.0 Zorro: Probing AutoConfig expansion devices: 2 devices Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Journalled Block Device driver loaded ioremap: fffc0000 (00001000) -> c501a000 ioremap: fffe0000 (00001000) -> c501c000 ioremap: e0000000 (00800000) -> c501e000 ioremap: ef010000 (00010000) -> c581f000 Console: switching to colour frame buffer device 128x48 fb0: CVisionPPC/BVisionPPC (Permedia2), using 8192K of video memory. fb1: Amiga AGA frame buffer device, using 1280K of video memory clgen: Driver for Cirrus Logic based graphic boards, v1.9.9.1 Couldn't find PCI device pty: 256 Unix98 ptys configured Commodore A2232 driver initializing. Total: 0 A2232 boards initialized. Amiga-builtin serial driver version 4.30 ttyS00 is the amiga builtin serial port Amiga mouse installed. Generic RTC Driver v1.02 block: 128 slots per queue, batch=32 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ide0: Gayle IDE interface (A4000 style) ide1: X-S-rf IDE interface ide2: X-Surf IDE interface hda: QUANTUM FIREBALLP LM15, ATA DISK drive hdb: LTN526, ATAPI CD/DVD-ROM drive ide0 at 80dd2020 on irq 0x0000000c hda: 29336832 sectors (15020 MB) w/1900KiB Cache, CHS=29104/16/63 hdb: ATAPI 52X CD-ROM drive, 120kB Cache Uniform CD-ROM driver Revision: 3.12 ide-floppy driver 0.97.sv Partition check: hda: RDSK hdh1 hda2 hda3 FD: probing units found fd0d SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled). CSLIP: code copyright 1989 Regents of the University of California. SLIP linefill/keepalive option. loop: loaded (max 8 devices) PPP generic driver version 2.4.1 PPP Deflate Compression module registered PPP BSD Compression module registered eth0: X-Surf at 0x00e90000, Ethernet Address **:**:**:**:**:** No Hydra ethernet card found. ide-floppy driver 0.97.sv SCSI subsystem driver Revision: 1.00 request_module[scsi_hostadapter]: Root fs not mounted request_module[scsi_hostadapter]: Root fs not mounted NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDPD TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 4096) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 1440k freed VFS: Mounted root (ext2 filesystem). Freeing unused kernel memory: 280k init Warning: unable to open an initial console. Restarting system. <<<<<<<<<<<<<<<<<<<< Btw: the MAC-Address hiding was done by myself in this email.. So, no kernel error here! -- Best wishes, hope this helped a bit, Andi |