List Info

Thread: Re: Magic numbers do not match?




Re: Magic numbers do not match?
country flaguser name
United States
2007-12-03 07:08:11
On Dec 2, 2007, at 12:47 PM, Hauke Fath wrote:

> At 8:21 Uhr -0700 1.12.2007, Thomas Carlson wrote:
>> I have been following the progress of NetBSD 4.0
through the RC5
>> version and find that my Powerbook 180 sporting a
Cabletron EA414
>> SCSI/ethernet adaptor can actually boot
kern-GENERICSBC just fine
>> (kern-GENERIC hangs at "waiting for device to
settle")  Problem is,
>> when I use: < /sbin/mount -u -w / > to mount
the root file system
>> read/write and modify /etc/rc.conf to read
<rc_configured=YES> I get a
>> message saying that the magic numbers do not match
when I reboot.
>> What's the problem here?  Any suggestions?
>
> Hmmm...
>
> Can you access the root partition from single user
mode?

Initially I can, on the first boot it drops into single user
mode.  
After mounting /, no.

>
> What does a 'file /dev/rsd0a' say?

On first boot...  /dev/rsd0a:  character special (13/0). 
After 
mounting /, and booting with an install kernel, I get... 
use one of:  
fd0[a-h] sd0[a-h] se0 ddb halt reboot

>
> When and how (as in: What NetBSD version, from sysinst
or the MacOS 
> mkfs
> tool) was the file-system created?

NetBSD-4.0_RC5.  I used the MacOS mkfs utility.

>
> Can you mount the root filesystem after booting from an
install kernel?

Initially, yes.  After mounting /, no.

>
> Can you mount the root filesystem from a NetBSD 3.x
install kernel?

None of the NetBSD3.x kernels have booted on my machine. 
They all stop 
at... panic:  no init.

>
> 	hauke
>
> --
> "It's never straight up and down"     (DEVO)
>
>


Re: Magic numbers do not match?
country flaguser name
Germany
2007-12-03 15:04:56
At 6:08 Uhr -0700 3.12.2007, Thomas Carlson wrote:
>> When and how (as in: What NetBSD version, from
sysinst or the MacOS
>> mkfs
>> tool) was the file-system created?
>
>NetBSD-4.0_RC5.  I used the MacOS mkfs utility.

Uh huh. This sounds fairly similar to a recently fixed issue
with old
filesystems created by the MacOS mkfs tool.

Can you please send-pr the issue? There's a web form at
<http://www.netbsd.org/cgi-bin/sendpr.cgi?gndb=netbsd>
;.

If you can boot into an install kernel and drop to a shell
prompt,
something like

fsck_ffs -c2 /dev/rsd0a

should be able to upgrade the filesystem to something that
makes sense to
NetBSD 4. Otherwise... you'd need to set up the disk from
scratch with
sysinst.

	hauke

--
"It's never straight up and down"     (DEVO)



Re: Magic numbers do not match?
user name
2007-12-05 06:57:17
tcarlsonmyback40.com wrote:

> >> when I use: < /sbin/mount -u -w / > to
mount the root file system
> >> read/write and modify /etc/rc.conf to read
<rc_configured=YES> I get a
> >> message saying that the magic numbers do not
match when I reboot.

Could you post exact whole messages you saw?
I don't see any programs which could show
"magic numbers do not match" strings.
("BAD MAGIC NUMBER" of fsck_ffs?)

> None of the NetBSD3.x kernels have booted on my
machine.  They all stop 
> at... panic:  no init.

Fix for "no init" problem was pulled up to
netbsd-3 branch
after 3.1 release so you could try daily snapshot of
netbsd-3 branch.
ftp://ftp.NetBSD.org/pub/NetBSD-daily/netbsd-3/
---
Izumi Tsutsui

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )