NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-alpha/48286: disklabel -r option cause unaligned access(Booting NetBSD-current ISO only?)
>Number: 48286
>Category: port-alpha
>Synopsis: disklabel -r option cause unaligned access(Booting
>NetBSD-current ISO only?)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-alpha-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 07 18:20:00 +0000 2013
>Originator: nullnilaki
>Release: NetBSD 6.99.24
>Organization:
Japan
>Environment:
NetBSD 6.99.24 NetBSD 6.99.24 (GENERIC-$Revision: 1.353 $) #0: Mon Oct 7
04:14:53 UTC 2013
builds%b7.netbsd.org@localhost:/home/builds/ab/HEAD/alpha/201310070320Z-obj/home/builds/ab/HEAD/src/sys/arch/alpha/compile/GENERIC
alpha
>Description:
I download the ISO image file from
http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201310070320Z/images/NetBSD-6.99.24-alpha.iso.
I tried to install NetBSD-current ISO image.
======================================================================================================================
[disk0]:
Ok, we are now ready to install NetBSD on your hard disk (sd0). Nothing has
been written yet. This is your last chance to quit this process before
anything gets changed.
Shall we continue?
lqqqqqqqqqqqqqqqkx yes or no? xxxx>a: Noxx b: Yes xmqqqqqqqqqqqqqqqj
a: No>b: Yes Status: Running
Command: disklabel -w -r -f /tmp/disktab sd0 'disk0'
--------------------------------------------------------------------------------
pid 8 (disklabel): unaligned access: va=0x1202d4ffc pc=0x120047ac0
ra=0x120048c5
pid 8 (disklabel): unaligned access: va=0x1202d5004 pc=0x120047ac0 ra=0x120048c5
pid 8 (disklabel): unaligned access: va=0x1202d500c pc=0x120047ac0 ra=0x120048c5
pid 8 (disklabel): unaligned access: va=0x1202d5014 pc=0x120047ac0 ra=0x120048c5
pid 8 (disklabel): unaligned access: va=0x1202d501c pc=0x120047ac0 ra=0x120048c5
pid 8 (disklabel): unaligned access: va=0x1202d5024 pc=0x120047ac0 ra=0x120048c5
pid 8 (disklabel): unaligned access: va=0x1202d502c pc=0x120047ac0 ra=0x120048c5
pid 8 (disklabel): unaligned access: va=0x1202d5034 pc=0x120047ac0 ra=0x120048c5
pid 8 (disklabel): unaligned access: va=0x1202d503c pc=0x120047ac0 ra=0x120048c5
1202d504c pc=0x120047ac0 ra=0x120048c5c sp=0x1ffffd7a8 op=ldq
pid 8 (disklabel=0x1ffffd7a8 op=ldq
pid 8 (disklabel): unaligned access: va=0xnaligned access: va=0x1202d5074 pc=0x1
7ac0 ra=FinishedHit enter to continue Status: Running
======================================================================================================================
I tried to install NetBSD 6.1.2 and send-pr48148
patch(http://gnats.netbsd.org/48148).
It worked fine.
======================================================================================================================
[disk0]:
Ok, we are now ready to install NetBSD on your hard disk (sd0). Nothing has
been written yet. This is your last chance to quit this process before
anything gets changed.
Shall we continue?
lqqqqqqqqqqqqqqqkx yes or no? xxxx>a: Noxx b: Yes xmqqqqqqqqqqqqqqqj
a: No>b: Yes Status: Running
Command: disklabel -w -r -f /tmp/disktab sd0 'disk0'
======================================================================================================================
I tried to booting NetBSD-current ISO image.
I tried disklabel -R and disklabel -R -r
======================================================================================================================
# disklabel sd0
# /dev/rsd0c:
type: unknown
disk: disk0
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 8924
total sectors: 143364060
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 133130655 0 4.2BSD 2048 16384 0 # (Cyl. 0 - 8286)
b: 2104515 133130655 swap # (Cyl. 8287 - 8417)
c: 143364060 0 unused 0 0 # (Cyl. 0 - 8923)
# disklabel sd0 > test
# disklabel -R sd0 test
# disklabel -R -r sd0 test
pid 23 (disklabel): unaligned access: va=0x1202d4ffc pc=0x120047ac0
ra=0x120048c5c sp=0x1ffffd7d0 op=ldq
pid 23 (disklabel): unaligned access: va=0x1202d5004 pc=0x120047ac0
ra=0x120048c5c sp=0x1ffffd7d0 op=ldq
pid 23 (disklabel): unaligned access: va=0x1202d500c pc=0x120047ac0
ra=0x120048c5c sp=0x1ffffd7d0 op=ldq
pid 23 (disklabel): unaligned access: va=0x1202d5014 pc=0x120047ac0
ra=0x120048c5c sp=0x1ffffd7d0 op=ldq
pid 23 (disklabel): unaligned access: va=0x1202d501c pc=0x120047ac0
ra=0x120048c5c sp=0x1ffffd7d0 op=ldq
pid 23 (disklabel): unaligned access: va=0x1202d5024 pc=0x120047ac0
ra=0x120048c5c sp=0x1ffffd7d0 op=ldq
pid 23 (disklabel): unaligned access: va=0x1202d502c pc=0x120047ac0
ra=0x120048c5c sp=0x1ffffd7d0 op=ldq
pid 23 (disklabel): unaligned access: va=0x1202d5034 pc=0x120047ac0
ra=0x120048c5c sp=0x1ffffd7d0 op=ldq
pid 23 (disklabel): unaligned access: va=0x1202d503c pc=0x120047ac0
ra=0x120048c5c sp=0x1ffffd7d0 op=ldq
pid 23 (disklabel): unaligned access: va=0x1202d5044 pc=0x1200#
======================================================================================================================
I tried to booting NetBSD 6.1.2 and send-pr48148 patch ISO image.
I tried disklabel -R and disklabel -R -r.
======================================================================================================================
# file disklabel
disklabel: ELF 64-bit LSB executable, Alpha (unofficial), version 1 (SYSV),
dynamically linked (uses shared libs), for NetBSD 6.1.2, not stripped
# disklabel sd0
# /dev/rsd0c:
type: unknown
disk: disk0
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 8924
total sectors: 143364060
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 133130655 0 4.2BSD 2048 16384 0 # (Cyl. 0 - 8286)
b: 2104515 133130655 swap # (Cyl. 8287 - 8417)
c: 143364060 0 unused 0 0 # (Cyl. 0 - 8923)
# disklabel sd0 > test
# disklabel -R sd0 test
# disklabel -R -r sd0 test
======================================================================================================================
I tried to install NetBSD-current binary/sets.
(tar -zxpf ~/kern-GENERIC.tgz and ar -zxpf ~/base.tgz ...)
I tried to booting HDD.
I tried disklabel -R and disklabel -R -r.
======================================================================================================================
# file disklabel
disklabel: ELF 64-bit LSB executable, Alpha (unofficial), version 1 (SYSV),
dynamically linked (uses shared libs), for NetBSD 6.99.24, not stripped
# disklabel sd0
# /dev/rsd0c:
type: unknown
disk: disk0
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 8924
total sectors: 143364060
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 133130655 0 4.2BSD 2048 16384 0 # (Cyl. 0 - 8286)
b: 2104515 133130655 swap # (Cyl. 8287 - 8417)
c: 143364060 0 unused 0 0 # (Cyl. 0 - 8923)
# disklabel sd0 > test
# disklabel -R sd0 test
# disklabel -R -r sd0 test
======================================================================================================================
I think this problem occurs when booting NetBSD-current ISO image.
I tried nm disklabel but no symblols.
# file ./disklabel ELF 64-bit LSB executable, Alpha (unofficial), version 1
(SYSV), statically linked, for NetBSD 6.99.24, stripped.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index