Memory not aligned kernel problem
Hi, this is my first post here. I looked around on this list to find out if someone else had the same problem, but i found no solution. I just compiled the 2.6.0 kernel. The compile process is just fin, byt the image i get seems not to be bootable. Right after i select the image at the sil prompt at boot i get a Memory not aligned error and i am kicked to the openboot prompt again. It is the first time i compile a kernel for an ultrasparc box, so i have no idea of what my mistake could be. I tred to gzip the image and boot it, but it hangs complaining about the size of the uncompresed kernel. The problem is that i already put out of the kernel all the things i don't need. sorry to bother you with this problem. bye ---marco--- http://www.ppcnerds.org ---
Re: Memory not aligned kernel problem
Hi Marco, On Fri, 19 Dec 2003, marco wrote: I just compiled the 2.6.0 kernel. The compile process is just fin, byt the image i get seems not to be bootable. Right after i select the image at the sil prompt at boot i get a Memory not aligned error and i am kicked to the openboot prompt again. What compiler did you use? I wouldn't trust all GCC versions. GCC 3.2.3 is known to work with the 2.4 kernels. I consider 2.6.0 a 'most things work' milestone. Sparc support for 2.6 hasn't been tested or reported on this list very much lately. It might be broken. In that case, it will be fixed in a next version of the 2.6 series. Regards, Pieter-Paul
Re: Memory not aligned kernel problem
On Fri, 19 Dec 2003 13:15:52 +0100 (MET) Pieter-Paul Spiertz [EMAIL PROTECTED] wrote: I consider 2.6.0 a 'most things work' milestone. Sparc support for 2.6 hasn't been tested or reported on this list very much lately. It might be broken. In that case, it will be fixed in a next version of the 2.6 series. My Ultra10 is currently running a 2.6.0 (test11) release and it works like a breeze. (compiled with the standard Debian procedure via make-kpkg) Some things (such as IDE support) are greatly improved in 2.6. I compiled ide support, sun creator framebuffer, iptables with many features enabled (as modules), scsi support, serial console, Sun serial keyboard and mouse via Siemens SAB driver. No audio (I don't need it), no DRM (no X installed), nothing else than the necessary items. Ah, kernel packet shaper is compiled and reported to work (even if I don't use it actively at the moment). Preemption is enabled. Uptime is a couple of weeks, and the system hosts a file sharing server with a 1500-(l)users capacity. No oopses, no lockups at all. The system runs Debian Sid. Bye, Antonello
Re: Memory not aligned kernel problem
On Fri, Dec 19, 2003 at 01:15:52PM +0100, Pieter-Paul Spiertz wrote: Hi Marco, On Fri, 19 Dec 2003, marco wrote: I just compiled the 2.6.0 kernel. The compile process is just fin, byt the image i get seems not to be bootable. Right after i select the image at the sil prompt at boot i get a Memory not aligned error and i am kicked to the openboot prompt again. What compiler did you use? I wouldn't trust all GCC versions. GCC 3.2.3 is known to work with the 2.4 kernels. I consider 2.6.0 a 'most things work' milestone. Sparc support for 2.6 hasn't been tested or reported on this list very much lately. It might be broken. In that case, it will be fixed in a next version of the 2.6 series. I'm guessig this is sparc32. I know for a fact that 2.6.0 is pretty solid on sparc64. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ WatchGuard - http://www.watchguard.com/
Re: Memory not aligned kernel problem
On 19 Dec 2003 16:25:27 +0200 Matthew French [EMAIL PROTECTED] wrote: Biggest problem was trying to get the (stripped) kernel under 3.5Mb. Problem may be because I want LVM and RAID compiled in - not in the mood for mucking about with initrd's at the moment. I don't use neither logical volume manager nor software RAID layer on my system, however my kernel (stripped) remains under the one-meg barrier. It took very, very much less than three hours to compile however :) (333mhz cpu, 256 mb ram, YMMV) Or maybe I left something in that I don't need? I removed ALL of what I didn't need (less the framebuffer, even if the machine is headless, sometimes I like to connect a monitor and look for the Sun penguin ;). Crappish stuff like devfs, extra filesystems that I'll never even see on that machine, nfs client and server support (basically, nfs sucks ;)), support for SBUS devices, some network options I barely understand (QoS anyone?), multimedia drivers and tons of debugging options, plus crypto plug-ins were unmercfully removed from my setup ;) I saw some reports that turning preemption on actually slows down Sparc performance? Was on an older release (test5, I think). Has this been resolved? Was it ever a problem? Of course it was. Preemption didn't work properly on (ultra)SPARCs before pre11, according to the changelog. Antonello
Re: Debian on Enterprise 10000 (almost a success!)
Kernel panic: VFS: Unable to mount root fs on 01:00 Press L1-A to return to the boot prom Are you booting a kernel image, or the tftpboot image? -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ WatchGuard - http://www.watchguard.com/
Debian on Enterprise 10000 (almost a success!)
AHHAHAHAHAHAHAAH YEAHHH! WATCH THIS: #28 ok boot net linux -p Boot device: /[EMAIL PROTECTED],0/SUNW,[EMAIL PROTECTED],8c0 File and args: linux -p Timeout waiting for ARP/RARP packet Timeout waiting for ARP/RARP packet Timeout waiting for ARP/RARP packet 535400 PROMLIB: Sun IEEE Boot Prom 3.2.181 2003/08/15 11:02 4Linux version 2.4.21 ([EMAIL PROTECTED]) (gcc version 3.3.2 (Debian)) #1 Sat Nov 29 15:40:07 EST 2003 4ARCH: SUN4U Linux version 2.4.21 ([EMAIL PROTECTED]) (gcc version 3.3.2 (Debian)) #1 Sat Nov 29 15:40:07 EST 2003 4ARCH: SUN4U ARCH: SUN4U Ethernet address: 00:00:be:a6:b5:47 Remapping the kernel... done. On node 0 totalpages: 521937 zone(0): 523893 pages. zone(1): 0 pages. zone(2): 0 pages. Booting Linux... Found CPU 0 (node=feebeb6c,mid=28) Found CPU 1 (node=feebef24,mid=29) Found CPU 2 (node=feebf2dc,mid=30) Found CPU 3 (node=feebf694,mid=31) Found 4 CPU prom device tree node(s). Kernel command line: linux -p Calibrating delay loop... 797.90 BogoMIPS Memory: 4126288k available (2504k kernel code, 576k data, 184k init) [f800,ffcea000] Dentry cache hash table entries: 262144 (order: 9, 4194304 bytes) Inode cache hash table entries: 262144 (order: 9, 4194304 bytes) Mount cache hash table entries: 512 (order: 0, 8192 bytes) Buffer-cache hash table entries: 262144 (order: 8, 2097152 bytes) Page-cache hash table entries: 524288 (order: 9, 4194304 bytes) POSIX conformance testing by UNIFIX PCI: Probing for controllers. SYSIO: UPA portID 5c, at 0178 sbus0: Clock 25.0 MHz SYSIO: UPA portID 5d, at 017a sbus1: Clock 25.0 MHz 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 devfs: v1.12c (20020818) Richard Gooch ([EMAIL PROTECTED]) devfs: boot_options: 0x0 pty: 256 Unix98 ptys configured rtc_init: no PC rtc found RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) sunhme.c:v2.01 26/Mar/2002 David S. Miller (davem@redhat.com) eth0: Quattro HME slot 0 (SBUS) 10/100baseT Ethernet 08:00:20:b7:90:34 eth1: Quattro HME slot 1 (SBUS) 10/100baseT Ethernet 08:00:20:b7:90:35 eth2: Quattro HME slot 2 (SBUS) 10/100baseT Ethernet 08:00:20:b7:90:36 eth3: Quattro HME slot 3 (SBUS) 10/100baseT Ethernet 08:00:20:b7:90:37 Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx SCSI subsystem driver Revision: 1.00 qlogicfc : PCI not present ESP: Total of 0 ESP hosts found, 0 actually in use. kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 usb.c: registered new driver usbdevfs usb.c: registered new driver hub host/usb-uhci.c: $Revision: 1.275 $ time 15:49:35 Nov 29 2003 host/usb-uhci.c: High bandwidth mode enabled host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik [EMAIL PROTECTED] hid-core.c: USB HID support drivers Linux video capture interface: v1.00 mice: PS/2 mouse device common for all mice Initializing Cryptographic API NET4: Linux TCP/IP 1.0 for NET4.0 IP: routing cache hash table of 65536 buckets, 512Kbytes TCP: Hash tables configured (established 524288 bind 65536) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Couldn't find valid RAM disk image starting at 0. Freeing initrd memory: 1229k freed read_super_block: can't find a reiserfs filesystem on (dev 01:00, block 64, size 1024) read_super_block: can't find a reiserfs filesystem on (dev 01:00, block 8, size 1024) Kernel panic: VFS: Unable to mount root fs on 01:00 Press L1-A to return to the boot prom Cya! Fabio -- Our mission: make IPv6 the default IP protocol We are on a mission from God - Elwood Blues http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp4.html
V240 and kernel bug
I will try install debian in V240, but SFTW, i find that: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=220640 The bugs was resolve? Thank = La revolución no se hace únicamente con las armas... Hector Colina. Linux User 131637 Using Woody and Kernel 2.4.21 Merida-Venezuela http://merida.linux.org.ve _ MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
Re: Memory not aligned kernel problem
On Fri, 2003-12-19 at 15:13, Antonello wrote: My Ultra10 is currently running a 2.6.0 (test11) release and it works like a breeze. (compiled with the standard Debian procedure via make-kpkg) Some things (such as IDE support) are greatly improved in 2.6. I compiled ide support, sun creator framebuffer, iptables with many features enabled (as modules), scsi support, serial console, Sun serial keyboard and mouse via Siemens SAB driver. No audio (I don't need it), no DRM (no X installed), nothing else than the necessary items. Ah, kernel packet shaper is compiled and reported to work (even if I don't use it actively at the moment). I have had some problems getting 2.6.0 test11 to work on my Ultra5. Biggest problem was trying to get the (stripped) kernel under 3.5Mb. Problem may be because I want LVM and RAID compiled in - not in the mood for mucking about with initrd's at the moment. Or maybe I left something in that I don't need? Unfortunately the 3 hour compile cycle meant that I could not test fully. So if someone else has done it there may be hope for me. :) Preemption is enabled. I saw some reports that turning preemption on actually slows down Sparc performance? Was on an older release (test5, I think). Has this been resolved? Was it ever a problem? - Matthew
Re: netra t4
On Mon, Dec 15, 2003 at 03:15:02PM -0800, Eric Brower wrote: You may wish to speak with Johan Verrept-- he built a kernel for use on his Netra T4. well, I tried to reach him but he's busy or maybe my mails go under in the daily mail-noise... all-in-all: I still cannot boot, are there any docs about building tftpboot.img -es for sparc? I do have already an Ultra-10 running with debian, so I do not need to cross-compile, but how to build a tftpboot.img? with or without crosscompiling, both interests me. tia charlie -- Végh Károly - System Engineer - UTA - TIS.SAS.BSS Don't worry. Everything is getting nicely out of control.
Re: Debian on Enterprise 10000 (almost a success!)
On Fri, 19 Dec 2003, Ben Collins wrote: Kernel panic: VFS: Unable to mount root fs on 01:00 Press L1-A to return to the boot prom Are you booting a kernel image, or the tftpboot image? The tftpimage but I was happy enough to see it booting. I will dig into the root problem another time. I am officially in holidays ; Have fun! Fabio -- Our mission: make IPv6 the default IP protocol We are on a mission from God - Elwood Blues http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp4.html
Re: netra t4
Take a look at the Linux on the Sun JavaStation howto-- that describes the process in detail. E VEGH Karoly wrote: On Mon, Dec 15, 2003 at 03:15:02PM -0800, Eric Brower wrote: You may wish to speak with Johan Verrept-- he built a kernel for use on his Netra T4. well, I tried to reach him but he's busy or maybe my mails go under in the daily mail-noise... all-in-all: I still cannot boot, are there any docs about building tftpboot.img -es for sparc? I do have already an Ultra-10 running with debian, so I do not need to cross-compile, but how to build a tftpboot.img? with or without crosscompiling, both interests me. tia charlie
netra t1 105 hme fun
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hello all, i am having a problem with a netra of mineone of the interfaces (eth1) works just fine; eth0 however; will not work. googling showed that i am not alone, but the solutions i found on google have not worked (setting obp to not use a common mac, setting the mac via ifconfig, ethtool...) the switch that the box connects to doesn't show that it is recieving any packets on the interface, but the server shows that it is sending them. likewise, the switch shows that packets are being sent, but eth0 isn't recording any (tcpdump doesn't catch anything doing an extended ping from the switch). i have noticed a huge number of framing errors on the interface and will have the local 'smart-hands' replace that on monday, but i was wondering if anyone had any other ideas (replacing the box/interface isn't an option as i am not local to it). dmesg and ifconfig are shown below. tia /joshua eth0 Link encap:Ethernet HWaddr 08:00:20:DA:73:8E inet addr:172.16.24.2 Bcast:172.16.24.63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:5090 TX packets:93 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:3906 (3.8 KiB) Interrupt:96 Base address:0xb000 PROMLIB: Sun IEEE Boot Prom 3.10.27 2000/06/22 16:45 Linux version 2.4.21 ([EMAIL PROTECTED]) (gcc version 3.3.1 20030728 (Debian prerelease)) #1 Thu Aug 7 20:30:12 EDT 2003 ARCH: SUN4U Ethernet address: 08:00:20:da:73:8e On node 0 totalpages: 64861 zone(0): 98145 pages. zone(1): 0 pages. zone(2): 0 pages. Found CPU 0 (node=f0086028,mid=0) Found 1 CPU prom device tree node(s). Kernel command line: root=/dev/sda1 ro Calibrating delay loop... 878.18 BogoMIPS Memory: 509640k available (2504k kernel code, 576k data, 184k init) [f800,2fec2000] Dentry cache hash table entries: 65536 (order: 7, 1048576 bytes) Inode cache hash table entries: 32768 (order: 6, 524288 bytes) Mount cache hash table entries: 512 (order: 0, 8192 bytes) Buffer-cache hash table entries: 32768 (order: 5, 262144 bytes) Page-cache hash table entries: 65536 (order: 6, 524288 bytes) POSIX conformance testing by UNIFIX PCI: Probing for controllers. PCI: Found SABRE, main regs at 01fe, wsync at 01fe1c20 SABRE: Shared PCI config space at 01fe0100 SABRE: DVMA at c000 [2000] PCI-IRQ: Routing bus[ 3] slot[ e] map[1] to INO[02] PCI0(PBMA): Bus running at 33MHz PCI-IRQ: Routing bus[ 1] slot[ 1] map[0] to INO[21] PCI-IRQ: Routing bus[ 1] slot[ 2] map[0] to INO[20] PCI-IRQ: Routing bus[ 1] slot[ 3] map[0] to INO[1a] PCI0(PBMB): Bus running at 33MHz ebus0: [auxio] [power] [SUNW,pll] [su] [su] [ecpp] [fdthree] [eeprom] [flashprom] [watchdog] [display7seg] [beeper] [flashprom] [flashprom] [i2c - (adc) (gpio) (gpio)] [i2c] [SUNW,lom] PCIO serial driver version 1.54 su(serial) at 0x1fff13803f8 (tty 0 irq 10,7dc) is a 16550A su(serial) at 0x1fff13602f8 (tty 1 irq 10,7d4) is a 16550A power: Control reg at 01fff1724000 ... not using powerd. 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 devfs: v1.12c (20020818) Richard Gooch ([EMAIL PROTECTED]) devfs: boot_options: 0x0 pty: 256 Unix98 ptys configured rtc_init: no PC rtc found RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) sunhme.c:v2.01 26/Mar/2002 David S. Miller (davem@redhat.com) eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:da:73:8e eth1: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:da:73:8e Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx CMD646: IDE controller at PCI slot 03:0e.0 CMD646: chipset revision 3 CMD646: chipset revision 0x03, MultiWord DMA Force Limited CMD646: 100% native mode on irq 4,7c2 ide0: BM-DMA at 0x1fe02001020-0x1fe02001027, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0x1fe02001028-0x1fe0200102f, BIOS settings: hdc:pio, hdd:pio hdc: TOSHIBA CD-ROM XM-1902B, ATAPI CD/DVD-ROM drive ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ide1 at 0x1fe02001010-0x1fe02001017,0x1fe0200101a on irq 4,7c2 SCSI subsystem driver Revision: 1.00 sym.1.2.0: setting PCI_COMMAND_INVALIDATE. sym0: 875 rev 0x3 on pci bus 1 device 2 function 0 irq 4,7e0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym0: SCSI BUS has been reset. scsi0 : sym-2.1.17a Vendor: SEAGATE Model: ST318404LSUN18G Rev: 4203 Type: Direct-Access ANSI SCSI revision: 03 sym0:0:0: tagged command queuing enabled, command queue depth 16. Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 sym0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns,