Re: Latest netinst iso

2018-08-08 Thread Thomas Schmitt
Hi,

Fred wrote:
> It appears the HP DVD drive is defective.  It now doesn't work with Wheezy
> either.

Oh yeah. Age sucks.

I assume you already checked with a different cable. So there remains
only the duty to submit it to an environmentally conscious recycling
system.


Have a nice day :)

Thomas



Re: Latest netinst iso

2018-08-08 Thread Fred

On 08/07/2018 02:24 PM, Thomas Schmitt wrote:

Hi,

Fred wrote:

[   21.343237] ata2.00: ATAPI: HL-DT-ST RW/DVD GCC-H20N, C805, max UDMA/44

Aha. An LG CD burner and DVD reader ("combo" drive). A dozen years old,
at least.


[   21.367287] ata2.00: configured for MWDMA2
[   42.175653] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6

frozen

[   42.176013] ata2.00: cmd a0/01:00:00:60:00/00:00:00:00:00/a0 tag 0 dma 96 in
Inquiry 12 00 00 00 60 00res
40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)

I recognize an SCSI command INQUIRY (code 0x12) which requests 0x0060 = 96
bytes from the drive. That's quite some bytes more than libburn asks for in
the first contact (0x0024 = 36 bytes).
Nothing happens for 20.8 seconds and then a timeout is reported.

This could be a mis-coordination with the lower drivers. I remember that
about 10 years ago, we burn programmers had to change our SG_IO strategy.
Commands with variable length reply needed to be executed first with
minimum reply length and then again with the reply length that is
announced by the reply to the first command execution.
If we requested too much on the first try, the transaction did not end.



[   42.380290] scsi 1:0:0:0: scsi scan: 96 byte inquiry failed. Consider 
BLIST_INQUIRY_36 for this device
[   42.381094] scsi 1:0:0:0: CD-ROMHL-DT-ST RW/DVD GCC-H20N C805 
PQ: 0 ANSI: 5

Looks like it tries again with less bytes and gets to sr and cdrom drivers:


[   42.509234] sr 1:0:0:0: [sr0] scsi3-mmc drive: 8x/59x cd/rw xa/form2 cdda
[   42.509258] cdrom: Uniform CD-ROM driver Revision: 3.20
[   42.515251] sr 1:0:0:0: Attached scsi CD-ROM sr0

So far so good. /dev/sr0 should exist now.


[   42.661390] ata_id[97]: unable to open '/dev/sr0'
[   42.893291] ata_id[99]: unable to open '/dev/sr0'

But why ?


[   55.968323] sr 1:0:0:0: Attached scsi generic sg1 type 5

Looks like /dev/sr0 is not totally dead.



So what do you get when trying to read the first MB from it ?

   dd if=/dev/sr0 bs=2048 count=512 of=/dev/null

Is it mounted when the installer does not find it ? (As /cdrom ?)

Well, if it is readable, then we could ask at debian-boot list how
CDROM detection is supposed to work and how to debug it.
A first guess for the source would be
   
https://salsa.debian.org/installer-team/cdrom-detect/blob/master/debian/cdrom-detect.postinst

I was in an amd64 ISO initrd a few months ago
   https://lists.debian.org/debian-user/2018/05/msg01076.html
It contains a script which shall list all CD drives when called with
argument "cd". On my running system it lists /dev/sr0 to /dev/sr4.
It inquires the device type by /bin/udevadm.

What do you get from

   /bin/list-devices cd

If no /dev/sr* is listed, what do you get from

   /bin/udevadm info -q env -p /sys/block/sr0


Have a nice day :)

Thomas



Hi Thomas,
It appears the HP DVD drive is defective.  It now doesn't work with 
Wheezy either.

Best regards,
Fred



Re: Latest netinst iso

2018-08-07 Thread Fred

On 08/07/2018 02:12 PM, Dennis Clarke wrote:




02:01.1 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 
1.1 Controller (rev 61)

02:01.2 USB controller: VIA Technologies, Inc. USB 2.0 (rev 63)

Best regards,
Fred


The above two USB lines need to go up to the lspci list. Thunderbird 
had trouble with pasting the large block of text and I didn't notice 
it had moved those lines.


That looks good. Very.  You can always do an attach of an xz compressed
txt file and that works wonderfully well and saves a lot of space too.

Dennis



Hi Dennis,
I did ask how to send the text as I don't know what the convention is 
and didn't want to clog up mailboxes  with stuff that most people aren't 
going to be interested in.

Best regards,
Fred



Re: Latest netinst iso

2018-08-07 Thread Thomas Schmitt
Hi,

Fred wrote:
> [   21.343237] ata2.00: ATAPI: HL-DT-ST RW/DVD GCC-H20N, C805, max UDMA/44

Aha. An LG CD burner and DVD reader ("combo" drive). A dozen years old,
at least.

> [   21.367287] ata2.00: configured for MWDMA2
> [   42.175653] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
frozen
> [   42.176013] ata2.00: cmd a0/01:00:00:60:00/00:00:00:00:00/a0 tag 0 dma 96 
> in
>Inquiry 12 00 00 00 60 00res
> 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)

I recognize an SCSI command INQUIRY (code 0x12) which requests 0x0060 = 96
bytes from the drive. That's quite some bytes more than libburn asks for in
the first contact (0x0024 = 36 bytes).
Nothing happens for 20.8 seconds and then a timeout is reported.

This could be a mis-coordination with the lower drivers. I remember that
about 10 years ago, we burn programmers had to change our SG_IO strategy.
Commands with variable length reply needed to be executed first with
minimum reply length and then again with the reply length that is
announced by the reply to the first command execution.
If we requested too much on the first try, the transaction did not end.


> [   42.380290] scsi 1:0:0:0: scsi scan: 96 byte inquiry failed. Consider 
> BLIST_INQUIRY_36 for this device
> [   42.381094] scsi 1:0:0:0: CD-ROMHL-DT-ST RW/DVD GCC-H20N C805 
> PQ: 0 ANSI: 5

Looks like it tries again with less bytes and gets to sr and cdrom drivers:

> [   42.509234] sr 1:0:0:0: [sr0] scsi3-mmc drive: 8x/59x cd/rw xa/form2 cdda
> [   42.509258] cdrom: Uniform CD-ROM driver Revision: 3.20
> [   42.515251] sr 1:0:0:0: Attached scsi CD-ROM sr0

So far so good. /dev/sr0 should exist now.

> [   42.661390] ata_id[97]: unable to open '/dev/sr0'
> [   42.893291] ata_id[99]: unable to open '/dev/sr0'

But why ?

> [   55.968323] sr 1:0:0:0: Attached scsi generic sg1 type 5

Looks like /dev/sr0 is not totally dead.



So what do you get when trying to read the first MB from it ?

  dd if=/dev/sr0 bs=2048 count=512 of=/dev/null

Is it mounted when the installer does not find it ? (As /cdrom ?)

Well, if it is readable, then we could ask at debian-boot list how
CDROM detection is supposed to work and how to debug it.
A first guess for the source would be
  
https://salsa.debian.org/installer-team/cdrom-detect/blob/master/debian/cdrom-detect.postinst

I was in an amd64 ISO initrd a few months ago
  https://lists.debian.org/debian-user/2018/05/msg01076.html
It contains a script which shall list all CD drives when called with
argument "cd". On my running system it lists /dev/sr0 to /dev/sr4.
It inquires the device type by /bin/udevadm.

What do you get from

  /bin/list-devices cd

If no /dev/sr* is listed, what do you get from

  /bin/udevadm info -q env -p /sys/block/sr0


Have a nice day :)

Thomas



Re: Latest netinst iso

2018-08-07 Thread Dennis Clarke





02:01.1 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 
1.1 Controller (rev 61)

02:01.2 USB controller: VIA Technologies, Inc. USB 2.0 (rev 63)

Best regards,
Fred


The above two USB lines need to go up to the lspci list. Thunderbird had 
trouble with pasting the large block of text and I didn't notice it had 
moved those lines.


That looks good. Very.  You can always do an attach of an xz compressed
txt file and that works wonderfully well and saves a lot of space too.

Dennis



Re: Latest netinst iso

2018-08-07 Thread Fred

On 08/07/2018 01:20 PM, Fred wrote:

On 08/06/2018 07:55 AM, John Paul Adrian Glaubitz wrote:

On 08/06/2018 05:01 PM, Fred wrote:
I am the original poster for this thread.  I tried installing the 
NETINST.iso and also had a problem.  The U10 has an HP DVD drive in 
it.  The install CD seemed to load ok and the installer started.  
When it got to the detecting hardware function it decided that no 
cdrom drive was installed and would not proceed. I am going to 
install the original Sun cdrom drive and try again when I have time.
I need the exact error message and I need the output of "dmesg" and 
"lspci"
on this particular machine. It might just be that we are not enabling 
the

driver for your PATA/SATA controller.

Adrian


Hi,
Here are the results you asked for except the exact error message the 
installer gave.  It said no cdrom could be found.


lspci output:
00:01.0 PCI bridge: Oracle/SUN Simba Advanced PCI Bridge (rev 13)
00:01.1 PCI bridge: Oracle/SUN Simba Advanced PCI Bridge (rev 13)
01:01.0 Bridge: Oracle/SUN EBUS (rev 01)
01:01.1 Ethernet controller: Oracle/SUN Happy Meal 10/100 Ethernet 
[hme] (rev 01)
01:02.0 VGA compatible controller: Advanced Micro Devices, Inc. 
[AMD/ATI] 3D Rage Pro PCI (rev 5c)

01:03.0 IDE interface: Silicon Image, Inc. PCI0646 (rev 03)
02:01.0 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 
1.1 Controller (rev 61)[0.000211]


dmseg output:
PROMLIB: Sun IEEE Boot Prom 'OBP 3.19.4 1999/04/28 15:05'
[0.000286] PROMLIB: Root node compatible:
[0.000675] Linux version 4.16.0-1-sparc64 
(debian-ker...@lists.debian.org) (gcc version 7.3.0 (Debian 7.3.0-17)) 
#1 Debian 4.16.5-1 (2018-04-29)

[0.041236] bootconsole [btext0] enabled
[0.041266] ARCH: SUN4U
[0.041469] Ethernet address: 08:00:20:c0:dd:af
[0.041524] MM: PAGE_OFFSET is 0xf800 (max_phys_bits == 
40)

[0.041533] MM: VMALLOC [0x0001 --> 0x0600]
[0.041542] MM: VMEMMAP [0x0600 --> 0x0c00]
[0.045435] Kernel: Using 3 locked TLB entries for main kernel image.
[0.045522] Remapping the kernel...
[0.085684] done.
[0.375583] OF stdout device is: /pci@1f,0/pci@1,1/SUNW,m64B@2
[0.375603] PROM: Built device tree with 72391 bytes of memory.
[0.375943] Top of RAM: 0x1ff26000, Total RAM: 0x1ff1a000
[0.375950] Memory hole size: 0MB
[1.006960] Allocated 16384 bytes for kernel page tables.
[1.007437] Zone ranges:
[1.007450]   Normal   [mem 0x-0x1ff25fff]
[1.007467] Movable zone start for each node
[1.007473] Early memory node ranges
[1.007483]   node   0: [mem 0x-0x1fefdfff]
[1.007492]   node   0: [mem 0x1ff0-0x1ff13fff]
[1.007500]   node   0: [mem 0x1ff1e000-0x1ff25fff]
[1.007518] Initmem setup node 0 [mem 
0x-0x1ff25fff]

[1.007534] On node 0 totalpages: 65421
[1.007547]   Normal zone: 576 pages used for memmap
[1.007554]   Normal zone: 0 pages reserved
[1.007566]   Normal zone: 65421 pages, LIFO batch:15
[1.040458] Booting Linux...
[1.040484] CPU CAPS: [flush,stbar,swap,muldiv,v9,mul32,div32,v8plus]
[1.040550] CPU CAPS: [vis]
[1.049063] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[1.049093] pcpu-alloc: [0] 0
[1.053248] Built 1 zonelists, mobility grouping on.  Total pages: 
64845
[1.053266] Kernel command line: 
BOOT_IMAGE=/vmlinuz-4.16.0-1-sparc64 
root=UUID=22280ee3-cc78-4ae8-96fa-6d9250e05d8c ro quiet
[1.066389] Dentry cache hash table entries: 65536 (order: 6, 
524288 bytes)
[1.069018] Inode-cache hash table entries: 32768 (order: 5, 262144 
bytes)

[1.069042] Sorting __ex_table...
[1.117074] Memory: 478040K/523368K available (6176K kernel code, 
768K rwdata, 1712K rodata, 472K init, 390K bss, 45328K reserved, 0K 
cma-reserved)
[1.117158] random: get_random_u64 called from 
__kmem_cache_create+0x24/0x4a0 with crng_init=0

[1.119128] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[1.119743] ftrace: allocating 21417 entries in 42 pages
[1.236315] NR_IRQS: 2048, nr_irqs: 2048, preallocated irqs: 1
[1.236707] clocksource: tick: mask: 0x max_cycles: 
0x5306eb473f, max_idle_ns: 440795213232 ns

[1.236722] clocksource: mult[2c71c72] shift[24]
[1.236734] clockevent: mult[5c28f5c3] shift[32]
[1.237034] Console: colour dummy device 80x25
[1.237053] console [tty0] enabled
[1.237062] bootconsole [btext0] disabled
[1.316937] Calibrating delay using timer specific routine.. 722.33 
BogoMIPS (lpj=1444665)

[1.316965] pid_max: default: 32768 minimum: 301
[1.318095] Security Framework initialized
[1.318118] Yama: disabled by default; enable with sysctl 
kernel.yama.*

[1.318293] AppArmor: AppArmor initialized
[1.318864] Mount-cache hash table entries: 1024 (order: 0, 8192 
bytes)
[1.318909] Mountpoint-cache hash 

Re: Latest netinst iso

2018-08-07 Thread Fred

On 08/06/2018 07:55 AM, John Paul Adrian Glaubitz wrote:

On 08/06/2018 05:01 PM, Fred wrote:

I am the original poster for this thread.  I tried installing the NETINST.iso 
and also had a problem.  The U10 has an HP DVD drive in it.  The install CD 
seemed to load ok and the installer started.  When it got to the detecting 
hardware function it decided that no cdrom drive was installed and would not 
proceed. I am going to install the original Sun cdrom drive and try again when 
I have time.

I need the exact error message and I need the output of "dmesg" and "lspci"
on this particular machine. It might just be that we are not enabling the
driver for your PATA/SATA controller.

Adrian


Hi,
Here are the results you asked for except the exact error message the 
installer gave.  It said no cdrom could be found.


lspci output:
00:01.0 PCI bridge: Oracle/SUN Simba Advanced PCI Bridge (rev 13)
00:01.1 PCI bridge: Oracle/SUN Simba Advanced PCI Bridge (rev 13)
01:01.0 Bridge: Oracle/SUN EBUS (rev 01)
01:01.1 Ethernet controller: Oracle/SUN Happy Meal 10/100 Ethernet [hme] 
(rev 01)
01:02.0 VGA compatible controller: Advanced Micro Devices, Inc. 
[AMD/ATI] 3D Rage Pro PCI (rev 5c)

01:03.0 IDE interface: Silicon Image, Inc. PCI0646 (rev 03)
02:01.0 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 
Controller (rev 61)[0.000211]


dmseg output:
PROMLIB: Sun IEEE Boot Prom 'OBP 3.19.4 1999/04/28 15:05'
[0.000286] PROMLIB: Root node compatible:
[0.000675] Linux version 4.16.0-1-sparc64 
(debian-ker...@lists.debian.org) (gcc version 7.3.0 (Debian 7.3.0-17)) 
#1 Debian 4.16.5-1 (2018-04-29)

