Current-Users archive

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

Re: amd64 kernel not identifying root filesystem



On Sat, Feb 02, 2008 at 03:45:21PM +0000, Matt Fleming wrote:
> 
> Attached is a patch that fixes this for me. There was also a panic that
> occurred later on from the assertion in spec_node_destroy() that opencnt
> was 0, this patch fixes it.

The patch (deleted) is consistent with what I am seeing where I get:

wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
specfs_open: dev 3, sd_opencnt 0, sn_opencnt 0
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
specfs_open: dev 3, sd_opencnt 0, sn_opencnt 0
specfs_open: dev 3, sd_opencnt 1, sn_opencnt 0
specfs_open: dev 3, sd_opencnt 1, sn_opencnt 0
atapibus0 at atabus3: 2 targets
...
audio1 at pad0: half duplex
specfs_open: dev 3, sd_opencnt 1, sn_opencnt 0
specfs_open: dev 3, sd_opencnt 1, sn_opencnt 0
opendisk: can't open dev wd0a from match_bootwedge@224 (errno 16)
specfs_open: dev 3, sd_opencnt 1, sn_opencnt 0
opendisk: can't open dev wd0a from match_bootdisk@274 (errno 16)
boot device unknown
specfs_open: dev 3, sd_opencnt 1, sn_opencnt 0
opendisk: can't open dev wd0a from matchbiosdisks@159 (errno 16)
boot device: <unknown>

I have to presume that some code has a vnode for 'dev 3' in existance
across all that - otherise the vput() should be destroying the data
area that holds the counts ??

        David

-- 
David Laight: david%l8s.co.uk@localhost



Home | Main Index | Thread Index | Old Index