Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nfsroot with netbsd-8



I tried upgrading a little nfsroot sparc box to netbsd-8, and have
run into an interesting problem:

root on le0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.1
nfs_boot: my_name=orac
nfs_boot: my_domain=private
nfs_boot: my_addr=192.168.0.12
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.1
root on 192.168.0.1:/home/orac
root file system type: nfs
kern.module.path=/stand/sparc/8.0/modules
warning: lookup /dev/console: error 13
panic: init died (signal 6, exit 5)

So, the kernel loads successfully via nfs, configures le0 fine, even
loads /sbin/init - but fails on /dev/console. And the /dev/console looks
fine:

crw-------  1 root  wheel  0, 0 Dec 29  2016 /home/orac/dev/console

Looking at the nfs traffic during the boot, I see a permission denied
for an odd major/minor filehandle, which I think is the lookup on
/dev/console. Anyone have any ideas what's going on? fwiw, the server
is amd64, netbsd-7.

13:46:23.787522 IP (tos 0x0, ttl 64, id 10, offset 0, flags [none], proto UDP (17), length 
140)
    orac.private.45224220 > slave.private.nfs: 112 readdir fh 18,6/486470700 8192 bytes @ 0
 verf 0000000000000000
13:46:23.787557 IP (tos 0x0, ttl 64, id 63661, offset 0, flags [none], proto UDP (17), leng
th 884)
    slave.private.nfs > orac.private.45224220: reply ok 856 readdir POST: DIR 755 ids 0/0 s
z 512 nlink 20 rdev 2037/131747 fsid 1206 fileid 7cd4a23 a/m/ctime 1502941583.787549418 150
2922649.000000 1502936632.6521883 verf 014b050058643ad6
13:46:23.898919 IP (tos 0x0, ttl 64, id 11, offset 0, flags [none], proto UDP (17), length 
128)
    orac.private.45224221 > slave.private.nfs: 100 lookup fh 0,28/268435456 ""
13:46:23.898934 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 6
0)
    slave.private.nfs > orac.private.45224221: reply ok 32 lookup ERROR: Permission denied post dattr:
13:46:23.940686 IP (tos 0x0, ttl 64, id 12, offset 0, flags [none], proto UDP (17), length 128)
    orac.private.45224222 > slave.private.nfs: 100 lookup fh 18,6/486470700 "sbin"
13:46:23.940700 IP (tos 0x0, ttl 64, id 63673, offset 0, flags [none], proto UDP (17), length 264)
    slave.private.nfs > orac.private.45224222: reply ok 236 lookup fh 18,6/2020770046 DIR 755 ids 0/0 sz 3072 nlink 2 rdev 1309/132376 fsid 1206 fileid 7d7cea3 a/m/ctime 1502922099.000000 1502922099.000000 1502936632.5781141 post dattr: DIR 755 ids 0/0 sz 512 nlink 20 rdev 2037/131747 fsid 1206 fileid 7cd4a23 a/m/ctime 1502941583.787549418 1502922649.000000 1502936632.6521883
13:46:23.942336 IP (tos 0x0, ttl 64, id 13, offset 0, flags [none], proto UDP (17), length 128)
    orac.private.45224223 > slave.private.nfs: 100 lookup fh 18,6/2020770046 "init"

-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index