Thanks for the suggestions! I tried to do the modification (just
manually since it's two lines) and it does show up as 1 in the dmesg,
but no dice.
dmesg from my laptop since it was easier, this uhub2 is on an ehci bus:
[ 188.679957] umass0 at uhub2 port 2 configuration 1 interface 0
[
> On Jan 26, 2024, at 2:41 AM, Robert Elz wrote:
>
>Date:Fri, 26 Jan 2024 09:26:38 - (UTC)
>From:mlel...@serpens.de (Michael van Elst)
>Message-ID:
>
> | Fortunately the drive geometry isn't really used anywhere. All
> | accesses just use the logical block
k...@munnari.oz.au (Robert Elz) writes:
>I have been meaning to suggest for ages that we remove all the
>geometry nonsense from everywhere in the kernel, except those
>drivers that actually need it.
We use that nonsense without actually knowing.
The "cylinder" value is used to sort disk
k...@munnari.oz.au (Robert Elz) writes:
>If you are able, try building a kernel with the patch below.
>I suspect this should probably apply without too many problems
>to any reasonably modern NetBSD kernel version, patch is to
>src/sys/dev/scsipi/sd.c
>+ if (dp->cyls == 0) /*
Date:Fri, 26 Jan 2024 09:26:38 - (UTC)
From:mlel...@serpens.de (Michael van Elst)
Message-ID:
| Fortunately the drive geometry isn't really used anywhere. All
| accesses just use the logical block addresses.
I have been meaning to suggest for ages that we
staf...@shangtai.net (=?UTF-8?B?U3RhZmZhbiBUaG9tw6lu?=) writes:
>[21.611880] scsibus1 at umass1: 2 targets, 1 lun per target
>[21.611880] sd1 at scsibus1 target 0 lun 0: 1.0> disk removable
>[21.611880] sd1: fabricating a geometry
>[21.611880] sd1: 34816, 0 cyl, 64 head, 32 sec,
If you are able, try building a kernel with the patch below.
I suspect this should probably apply without too many problems
to any reasonably modern NetBSD kernel version, patch is to
src/sys/dev/scsipi/sd.c
If patch(1) won't just work on your kernel sources, just
edit that fike, search for