[9164] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: 2.4.0test2: /dev/sda has wrong major or minor number

daemon@ATHENA.MIT.EDU (Andre Heynatz)
Tue Jul 11 10:16:42 2000

To:	linux-scsi@vger.rutgers.edu
From:	Andre Heynatz <ah@artec.uni-bremen.de>
Date:	11 Jul 2000 16:15:45 +0200
In-Reply-To: Andre Heynatz's message of "10 Jul 2000 15:56:39 +0200"
Message-ID: <85ya38vjla.fsf@wizard.artec.uni-bremen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Andre Heynatz <ah@artec.uni-bremen.de> writes:

> With kernel 2.4.0test1, I can mount /dev/sda without problems, but
> with kernel 2.4.0test2, a mount leads to:
> 
> /dev/sda has wrong major or minor number

As I understand the issue, the name change will be reverted for 2.4.x.
This is sensible, because 'sd_mod' is hard-coded in modutils (I use version
2.3.11) and therefore that package would have to be updated as well
(with an '#ifdef version >= 2.4.0test2' or such thing).

But there is a real problem remaining:

In the beginning, all looks good.

# modprobe sd
# lsmod
sd                     10240   0  (unused)
aic7xxx               129428   0  (unused)
scsi_mod               88432   2  [sd aic7xxx]

# mount /mo
#

Hmmm...

# rmmod sd
Segmentation fault
# insmod -V       
insmod version 2.3.11

Modutils not recent enough? I understand that the 'sd' driver is often not
compiled as a module. I'll give a more precise bug report as soon as I get
familiar with ksymoops.

Failure (as expected):

# rmmod sd
...
# mount /mo
mount: /dev/sda has wrong major or minor number

Ok, anyway, this has to be reverted at the right place...

Greetings,

-- 
André Heynatz
University of Bremen - ARTEC

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post