[0.041236] bootconsole [btext0] enabled
[0.041266] ARCH: SUN4U
[0.041469] Ethernet address: 08:00:20:c0:dd:af
[0.041524] MM: PAGE_OFFSET is 0xf800 (max_phys_bits == 40)
[0.041533] MM: VMALLOC [0x0001 --> 0x0600]
[0.041542] MM: VMEMMAP [0x0600 --> 0x0c00]
[0.045435] Kernel: Using 3 locked TLB entries for main kernel image.
[0.045522] Remapping the kernel...
[0.085684] done.
[0.375583] OF stdout device is: /pci@1f,0/pci@1,1/SUNW,m64B@2
[0.375603] PROM: Built device tree with 72391 bytes of memory.
[0.375943] Top of RAM: 0x1ff26000, Total RAM: 0x1ff1a000
[0.375950] Memory hole size: 0MB
[1.006960] Allocated 16384 bytes for kernel page tables.
[1.007437] Zone ranges:
[1.007450]   Normal   [mem 0x-0x1ff25fff]
[1.007467] Movable zone start for each node
[1.007473] Early memory node ranges
[1.007483]   node   0: [mem 0x-0x1fefdfff]
[1.007492]   node   0: [mem 0x1ff0-0x1ff13fff]
[1.007500]   node   0: [mem 0x1ff1e000-0x1ff25fff]
[1.007518] Initmem setup node 0 [mem 
0x-0x1ff25fff]

[1.007534] On node 0 totalpages: 65421
[1.007547]   Normal zone: 576 pages used for memmap
[1.007554]   Normal zone: 0 pages reserved
[1.007566]   Normal zone: 65421 pages, LIFO batch:15
[1.040458] Booting Linux...
[1.040484] CPU CAPS: [flush,stbar,swap,muldiv,v9,mul32,div32,v8plus]
[1.040550] CPU CAPS: [vis]
[1.049063] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[1.049093] pcpu-alloc: [0] 0
[1.053248] Built 1 zonelists, mobility grouping on.  Total pages: 64845
[1.053266] Kernel command line: BOOT_IMAGE=/vmlinuz-4.16.0-1-sparc64 
root=UUID=22280ee3-cc78-4ae8-96fa-6d9250e05d8c ro quiet
[1.066389] Dentry cache hash table entries: 65536 (order: 6, 524288 
bytes)
[1.069018] Inode-cache hash table entries: 32768 (order: 5, 262144 
bytes)

[1.069042] Sorting __ex_table...
[1.117074] Memory: 478040K/523368K available (6176K kernel code, 
768K rwdata, 1712K rodata, 472K init, 390K bss, 45328K reserved, 0K 
cma-reserved)
[1.117158] random: get_random_u64 called from 
__kmem_cache_create+0x24/0x4a0 with crng_init=0

[1.119128] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[1.119743] ftrace: allocating 21417 entries in 42 pages
[1.236315] NR_IRQS: 2048, nr_irqs: 2048, preallocated irqs: 1
[1.236707] clocksource: tick: mask: 0x max_cycles: 
0x5306eb473f, max_idle_ns: 440795213232 ns

[1.236722] clocksource: mult[2c71c72] shift[24]
[1.236734] clockevent: mult[5c28f5c3] shift[32]
[1.237034] Console: colour dummy device 80x25
[1.237053] console [tty0] enabled
[1.237062] bootconsole [btext0] disabled
[1.316937] Calibrating delay using timer specific routine.. 722.33 
BogoMIPS (lpj=1444665)

[1.316965] pid_max: default: 32768 minimum: 301
[1.318095] Security Framework initialized
[1.318118] Yama: disabled by default; enable with sysctl kernel.yama.*
[1.318293] AppArmor: AppArmor initialized
[1.318864] Mount-cache hash table entries: 1024 (order: 0, 8192 bytes)
[1.318909] Mountpoint-cache hash table entries: 1024 (order: 0, 8192 
bytes)

[

Re: Latest netinst iso

2018-08-07 Thread Dennis Clarke

On 08/07/2018 12:17 PM, Thomas Schmitt wrote:

Hi,

Frank Scheiner wrote:

as my Ultra 10 has a CDROM drive installed
instead of a DVDROM drive I was mislead to write "CDROM drive"


"DVD" gives a hint of the age of the drive. Everything from this century
should be driven by SCSI commands (volumes SPC, SBC, MMC).

There must have been old days when cdrecord needed special "drivers"
for particular CD burners (see man cdrecord, option driver=) and libcdio
was founded to unify the access to CD reader models on GNU/Linux.



Jörg Schilling had pretty much everything related to CDROM and DVD 
drives sorted out .. twenty years ago.  Be sure to get the correct

sources from :

https://sourceforge.net/projects/schilytools/files/

see schily-2018-08-07.tar.bz2

That contains a massive pileof golden bits and tools and even XPG4 
ported sources taken from the old OpenSolaris project.


Dennis



Re: Latest netinst iso

2018-08-07 Thread Gregor Riepl
>> I don't remember exactly, but I think I couldn't install any desktop tasks
>> because some crucial packages were missing from the dependencies of 
>> desktop-base.
> 
> We can't fix bugs that we don't know about.

Sure. I can verify later if it still fails to install.

> Getting Chromium to build on any non-x86 or non-ARM architectures is
> a huge effort: 
> https://buildd.debian.org/status/package.php?p=chromium-browser=sid

Yes, I heard.
Not a big deal, but at least one modern web browser would be nice.

> Firefox on sparc64 is generally possible and Firefox 62 actually builds:
> 
>> https://buildd.debian.org/status/package.php?p=firefox=experimental

That's good news!
I was trying with FF60, and that one had big endian problems.
If FF62 has those fixed, I'll give it another shot and try to patch the
remaining problems.

> We have reasonably fast SPARC machines for that although our fastest
> SPARC-T5 is unfortunately out of service.
> 
> There are generally several packages that need fixing on sparc64, I can
> provide a list for anyone interested in fixing them.



Re: Latest netinst iso

2018-08-07 Thread Thomas Schmitt
Hi,

Frank Scheiner wrote:
> as my Ultra 10 has a CDROM drive installed
> instead of a DVDROM drive I was mislead to write "CDROM drive"

"DVD" gives a hint of the age of the drive. Everything from this century
should be driven by SCSI commands (volumes SPC, SBC, MMC).

There must have been old days when cdrecord needed special "drivers"
for particular CD burners (see man cdrecord, option driver=) and libcdio
was founded to unify the access to CD reader models on GNU/Linux.


> But interestingly the assumed same controller driver works well for Gregor's
> and my Ultra 10 and it also works well when Fred uses a CDROM drive.
> What could be the reason for that?

Oops. While lurking i missed that report from Fred.
(I am here because my libisofs packs up the ISOs. But this thread i watch
with my libburn hat on.)

About twenty to fifteen years ago, when DVD drives came up for PCs, there
was no problem to attach them where CD drives were plugged before.

The fact that it works for the firmware and GRUB (i assume) quite outrules
that the controller would be unwilling to talk to the drive.


Fred wrote:
> The HP DVD drive was in use on a U5 running Wheezy and worked fine.

At least Jessie's kernel 3.16 looks much like
https://github.com/torvalds/linux in respect to optical drives. So i doubt
that it is about a kernel change. What kernel version does the Wheezy
machine have ?

Can it be the DVD drive is at the edge of failure ?
Does it still work in the U5 ? Is the plug loose or dusty ?

When it is in the problem machine and the installer was exited to a shell
prompt, is there a device file /dev/sr0 ?
I flatly assumed that there is none. Better check.

Is a system log availabe of the installer system ?
Does it tell anything about the DVD drive or its IDE socket ?


Frank Scheiner wrote:
> [   36.327225] ata2.00: ATAPI: SAMSUNG DVD-ROM SD-616Q, F401, max UDMA/33
> [   36.465435] scsi 1:0:0:0: CD-ROMSAMSUNG  DVD-ROM SD-616Q F401
PQ: 0 ANSI: 5
> [   36.926295] sr 1:0:0:0: [sr0] scsi3-mmc drive: 16x/48x cd/rw xa/form2
cdda tray
> [   37.023810] cdrom: Uniform CD-ROM driver Revision: 3.20
> [   37.098287] sr 1:0:0:0: Attached scsi CD-ROM sr0

That's what to look for in Fred's system log.

IDE, ATA, ATAPI specific drivers are out of my knowledge scope, i fear.
I only work on SCSI transaction level.

The first "scsi" message stems probably from Linux source file
  drivers/scsi/scsi_scan.c
and reports parts of the reply data of SCSI command INQUIRY.
This command reply is supposed to identify the device as Peripheral Device
Type 5 "MMC". drivers/scsi/scsi.c array scsi_device_types[5] bears the
text "CD-ROM". This selects the "sr" driver to take care of the device.

The "sr" message stems from drivers/scsi/sr.c. It reports the content of
Mode Page 0x2A "CD/DVD Capabilities and Mechanical Status Page".
If this inquiry fails, the kernel is supposed to report "scsi-1 drive"
and to go on with registering the drive, nevertheless.

The "cdrom" message stems from drivers/cdrom/cdrom.c function
register_cdrom(), probably called from sr.c function sr_probe(), which
finally reports the line about "Attached scsi CD-ROM".

It would be interesting to see when Fred's machine and DVD drive deviate
from this successful path.


> So actually any support for UltraDMA in the DVDROM or CDROM drive does not
> seem to make a difference.

I dimly remember that PIO was too lame for early DVD drives on PCs.
"hdparm -d" was needed in the init scripts.
But the (IIRC hardcoded) drive device files were usable. Just slow
and choking the HDD at the other IDE master socket. (2 x 2 IDE was normal
for a PC back then.)


Have a nice day :)

Thomas



Re: Latest netinst iso

2018-08-07 Thread Fred

On 08/07/2018 03:51 AM, Mark Morgan Lloyd wrote:

On 07/08/18 02:30, Fred wrote:

On 08/06/2018 05:58 PM, John Paul Adrian Glaubitz wrote:


I know they are commands.  A Wyse 50 dumb terminal does not have 
copy/paste.


Thank goodness I'm not the only person who has to remember things like 
that, sometimes out of humiliating necessity.


Any discussion of KSR-33s will be way off-topic :-)


Hi,
I do have a KSR-33 but hope I never have to use it.  I did recently have 
to get my Altair 8800 running to get some software off some 8" CP/M 
floppies.

Best regards,
Fred



Re: Latest netinst iso

2018-08-07 Thread Fred

On 08/07/2018 05:52 AM, Frank Scheiner wrote:

On 08/07/2018 11:02 AM, Thomas Schmitt wrote:

Hi,

Fred wrote:

[...] DVD drive [...]


Frank Scheiner wrote:

if a specific CDROM drive and
the assumed "compatible" driver don't work together, this results in a
situation like yours


Oh, sorry for my ignorance, as my Ultra 10 has a CDROM drive installed 
instead of a DVDROM drive I was mislead to write "CDROM drive" 
(although Fred had problems with a DVDROM drive) but that shouldn't 
make much of a difference, or?




All DVD capable drives at IDE are supposed to work by the SCSI/MMC 
protocol
via ATAPI. So there is few chance that the drive itself is not 
matched by

the kernel's sr driver.

If the drive does not show up as Linux device, i would rather bet on
a driver mismatch with the IDE/ATAPI controller of the machine.


But interestingly the assumed same controller driver works well for 
Gregor's and my Ultra 10 and it also works well when Fred uses a CDROM 
drive.


What could be the reason for that?

Maybe Fred's Ultra 10 is using another revision of the CMD 646 IDE 
controller - my Ultra 10 for example uses a CMD 646U - or a DMA mode 
is used for the DVDROM drive that is not working correctly with the 
CMD 646.


I seem to remember to have read about problems with CMD IDE 
controllers used  in some Sun machines in the past, but cannot find 
the info now. But I did find an interesting post on the NetBSD sparc 
list ([1]), which gives some background info on different revisions of 
CMD 646 controllers. So every CMD 646 controller below 646U2 seems to 
do things wrong with UltraDMA modes or it only works with very 
specific drives.


[1]: http://mail-index.netbsd.org/port-sparc/2001/12/16/0005.html

And it could be that the CDROM drives used (by me and later also by 
Fred) just support MWDMA or PIO modes that work well with all CMD 646 
revisions. That the DVDROM drive works when used from the firmware 
could mean that OBP generally does not activate DMA or specifically 
disables it for the CMD 646 controller.




UPDATE: I just tested an UltraDMA2 (UDMA/33) capable DVDROM drive in 
my Ultra 10 and didn't have any problems. But it also looks like the 
controller driver specifically disables UltraDMA modes and only 
configures a maximum of MWDMA2:

```
[   35.255080] scsi host0: pata_cmd64x
[   35.300865] hme :01:01.1 enp1s1f1: renamed from eth0
[   35.369538] scsi host1: pata_cmd64x
[   35.432494] ata1: PATA max MWDMA2 cmd 0x1fe02c0 ctl 
0x1fe02c8 bmdma 0x1fe02c00020 irq 14
[   35.542765] ata2: PATA max MWDMA2 cmd 0x1fe02c00010 ctl 
0x1fe02c00018 bmdma 0x1fe02c00028 irq 14

[   35.653931] pata_cmd64x: active 10 recovery 10 setup 3.
[   35.653947] pata_cmd64x: active 10 recovery 10 setup 3.
[   35.855471] ata1.01: both IDENTIFYs aborted, assuming NODEV
[   35.858949] ata1.00: ATA-5: WDC WD800AB-00CBA0, 03.06A03, max UDMA/100
[   35.940006] ata1.00: 156301488 sectors, multi 0: LBA
[   36.003451] pata_cmd64x: active 3 recovery 1 setup 1.
[   36.003471] pata_cmd64x: active 3 recovery 1 setup 1.
[   36.009072] ata1.00: configured for MWDMA2
[   36.061880] scsi 0:0:0:0: Direct-Access ATA  WDC 
WD800AB-00CB 6A03 PQ: 0 ANSI: 5

[   36.169978] pata_cmd64x: active 10 recovery 10 setup 3.
[   36.169992] pata_cmd64x: active 10 recovery 10 setup 3.
[   36.327225] ata2.00: ATAPI: SAMSUNG DVD-ROM SD-616Q, F401, max UDMA/33
[   36.409059] pata_cmd64x: active 3 recovery 1 setup 1.
[   36.409075] pata_cmd64x: active 3 recovery 1 setup 1.
[   36.411667] ata2.00: configured for MWDMA2
[   36.465435] scsi 1:0:0:0: CD-ROMSAMSUNG  DVD-ROM 
SD-616Q F401 PQ: 0 ANSI: 5
[   36.642314] sd 0:0:0:0: [sda] 156301488 512-byte logical blocks: 
(80.0 GB/74.5 GiB)

[   36.745958] sd 0:0:0:0: [sda] Write Protect is off
[   36.807635] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   36.807957] sd 0:0:0:0: [sda] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[   36.926295] sr 1:0:0:0: [sr0] scsi3-mmc drive: 16x/48x cd/rw 
xa/form2 cdda tray

[   37.023810] cdrom: Uniform CD-ROM driver Revision: 3.20
[   37.098287] sr 1:0:0:0: Attached scsi CD-ROM sr0
[   37.250888]  sda: sda1 sda2 sda3
[   37.299576] sd 0:0:0:0: [sda] Attached SCSI disk
```

Retesting with the CDROM drive shows that it gets also configured to 
MWDAM2:

```
[   36.294580] ata2.00: ATAPI: CRD-8322B, 1.05, max MWDMA2
[   36.360599] pata_cmd64x: active 3 recovery 1 setup 1.
[   36.360615] pata_cmd64x: active 3 recovery 1 setup 1.
[   36.365323] ata2.00: configured for MWDMA2
[   36.418764] scsi 1:0:0:0: CD-ROM   LGCD-ROM 
CRD-8322B 1.05 PQ: 0 ANSI: 5
[   36.605717] sr 1:0:0:0: [sr0] scsi3-mmc drive: 32x/32x cd/rw 
xa/form2 cdda tray

[   36.702402] cdrom: Uniform CD-ROM driver Revision: 3.20
[   37.055470] sr 1:0:0:0: Attached scsi CD-ROM sr0
```

So actually any support for UltraDMA in the DVDROM or CDROM drive does 
not seem to make a difference.


Cheers,
Frank



Hi,
The HP DVD drive was in use on a 

Re: Latest netinst iso

2018-08-07 Thread Fred

On 08/07/2018 06:06 AM, Frank Scheiner wrote:

On 08/07/2018 02:56 AM, Fred wrote:

[...]
Out of frustration I changed the cdrom drive and the installation 
proceeded with only one problem.  The network has to be configured 
manually but either the installer didn't provide this option or I 
missed it.


It's there.

When you hit "Continue" in the "Network autoconfiguration failed" 
dialogue, the next dialogue offers an option named "Configure network 
manually". I tested this in the default non-expert installation mode. 
In the expert installation mode you should be able to choose that 
option right from the start after you select the "Configure the 
network" step.


Cheers,
Frank



Hi Frank,
I missed it somehow.  Anyway, the network is up now and I can start 
loading software when I get time.


Best regards,
Fred



Re: Latest netinst iso

2018-08-07 Thread Frank Scheiner

On 08/07/2018 02:56 AM, Fred wrote:

[...]
Out of frustration I changed the cdrom drive and the installation 
proceeded with only one problem.  The network has to be configured 
manually but either the installer didn't provide this option or I missed 
it.


It's there.

When you hit "Continue" in the "Network autoconfiguration failed" 
dialogue, the next dialogue offers an option named "Configure network 
manually". I tested this in the default non-expert installation mode. In 
the expert installation mode you should be able to choose that option 
right from the start after you select the "Configure the network" step.


Cheers,
Frank



Re: Latest netinst iso

2018-08-07 Thread Frank Scheiner

On 08/07/2018 11:02 AM, Thomas Schmitt wrote:

Hi,

Fred wrote:

[...] DVD drive [...]


Frank Scheiner wrote:

if a specific CDROM drive and
the assumed "compatible" driver don't work together, this results in a
situation like yours


Oh, sorry for my ignorance, as my Ultra 10 has a CDROM drive installed 
instead of a DVDROM drive I was mislead to write "CDROM drive" (although 
Fred had problems with a DVDROM drive) but that shouldn't make much of a 
difference, or?




All DVD capable drives at IDE are supposed to work by the SCSI/MMC protocol
via ATAPI. So there is few chance that the drive itself is not matched by
the kernel's sr driver.

If the drive does not show up as Linux device, i would rather bet on
a driver mismatch with the IDE/ATAPI controller of the machine.


But interestingly the assumed same controller driver works well for 
Gregor's and my Ultra 10 and it also works well when Fred uses a CDROM 
drive.


What could be the reason for that?

Maybe Fred's Ultra 10 is using another revision of the CMD 646 IDE 
controller - my Ultra 10 for example uses a CMD 646U - or a DMA mode is 
used for the DVDROM drive that is not working correctly with the CMD 646.


I seem to remember to have read about problems with CMD IDE controllers 
used  in some Sun machines in the past, but cannot find the info now. 
But I did find an interesting post on the NetBSD sparc list ([1]), which 
gives some background info on different revisions of CMD 646 
controllers. So every CMD 646 controller below 646U2 seems to do things 
wrong with UltraDMA modes or it only works with very specific drives.


[1]: http://mail-index.netbsd.org/port-sparc/2001/12/16/0005.html

And it could be that the CDROM drives used (by me and later also by 
Fred) just support MWDMA or PIO modes that work well with all CMD 646 
revisions. That the DVDROM drive works when used from the firmware could 
mean that OBP generally does not activate DMA or specifically disables 
it for the CMD 646 controller.




UPDATE: I just tested an UltraDMA2 (UDMA/33) capable DVDROM drive in my 
Ultra 10 and didn't have any problems. But it also looks like the 
controller driver specifically disables UltraDMA modes and only 
configures a maximum of MWDMA2:

```
[   35.255080] scsi host0: pata_cmd64x
[   35.300865] hme :01:01.1 enp1s1f1: renamed from eth0
[   35.369538] scsi host1: pata_cmd64x
[   35.432494] ata1: PATA max MWDMA2 cmd 0x1fe02c0 ctl 0x1fe02c8 
bmdma 0x1fe02c00020 irq 14
[   35.542765] ata2: PATA max MWDMA2 cmd 0x1fe02c00010 ctl 0x1fe02c00018 
bmdma 0x1fe02c00028 irq 14

[   35.653931] pata_cmd64x: active 10 recovery 10 setup 3.
[   35.653947] pata_cmd64x: active 10 recovery 10 setup 3.
[   35.855471] ata1.01: both IDENTIFYs aborted, assuming NODEV
[   35.858949] ata1.00: ATA-5: WDC WD800AB-00CBA0, 03.06A03, max UDMA/100
[   35.940006] ata1.00: 156301488 sectors, multi 0: LBA
[   36.003451] pata_cmd64x: active 3 recovery 1 setup 1.
[   36.003471] pata_cmd64x: active 3 recovery 1 setup 1.
[   36.009072] ata1.00: configured for MWDMA2
[   36.061880] scsi 0:0:0:0: Direct-Access ATA  WDC WD800AB-00CB 
6A03 PQ: 0 ANSI: 5

[   36.169978] pata_cmd64x: active 10 recovery 10 setup 3.
[   36.169992] pata_cmd64x: active 10 recovery 10 setup 3.
[   36.327225] ata2.00: ATAPI: SAMSUNG DVD-ROM SD-616Q, F401, max UDMA/33
[   36.409059] pata_cmd64x: active 3 recovery 1 setup 1.
[   36.409075] pata_cmd64x: active 3 recovery 1 setup 1.
[   36.411667] ata2.00: configured for MWDMA2
[   36.465435] scsi 1:0:0:0: CD-ROMSAMSUNG  DVD-ROM SD-616Q 
F401 PQ: 0 ANSI: 5
[   36.642314] sd 0:0:0:0: [sda] 156301488 512-byte logical blocks: 
(80.0 GB/74.5 GiB)

[   36.745958] sd 0:0:0:0: [sda] Write Protect is off
[   36.807635] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   36.807957] sd 0:0:0:0: [sda] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[   36.926295] sr 1:0:0:0: [sr0] scsi3-mmc drive: 16x/48x cd/rw xa/form2 
cdda tray

[   37.023810] cdrom: Uniform CD-ROM driver Revision: 3.20
[   37.098287] sr 1:0:0:0: Attached scsi CD-ROM sr0
[   37.250888]  sda: sda1 sda2 sda3
[   37.299576] sd 0:0:0:0: [sda] Attached SCSI disk
```

Retesting with the CDROM drive shows that it gets also configured to MWDAM2:
```
[   36.294580] ata2.00: ATAPI: CRD-8322B, 1.05, max MWDMA2
[   36.360599] pata_cmd64x: active 3 recovery 1 setup 1.
[   36.360615] pata_cmd64x: active 3 recovery 1 setup 1.
[   36.365323] ata2.00: configured for MWDMA2
[   36.418764] scsi 1:0:0:0: CD-ROM   LGCD-ROM CRD-8322B 
1.05 PQ: 0 ANSI: 5
[   36.605717] sr 1:0:0:0: [sr0] scsi3-mmc drive: 32x/32x cd/rw xa/form2 
cdda tray

[   36.702402] cdrom: Uniform CD-ROM driver Revision: 3.20
[   37.055470] sr 1:0:0:0: Attached scsi CD-ROM sr0
```

So actually any support for UltraDMA in the DVDROM or CDROM drive does 
not seem to make a difference.


Cheers,
Frank



Re: Latest netinst iso

2018-08-07 Thread Mark Morgan Lloyd

On 07/08/18 02:30, Fred wrote:

On 08/06/2018 05:58 PM, John Paul Adrian Glaubitz wrote:


I know they are commands.  A Wyse 50 dumb terminal does not have 
copy/paste.


Thank goodness I'm not the only person who has to remember things like 
that, sometimes out of humiliating necessity.


Any discussion of KSR-33s will be way off-topic :-)

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



Re: Latest netinst iso

2018-08-07 Thread Thomas Schmitt
Hi,

Fred wrote:
> > [...] DVD drive [...]

Frank Scheiner wrote:
> if a specific CDROM drive and
> the assumed "compatible" driver don't work together, this results in a
> situation like yours

All DVD capable drives at IDE are supposed to work by the SCSI/MMC protocol
via ATAPI. So there is few chance that the drive itself is not matched by
the kernel's sr driver.

If the drive does not show up as Linux device, i would rather bet on
a driver mismatch with the IDE/ATAPI controller of the machine.


Have a nice day :)

Thomas



Re: Latest netinst iso

2018-08-07 Thread John Paul Adrian Glaubitz
On 08/07/2018 08:09 AM, Gregor Riepl wrote:
>> This bug will be fixed once debian-installer has gained full support for 
>> backports.
> 
> backports or debports?

Backports, see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879145#10

See also: https://lists.debian.org/debian-boot/2018/08/msg00015.html

>>> It should also be noted that the desktop tasks are currently uninstallable
>>> because certain packages are missing from sparc64, but that is a minor 
>>> issue.
>>
>> Which packages are those. Again, please report issues as you find them.
> 
> I don't remember exactly, but I think I couldn't install any desktop tasks
> because some crucial packages were missing from the dependencies of 
> desktop-base.

We can't fix bugs that we don't know about.

> Also, there is currently no chromium and no firefox for debian-sparc64.

Getting Chromium to build on any non-x86 or non-ARM architectures is
a huge effort: 
https://buildd.debian.org/status/package.php?p=chromium-browser=sid

Firefox on sparc64 is generally possible and Firefox 62 actually builds:

> https://buildd.debian.org/status/package.php?p=firefox=experimental

It's most likely missing one important patch though:

> https://bugzilla.mozilla.org/show_bug.cgi?id=1434726

> I tried to build foxi myself, but it's a pain with the limited memory the
> Ultra 10 has (and I upgraded mine to the maximum).
> rustc/cargo eats around 3GB of RAM!
> With special build flags (i.e. RUSTFLAGS="-Cdebuginfo=0"), compilation is
> possible, but takes a long time and ultimately stops due to poor big endian
> support in the source code and other bugs.
> They'e known, but without a proper fix.

We have reasonably fast SPARC machines for that although our fastest
SPARC-T5 is unfortunately out of service.

There are generally several packages that need fixing on sparc64, I can
provide a list for anyone interested in fixing them.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Latest netinst iso

2018-08-07 Thread Frank Scheiner

On 08/07/2018 09:45 AM, Frank Scheiner wrote:

On 08/06/2018 10:39 PM, Fred wrote:

On 08/06/2018 11:20 AM, Frank Scheiner wrote:

 >> [...]
The CDROM drive in my Ultra 10 is attached to IDE channel #2 (the IDE 
port farer away from the CPU) and configured as Master device.


And I just now tested with the ISO in question (from 20180516-18:22) 
and didn't recognize an issue. Sure, hardware detection takes long on 
the Ultra 10, but it eventually succeeds and the CDROM drive is 
correctly detected.

 >> [...]

Hi Frank,
The MB has only three connectors: floppy, IDE HD and IDE cdrom.


But the two existing IDE ports are not labeled as such on the PCB, there 
is J14 which is the second IDE channel and J13 which is the first IDE 
channel (both according to [1]). At least that's the case on the system 
board PCB of my Ultra 10 and hence I referenced my known good 
configuration in this way.


Correction: The first IDE channel is labeled J15 not J13.



Re: Latest netinst iso

2018-08-07 Thread Frank Scheiner

On 08/06/2018 10:39 PM, Fred wrote:

On 08/06/2018 11:20 AM, Frank Scheiner wrote:

>> [...]
The CDROM drive in my Ultra 10 is attached to IDE channel #2 (the IDE 
port farer away from the CPU) and configured as Master device.


And I just now tested with the ISO in question (from 20180516-18:22) 
and didn't recognize an issue. Sure, hardware detection takes long on 
the Ultra 10, but it eventually succeeds and the CDROM drive is 
correctly detected.

>> [...]

Hi Frank,
The MB has only three connectors: floppy, IDE HD and IDE cdrom.


But the two existing IDE ports are not labeled as such on the PCB, there 
is J14 which is the second IDE channel and J13 which is the first IDE 
channel (both according to [1]). At least that's the case on the system 
board PCB of my Ultra 10 and hence I referenced my known good 
configuration in this way.


[1]: 
http://www.shrubbery.net/~heas/sun-feh-2_1/Devices/System_Board/SYSBD_Ultra5_10.html#0066


I 
changed the DVD drive jumper from cable select to master but the 
installer still could not find it.  Whatever loaded the installer 
program didn't have any problem using the drive.


This is perfectly normal, as soon as the Linux kernel is started it 
usually uses its own drivers to access devices. And if a specific CDROM 
drive and the assumed "compatible" driver don't work together, this 
results in a situation like yours:


Your firmware (OBP) can load and start the boot loader (SILO) from the 
CDROM, which itself - presumably using the same drivers as the firmware 
- can load and start the Linux kernel (plus initrd) from CDROM. The 
kernel then uses its own driver to access or to try to access the CDROM 
drive and fails for some reason.




Re: Latest netinst iso

2018-08-07 Thread Gregor Riepl
> In addition to the information Adrian asked for, it could be interesting to
> know, to which IDE channel your CDROM drive is attached and how it is
> configured (Master, Slave, Cable select).
> 
> The CDROM drive in my Ultra 10 is attached to IDE channel #2 (the IDE port
> farer away from the CPU) and configured as Master device.

FWIW, I tested two different drives in my machine (an LG DVD burner and a
Panasonic slot-in DVD-ROM drive). Both worked fine in the installer, so I
would assume that the IDE controller and Linux are able to cope with any kind
of ATAPI CD/DVD drive?

I do think the drive should be set as Master or Cable Select with a suitable
cable. AFAIK the IDE cables that came with my Ultra 10 were Cable Select ones.

I did have several problems with the floppy drive, but once I disconnected it,
the installer worked fine. Still don't have a clue what the problem is, but I
don't need the floppy drive anyway.



Re: Latest netinst iso

2018-08-07 Thread Gregor Riepl
> You probably didn't specify the correct FTP server which is:
> 
> Server: http://ftp.ports.debian.org
> Folder: /debian-ports/

Yeah, I tried several regular mirrors first until I discovered that they don't
carry debports architectures...

> This bug will be fixed once debian-installer has gained full support for 
> backports.

backports or debports?

>> It should also be noted that the desktop tasks are currently uninstallable
>> because certain packages are missing from sparc64, but that is a minor issue.
> 
> Which packages are those. Again, please report issues as you find them.

I don't remember exactly, but I think I couldn't install any desktop tasks
because some crucial packages were missing from the dependencies of 
desktop-base.

Also, there is currently no chromium and no firefox for debian-sparc64.

I tried to build foxi myself, but it's a pain with the limited memory the
Ultra 10 has (and I upgraded mine to the maximum).
rustc/cargo eats around 3GB of RAM!
With special build flags (i.e. RUSTFLAGS="-Cdebuginfo=0"), compilation is
possible, but takes a long time and ultimately stops due to poor big endian
support in the source code and other bugs.
They'e known, but without a proper fix.



Re: Latest netinst iso

2018-08-06 Thread Fred

On 08/06/2018 05:58 PM, John Paul Adrian Glaubitz wrote:

On 08/07/2018 02:56 AM, Fred wrote:

I don't see how using a serial console helps in transferring the files you 
asked for.  I have a dumb terminal that could use the serial port but the other
computers on the network are far away and I would have to change both ends of 
the long cable to use it and change them back when done.  So, lets forget this.

Those aren't files. Those are commands you type. Both "dmesg" and "lspci"
will provide an output that you can copy and paste from a terminal. That
should be very easy to achieve. Many terminals also allow to store the
output from the console directly to a file.

It's generally a good idea to get familiar with the serial console when
working with a SPARC machine. Lots of stuff can be controlled on many
of these machines using the serial console.


Out of frustration I changed the cdrom drive and the installation proceeded 
with only one problem.  The network has to be configured manually but either the
installer didn't provide this option or I missed it.  So as soon as I get the 
network going I will put the HP DVD drive back in, reboot and send you the files
you want. Should I paste the text into this thread, send them as attachments to 
the list or send them off-list to you?

