Subject: Re: Alignment error
To: None <eeh@netbsd.org, gul_khan_99@yahoo.com, port-sparc@netbsd.org>
From: None <eeh@netbsd.org>
List: port-sparc
Date: 01/17/2002 15:43:21
So exactly what do you have installed on that disk?

Eduardo

| Hi,
| Thanks for reply and sorry for uncomplete
| information.Now I am explainging all detail for above
| mention error.
| -------------------------------------------------------
| root device: sd3a
| dump device (default sd3b):
| file system (default generic):
| root on sd3a dumps on sd3b
| mountroot: trying msdos...
| mountroot: trying cd9660...
| mountroot: trying lfs...
| mountroot: trying nfs...
| mountroot: trying ffs...
| root file system type: ffs
| init: copying out flags `-s' 3
| init: copying out path `/sbin/init' 11
| Enter pathname of shell or RETURN for sh:
| Alignment error: dsfsr=00000000:00800001
| dsfar=0:deadc0b3 isfsr=00000000:0000000
| 0 pc=0x129f18
| pid 5 (sh), uid 0: exited on signal 10 (core not
| dumped, err = 30)
| Jan 17 05:45:39 init: single user shell terminated,
| restarting
| -------------------------------------------------------
| The above error detail is appeared when I try to going
| into single user mode through sh shell.
| but if I used ksh shell then the machine going to
| single user mode and giving following errors,when I
| execute system command.
| -------------------------------------------------------
| Enter pathname of shell or RETURN for sh: /bin/ksh
|  ls
| pid 8 (ls), uid 0: exited on signal 11 (core not
| dumped, err = 30)
| Memory fault
| # pwd
| /
| # ls
| pid 9 (ls), uid 0: exited on signal 11 (core not
| dumped, err = 30)
| Memory fault
| # df
| Filesystem  512-blocks     Used    Avail Capacity 
| Mounted on
| root_device    4109124    53516  3932334     1%    /
| # df
| Filesystem  512-blocks     Used    Avail Capacity 
| Mounted on
| root_device    4109124    53516  3932334     1%    /
| # df    ^H
| df:: No such file or directory
| # ps axu
| pid 13 (ps), uid 0: exited on signal 11 (core not
| dumped, err = 30)
| Memory fault
| # ps ax
| pid 14 (ps), uid 0: exited on signal 11 (core not
| dumped, err = 30)
| Memory fault
| -------------------------------------------------------
| The intresting thing is that some command are running
| and some command are not like dmesg,ifconfig etc are
| running and ls,ps route,netstat are not running.when i
| try to execute the command then memory dump are
| generated.
| -------------------------------------------------------
| pid 6 (sh), uid 0: exited on signal 10 (core not
| dumped, err = 30)
| pid 8 (ls), uid 0: exited on signal 11 (core not
| dumped, err = 30)
| pid 9 (ls), uid 0: exited on signal 11 (core not
| dumped, err = 30)
| pid 13 (ps), uid 0: exited on signal 11 (core not
| dumped, err = 30)
| pid 14 (ps), uid 0: exited on signal 11 (core not
| dumped, err = 30)
| pid 19 (ls), uid 0: exited on signal 11 (core dumped)
| pid 21 (ls), uid 0: exited on signal 11 (core dumped)
| pid 23 (ls), uid 0: exited on signal 11 (core dumped)
| pid 26 (ps), uid 0: exited on signal 11 (core dumped)
| pid 27 (ps), uid 0: exited on signal 11 (core dumped)
| Alignment error: dsfsr=00000000:00800005
| dsfar=56b:5f5052 isfsr=00000000:0000000
| 0 pc=0x1001ec
| pid 28 (route), uid 0: exited on signal 10 (core
| dumped)
| pid 34 (ls), uid 0: exited on signal 11 (core dumped)
| pid 35 (ls), uid 0: exited on signal 11 (core dumped)
| Alignment error: dsfsr=00000000:00800005
| dsfar=56b:5f5052 isfsr=00000000:0000000
| 0 pc=0x1001ec
| pid 43 (route), uid 0: exited on signal 10 (core
| dumped)
| pid 45 (ps), uid 0: exited on signal 11 (core dumped)
| pid 46 (ps), uid 0: exited on signal 11 (core dumped)
| pid 47 (ls), uid 0: exited on signal 11 (core dumped)
| pid 49 (ls), uid 0: exited on signal 11 (core dumped)
| pid 51 (ls), uid 0: exited on signal 11 (core not
| dumped, err = 30)
| -------------------------------------------------------
| The last thing is that after execute "halt" command
| then the following error are generated.
| -------------------------------------------------------
|  halt
| Alignment error: dsfsr=00000000:00800001
| dsfar=ffffffff:ffffffff isfsr=00000000:
| 00000000 pc=0x100c5c
| Jan 17 05:59:48 init: fatal signal: Bus error
| syncing disks... done
| unmounting /mnt (/dev/sd3g)...
| unmounting / (root_device)...
| uvm_vnp_terminate(0x1dd9a9e0): terminating active
| vnode (refs=2)
| uvm_vnp_terminate(0x1dd83170): terminating active
| vnode (refs=2)
| halted
| -------------------------------------------------------
| I hope then above detail will be useful for you.
| Thanks in advanced
| best regards,
| Aijaz
|
| ------------------------------------------
| --- eeh@netbsd.org wrote:
| > | As you know that I have mailed couple of mails on
| > this
| > | mailing list and I am very thankful to your
| > response
| > | and help.
| > | Now I have installed netbsd on my ultra sparc64
| > and I
| > | boot it by the following command
| > | boot disk3:a netbsd -bs
| > |
| > | Netbsd is booting fine and no error is generating
| > but
| > | the following error is generated after booting
| > root
| > | device and not entered into single user mode.
| > |
| > | "Alignment error:dsfsr=00000000:00800001
| > | dsfar=0:deadcob3, 1sfsr=00000000:00000000
| > pc=0x129f18
| > | (core dump err=30)"
| > |
| > | Any body has idea about the above error? and how
| > to
| > | solve it.
| > 
| > It really helps if you provide some context
| > surrounding the
| > problem, such as what version of things you have
| > installed,
| > any messages surrounding this, etc.  (Mmmmm.  Mind
| > reading....)
| > 
| > Something, probably init, is doing an unaligned
| > memory access.  
| > (Hm.  Something's funny here because `deadcob3' is
| > not a valid
| > hex number.)
| > 
| > I'd suggest you make sure that your kernel and
| > userland match.
| > 32-bit kernels need 32-bit userland, 64-bit kernels
| > need 64-bit
| > userland.  And you just cannot boot at all from a
| > solaris userland.
| > You need a properly set up emulation tree for that.
| > 
| > Eduardo
|
|
| __________________________________________________
| Do You Yahoo!?
| Send FREE video emails in Yahoo! Mail!
| http://promo.yahoo.com/videomail/
|