Re: Bug report: Mac Target Disk Mode not working in some cases

Adam Goldman <[email protected]>
Newsgroups gmane.linux.kernel.firewire.devel
Message-ID <[email protected]>
On Mon, Sep 02, 2024 at 05:07:40PM +0100, Andrew Ferguson wrote:
> Adam, would you be willing to send me the serial number of the PowerBook G4
> you used? That lets me see all of the specs and whether or not it is
> similar to mine. Separately (and very much a n00b question!), what's the
> best / easiest way to get kernel version 6.8-rc1? is there a specific
> distro that ships with development / rc builds of the kernel, or is it
> better to install something like Debian Stable and then compile / install a
> development build? Ideally I'd replicate your setup to confirm it isn't an
> issue on my end.

Hi Andrew,

Sorry for my late reply.

My PowerBook G4's serial number is QT23727VLP4.

This is my recipe for building kernels from kernel.org tarballs on 
Debian Bookworm:

sudo apt-get install build-essential
sudo apt-get build-dep linux
tar xzf linux-6.11-rc1.tar.gz
cd linux-source-6.11-rc1
cp /boot/config-6.1.0-15-amd64 .config
scripts/config --enable DEBUG_INFO_NONE
scripts/config --disable DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT
scripts/config --disable CONFIG_DEBUG_INFO_BTF
scripts/config --disable SECURITY_LOCKDOWN_LSM
scripts/config --disable MODULE_SIG
make olddefconfig
make clean
make bindeb-pkg

Note that the upstream kernel source contains a build script for Debian 
packages.

However, Debian has their own, different procedure for building 
development kernels:

https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s-common-official-vcs

I've also tested with 6.11-rc1 now. Again, the Linux box was able to 
access the PowerBook's drive over Firewire. I was able to mount sdb10 as 
an hfsplus filesystem and see the contents.

-- Adam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.