Again, those aren't files. They are commands you run.

Adrian


Hi Adrian,
I know they are commands.  A Wyse 50 dumb terminal does not have 
copy/paste.  The only way I can use the console to connect to a computer 
with internet access is to change both ends of a long cable.  As I said 
earlier we need to forget all this.  I changed the DVD drive for an 
older cdrom drive and was able to complete the installation except for 
configuring the network.  When I get the network up I will still not 
have copy/paste or email.  I can change back to the HP DVD drive, 
redirect the command output to a file, ftp those to a computer that has 
email and send them to you.  Do you want them pasted into this thread, 
sent as attachments or emailed to you directly.

Best regards,
Fred





Re: Latest netinst iso

2018-08-06 Thread John Paul Adrian Glaubitz
On 08/07/2018 02:56 AM, Fred wrote:
> I don't see how using a serial console helps in transferring the files you 
> asked for.  I have a dumb terminal that could use the serial port but the 
> other
> computers on the network are far away and I would have to change both ends of 
> the long cable to use it and change them back when done.  So, lets forget 
> this.

Those aren't files. Those are commands you type. Both "dmesg" and "lspci"
will provide an output that you can copy and paste from a terminal. That
should be very easy to achieve. Many terminals also allow to store the
output from the console directly to a file.

It's generally a good idea to get familiar with the serial console when
working with a SPARC machine. Lots of stuff can be controlled on many
of these machines using the serial console.

> Out of frustration I changed the cdrom drive and the installation proceeded 
> with only one problem.  The network has to be configured manually but either 
> the
> installer didn't provide this option or I missed it.  So as soon as I get the 
> network going I will put the HP DVD drive back in, reboot and send you the 
> files
> you want. Should I paste the text into this thread, send them as attachments 
> to the list or send them off-list to you?

Again, those aren't files. They are commands you run.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Latest netinst iso

2018-08-06 Thread Fred

On 08/06/2018 04:52 PM, John Paul Adrian Glaubitz wrote:

On 08/06/2018 10:39 PM, Fred wrote:

I don't know how to provide the files Adrian asked for.  I exited the installer 
to a shell prompt.  I could manually configure the network and use ftp but ftp
and ifupdown are not there and I don't know how to use what is there to 
configure it.  The U10 has a USB pci board and the usb-list command shows a usb 
stick
plugged in but I don't know how to get it functional.

Easiest way would be to hook up a serial console and use this for installation
instead of a video framebuffer. You can switch to a second console to get
a bash prompt when installing over serial console by hitting "Ctrl-A-p".

When using debian-installer over serial console, it automatically starts
a GNU screen session to provide multiple consoles over a single serial line.

For a command reference for GNU screen, see [1].

Adrian


[1] http://aperiodic.net/screen/quick_reference

Hi Adrian,
I don't see how using a serial console helps in transferring the files 
you asked for.  I have a dumb terminal that could use the serial port 
but the other computers on the network are far away and I would have to 
change both ends of the long cable to use it and change them back when 
done.  So, lets forget this.


Out of frustration I changed the cdrom drive and the installation 
proceeded with only one problem.  The network has to be configured 
manually but either the installer didn't provide this option or I missed 
it.  So as soon as I get the network going I will put the HP DVD drive 
back in, reboot and send you the files you want. Should I paste the text 
into this thread, send them as attachments to the list or send them 
off-list to you?


Best regards,
Fred



Re: Latest netinst iso

2018-08-06 Thread John Paul Adrian Glaubitz
On 08/06/2018 10:39 PM, Fred wrote:
> I don't know how to provide the files Adrian asked for.  I exited the 
> installer to a shell prompt.  I could manually configure the network and use 
> ftp but ftp
> and ifupdown are not there and I don't know how to use what is there to 
> configure it.  The U10 has a USB pci board and the usb-list command shows a 
> usb stick
> plugged in but I don't know how to get it functional.

Easiest way would be to hook up a serial console and use this for installation
instead of a video framebuffer. You can switch to a second console to get
a bash prompt when installing over serial console by hitting "Ctrl-A-p".

When using debian-installer over serial console, it automatically starts
a GNU screen session to provide multiple consoles over a single serial line.

For a command reference for GNU screen, see [1].

Adrian

> [1] http://aperiodic.net/screen/quick_reference

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Latest netinst iso

2018-08-06 Thread John Paul Adrian Glaubitz
On 08/06/2018 07:34 PM, Gregor Riepl wrote:
>> Could you be also more specific about which instructions you followed to make
>> it work for you?
> 
> The specific problem I had was due to the sparc64 installation requiring
> unstable repositories, which is apparently not very well supported in the
> Debian installer.

You probably didn't specify the correct FTP server which is:

Server: http://ftp.ports.debian.org
Folder: /debian-ports/

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879130

This bug will be fixed once debian-installer has gained full support for 
backports.

> I was able to get around this by just installing the minimal base system,
> booting into it, fixing the repositories manually, then installing the
> standard system package (i.e. what tasksel would install) by hand. I also
> needed to dig a bit to find a mirror carrying sparc64 packages.

If using the above mirror, installation should work. If not, please
report a bug.

> It should also be noted that the desktop tasks are currently uninstallable
> because certain packages are missing from sparc64, but that is a minor issue.

Which packages are those. Again, please report issues as you find them.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Latest netinst iso

2018-08-06 Thread Fred

On 08/06/2018 11:20 AM, Frank Scheiner wrote:

On 08/06/2018 05:01 PM, Fred wrote:

On 08/06/2018 02:18 AM, Frank Scheiner wrote:

Dear Gregor,
[...]
Cheers,
Frank



Hi,
I am the original poster for this thread.


Yes I know, but up to the point, where I asked Gregor to provide more 
details about the problems he experienced, you didn't report a problem 
at all. Or am I missing something?


I tried installing the NETINST.iso and also had a problem.  The U10 
has an HP DVD drive in it. The install CD seemed to load ok and the 
installer started.  When it got to the detecting hardware function it 
decided that no cdrom drive was installed and would not proceed. I am 
going to install the original Sun cdrom drive and try again when I 
have time.


In addition to the information Adrian asked for, it could be 
interesting to know, to which IDE channel your CDROM drive is attached 
and how it is configured (Master, Slave, Cable select).


The CDROM drive in my Ultra 10 is attached to IDE channel #2 (the IDE 
port farer away from the CPU) and configured as Master device.


And I just now tested with the ISO in question (from 20180516-18:22) 
and didn't recognize an issue. Sure, hardware detection takes long on 
the Ultra 10, but it eventually succeeds and the CDROM drive is 
correctly detected.


Cheers,
Frank



Hi Frank,
The MB has only three connectors: floppy, IDE HD and IDE cdrom.  I 
changed the DVD drive jumper from cable select to master but the 
installer still could not find it.  Whatever loaded the installer 
program didn't have any problem using the drive.


I don't know how to provide the files Adrian asked for.  I exited the 
installer to a shell prompt.  I could manually configure the network and 
use ftp but ftp and ifupdown are not there and I don't know how to use 
what is there to configure it.  The U10 has a USB pci board and the 
usb-list command shows a usb stick plugged in but I don't know how to 
get it functional.  The list-devices usb-partition reports /dev/sdb1. 
The mountmedia command reports several repetitions of:

mount: mounting /dev/sdb1 on /media failed: Invalid argument
umount: can't unmount /media: Invalid argument

The only other thing I can think of is to send the files out the serial 
port and capture them on another computer.  I am drowning in other 
things to do right now but if there are no easier suggestions I will do it.


Best regards,
Fred



Re: Latest netinst iso

2018-08-06 Thread Frank Scheiner

On 08/06/2018 07:34 PM, Gregor Riepl wrote:

Could you be also more specific about which instructions you followed to make
it work for you?


The specific problem I had was due to the sparc64 installation requiring
unstable repositories, which is apparently not very well supported in the
Debian installer.


Thanks for the clarification.



