NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: possible fix for strange USB sticks / SD card readers
Thanks Jeff, thanks Matthias,
now I get the idea. First I thought that umass_scsi.c is some seperate
part of NetBSD, not of the kernel.
Last time I compiled a kernel was on some FreeBSD installation. NetBSD
always ran perfectly with the GENERIC kernel out of the box, so I never
dealt with it.
It will take me some time to check it though. My server is quite busy
and not the right place to do this. And for my laptop I have to make all
the backups, rescue disk and all. I just have to exchange /netbsd with
the new one. If something goes wrong, I boot from the install-USB stick
and rename the former working version back, right? I am a lil wimpy that
my laptop gets stuck while booting - its my daily work on it ...
Is #dmesg a relieable way to retrieve the kernel version?
NetBSD 5.1.2 (GENERIC) #0: Thu Feb 2 17:22:10 UTC 2012
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-2-RELEASE/i386/201202021012Z-obj/home/
builds/ab/netbsd-5-1-2-RELEASE/src/sys/arch/i386/compile/GENERIC
You guys don't have a 5.1.2 GENERIC for a 386 ready, with just the patch
already compiled in? It would be much easier for me to test it with the
USB Stick ...
Thanks! Late on!
herb langhans
On Tue, Aug 14, 2012 at 01:00:35PM +0200, Matthias Drochner wrote:
>
> On Mon, 13 Aug 2012 22:57:29 +0200
> herbert langhans <herbert.raimund%langhans.com.pl@localhost> wrote:
> > Just one issue. I have no clue how to apply this patch. I guess I have
> > to put it in the umass-source and recompile? Can anybody give me some
> > hint where to start/to read applying this patch. My NetBSD is all
> > installed without sources (5.1), just all the working binaries on the
> > harddisk.
>
> So you have never compiled a kernel? The first question is whether
> you want someone to build one for you, or whether you want to do
> it yourself. I recommend the latter of course.
> You'll need the kernel sources, eg
> ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.1/source/sets/syssrc.tgz
> (or possibly the newer ones from the 5.1.2 subtree).
> The patch is applied after unpacking by the patch(1) command:
> cd /usr/src
> patch -p1 < [patchfile]
> (The "-p1" might be needed or not, see the manpage for details.)
> For the building itself, look eg here:
> http://www.netbsd.org/docs/guide/en/chap-kernel.html
>
> feel free to ask if you have further questions.
>
> best regards
> Matthias
>
>
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
>
> Kennen Sie schon unsere app? http://www.fz-juelich.de/app
--
sprachtraining langhans
herbert langhans, warschau
herbert.raimund[at]gmx.net
herbert[at]langhans.com.pl
http://www.langhans.com.pl
+0048 603 341 441
| jabber:herbs
| icq:414500866
| yahoo_im:herbert.raimund
Home |
Main Index |
Thread Index |
Old Index