I was able to get around this by just installing the minimal base system,
booting into it, fixing the repositories manually, then installing the
standard system package (i.e. what tasksel would install) by hand. I also
needed to dig a bit to find a mirror carrying sparc64 packages.


You should be able to avoid this in future installations by just using 
"ftp.ports.debian.org" and "/debian-ports/" when asked for mirror and 
directory respectively.




It should also be noted that the desktop tasks are currently uninstallable
because certain packages are missing from sparc64, but that is a minor issue.


There's currently a lot of information on the sparc64 page ([1]) but I don't
know of anything specific to the Ultra 10.


Mostly the part under "Caveats": https://wiki.debian.org/Sparc64#Known_Caveats


Ok, I see. Maybe this should be changed to the information above, 
because AFAIK the issue with the Debian Ports GPG key not recognized by 
the installer is already solved since quite a while, but using a 
different mirror and directory is obviously not always expected or known 
by (new) users. I'll have a look.




Re: Latest netinst iso

2018-08-06 Thread Frank Scheiner

On 08/06/2018 05:01 PM, Fred wrote:

On 08/06/2018 02:18 AM, Frank Scheiner wrote:

Dear Gregor,
[...]
Cheers,
Frank



Hi,
I am the original poster for this thread.


Yes I know, but up to the point, where I asked Gregor to provide more 
details about the problems he experienced, you didn't report a problem 
at all. Or am I missing something?


I tried installing the 
NETINST.iso and also had a problem.  The U10 has an HP DVD drive in it. 
The install CD seemed to load ok and the installer started.  When it got 
to the detecting hardware function it decided that no cdrom drive was 
installed and would not proceed. I am going to install the original Sun 
cdrom drive and try again when I have time.


In addition to the information Adrian asked for, it could be interesting 
to know, to which IDE channel your CDROM drive is attached and how it is 
configured (Master, Slave, Cable select).


The CDROM drive in my Ultra 10 is attached to IDE channel #2 (the IDE 
port farer away from the CPU) and configured as Master device.


And I just now tested with the ISO in question (from 20180516-18:22) and 
didn't recognize an issue. Sure, hardware detection takes long on the 
Ultra 10, but it eventually succeeds and the CDROM drive is correctly 
detected.


Cheers,
Frank



Re: Latest netinst iso

2018-08-06 Thread Gregor Riepl
> Could you be also more specific about which instructions you followed to make
> it work for you?

The specific problem I had was due to the sparc64 installation requiring
unstable repositories, which is apparently not very well supported in the
Debian installer.

I was able to get around this by just installing the minimal base system,
booting into it, fixing the repositories manually, then installing the
standard system package (i.e. what tasksel would install) by hand. I also
needed to dig a bit to find a mirror carrying sparc64 packages.

It should also be noted that the desktop tasks are currently uninstallable
because certain packages are missing from sparc64, but that is a minor issue.

> There's currently a lot of information on the sparc64 page ([1]) but I don't
> know of anything specific to the Ultra 10.

Mostly the part under "Caveats": https://wiki.debian.org/Sparc64#Known_Caveats



Re: Latest netinst iso

2018-08-06 Thread Fred

On 08/06/2018 07:55 AM, John Paul Adrian Glaubitz wrote:

On 08/06/2018 05:01 PM, Fred wrote:

I am the original poster for this thread.  I tried installing the NETINST.iso 
and also had a problem.  The U10 has an HP DVD drive in it.  The install CD 
seemed to load ok and the installer started.  When it got to the detecting 
hardware function it decided that no cdrom drive was installed and would not 
proceed. I am going to install the original Sun cdrom drive and try again when 
I have time.

I need the exact error message and I need the output of "dmesg" and "lspci"
on this particular machine. It might just be that we are not enabling the
driver for your PATA/SATA controller.

Adrian


Hi Adrian,
I can provide the messages if you tell me how to get them.  The 
installer didn't get very far, only asking for locale before going into 
detecting cdrom hardware.


Best regards,
Fred



Re: Latest netinst iso

2018-08-06 Thread John Paul Adrian Glaubitz
On 08/06/2018 05:01 PM, Fred wrote:
> I am the original poster for this thread.  I tried installing the NETINST.iso 
> and also had a problem.  The U10 has an HP DVD drive in it.  The install CD 
> seemed to load ok and the installer started.  When it got to the detecting 
> hardware function it decided that no cdrom drive was installed and would not 
> proceed. I am going to install the original Sun cdrom drive and try again 
> when I have time.
I need the exact error message and I need the output of "dmesg" and "lspci"
on this particular machine. It might just be that we are not enabling the
driver for your PATA/SATA controller.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Latest netinst iso

2018-08-06 Thread Fred

On 08/06/2018 02:18 AM, Frank Scheiner wrote:

Dear Gregor,

On 08/06/2018 10:40 AM, Gregor Riepl wrote:
The latest net install image I have found is dated 18 May 2018. Is 
that the

latest version?  Will that install on an Ultra 10 without problems?


I wasn't able to install with the netinst ISO on my Ultra 10 without 
problems,


Are you referring to the ISO dated 18 May 2018 or to an ISO from 
another date?


And what problems did you experience on your Ultra 10?

Because the last time I checked an installation on my Ultra 10 - 
albeit with the ISO created on 20180516-10:56 - it worked for me. BTW 
the exact creation date can be found in `/boot/debian.txt` or 
`/README.txt` on the ISO.


but if you follow the instructions on the Debian Wiki, it should work 
fine.


Could you be also more specific about which instructions you followed 
to make it work for you?


There's currently a lot of information on the sparc64 page ([1]) but I 
don't know of anything specific to the Ultra 10.


[1]: https://wiki.debian.org/Sparc64

Cheers,
Frank



Hi,
I am the original poster for this thread.  I tried installing the 
NETINST.iso and also had a problem.  The U10 has an HP DVD drive in it.  
The install CD seemed to load ok and the installer started.  When it got 
to the detecting hardware function it decided that no cdrom drive was 
installed and would not proceed. I am going to install the original Sun 
cdrom drive and try again when I have time.

Best regards,
Fred



Re: Latest netinst iso

2018-08-06 Thread Frank Scheiner

Dear Gregor,

On 08/06/2018 10:40 AM, Gregor Riepl wrote:

The latest net install image I have found is dated 18 May 2018. Is that the
latest version?  Will that install on an Ultra 10 without problems?


I wasn't able to install with the netinst ISO on my Ultra 10 without problems,


Are you referring to the ISO dated 18 May 2018 or to an ISO from another 
date?


And what problems did you experience on your Ultra 10?

Because the last time I checked an installation on my Ultra 10 - albeit 
with the ISO created on 20180516-10:56 - it worked for me. BTW the exact 
creation date can be found in `/boot/debian.txt` or `/README.txt` on the 
ISO.



but if you follow the instructions on the Debian Wiki, it should work fine.


Could you be also more specific about which instructions you followed to 
make it work for you?


There's currently a lot of information on the sparc64 page ([1]) but I 
don't know of anything specific to the Ultra 10.


[1]: https://wiki.debian.org/Sparc64

Cheers,
Frank



Re: Latest netinst iso

2018-08-06 Thread Gregor Riepl
> The latest net install image I have found is dated 18 May 2018. Is that the
> latest version?  Will that install on an Ultra 10 without problems?

I wasn't able to install with the netinst ISO on my Ultra 10 without problems,
but if you follow the instructions on the Debian Wiki, it should work fine.

I'm really happy about how good the sparc64 port is in general, though.



Re: Latest netinst iso

2018-08-04 Thread sacarde
>>Alle venerdì 3 agosto 2018, John Paul Adrian Glaubitz ha scritto:
> Hi Fred!
>
> > Will that install on an Ultra 10 without problems?

I run debian-sid-sparc64 lxde on my ultra10

all work OK (except pulseaudio)

 

saca...@tiscali.it



Re: Latest netinst iso

2018-08-03 Thread John Paul Adrian Glaubitz
Hi Fred!

On 08/03/2018 03:12 AM, Fred wrote:
> The latest net install image I have found is dated 18 May 2018. Is that the 
> latest version?

Yes, it is.

> Will that install on an Ultra 10 without problems?

It should. Should you run into any problems, let me know.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913